Remove PWRTelegram examples
This commit is contained in:
parent
f5671a4ae6
commit
f0229af1ba
@ -29,12 +29,6 @@ Access point rule
|
||||
$accessPointRule = ['_' => 'accessPointRule', 'phone_prefix_rules' => 'string', 'dc_id' => int, 'ips' => [IpPort, IpPort]];
|
||||
```
|
||||
|
||||
[PWRTelegram](https://pwrtelegram.xyz) json-encoded version:
|
||||
|
||||
```
|
||||
{"_": "accessPointRule", "phone_prefix_rules": "string", "dc_id": int, "ips": [IpPort]}
|
||||
```
|
||||
|
||||
|
||||
Or, if you're into Lua:
|
||||
|
||||
|
@ -27,12 +27,6 @@ Account TTL in days
|
||||
$accountDaysTTL = ['_' => 'accountDaysTTL', 'days' => int];
|
||||
```
|
||||
|
||||
[PWRTelegram](https://pwrtelegram.xyz) json-encoded version:
|
||||
|
||||
```
|
||||
{"_": "accountDaysTTL", "days": int}
|
||||
```
|
||||
|
||||
|
||||
Or, if you're into Lua:
|
||||
|
||||
|
@ -31,12 +31,6 @@ Telegram passport authorization form
|
||||
$account_authorizationForm = ['_' => 'account.authorizationForm', 'required_types' => [SecureRequiredType, SecureRequiredType], 'values' => [SecureValue, SecureValue], 'errors' => [SecureValueError, SecureValueError], 'users' => [User, User], 'privacy_policy_url' => 'string'];
|
||||
```
|
||||
|
||||
[PWRTelegram](https://pwrtelegram.xyz) json-encoded version:
|
||||
|
||||
```
|
||||
{"_": "account.authorizationForm", "required_types": [SecureRequiredType], "values": [SecureValue], "errors": [SecureValueError], "users": [User], "privacy_policy_url": "string"}
|
||||
```
|
||||
|
||||
|
||||
Or, if you're into Lua:
|
||||
|
||||
|
@ -27,12 +27,6 @@ Authorized clients for this account
|
||||
$account_authorizations = ['_' => 'account.authorizations', 'authorizations' => [Authorization, Authorization]];
|
||||
```
|
||||
|
||||
[PWRTelegram](https://pwrtelegram.xyz) json-encoded version:
|
||||
|
||||
```
|
||||
{"_": "account.authorizations", "authorizations": [Authorization]}
|
||||
```
|
||||
|
||||
|
||||
Or, if you're into Lua:
|
||||
|
||||
|
@ -37,12 +37,6 @@ Password
|
||||
$account_password = ['_' => 'account.password', 'has_recovery' => Bool, 'has_secure_values' => Bool, 'has_password' => Bool, 'current_algo' => PasswordKdfAlgo, 'srp_B' => 'bytes', 'srp_id' => long, 'hint' => 'string', 'email_unconfirmed_pattern' => 'string', 'new_algo' => PasswordKdfAlgo, 'new_secure_algo' => SecurePasswordKdfAlgo, 'secure_random' => 'bytes'];
|
||||
```
|
||||
|
||||
[PWRTelegram](https://pwrtelegram.xyz) json-encoded version:
|
||||
|
||||
```
|
||||
{"_": "account.password", "has_recovery": Bool, "has_secure_values": Bool, "has_password": Bool, "current_algo": PasswordKdfAlgo, "srp_B": {"_": "bytes", "bytes":"base64 encoded bytes"}, "srp_id": long, "hint": "string", "email_unconfirmed_pattern": "string", "new_algo": PasswordKdfAlgo, "new_secure_algo": SecurePasswordKdfAlgo, "secure_random": {"_": "bytes", "bytes":"base64 encoded bytes"}}
|
||||
```
|
||||
|
||||
|
||||
Or, if you're into Lua:
|
||||
|
||||
|
@ -31,12 +31,6 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
||||
$account_passwordInputSettings = ['_' => 'account.passwordInputSettings', 'new_algo' => PasswordKdfAlgo, 'new_password_hash' => 'bytes', 'hint' => 'string', 'email' => 'string', 'new_secure_settings' => SecureSecretSettings];
|
||||
```
|
||||
|
||||
[PWRTelegram](https://pwrtelegram.xyz) json-encoded version:
|
||||
|
||||
```
|
||||
{"_": "account.passwordInputSettings", "new_algo": PasswordKdfAlgo, "new_password_hash": {"_": "bytes", "bytes":"base64 encoded bytes"}, "hint": "string", "email": "string", "new_secure_settings": SecureSecretSettings}
|
||||
```
|
||||
|
||||
|
||||
Or, if you're into Lua:
|
||||
|
||||
|
@ -28,12 +28,6 @@ Password settings
|
||||
$account_passwordSettings = ['_' => 'account.passwordSettings', 'email' => 'string', 'secure_settings' => SecureSecretSettings];
|
||||
```
|
||||
|
||||
[PWRTelegram](https://pwrtelegram.xyz) json-encoded version:
|
||||
|
||||
```
|
||||
{"_": "account.passwordSettings", "email": "string", "secure_settings": SecureSecretSettings}
|
||||
```
|
||||
|
||||
|
||||
Or, if you're into Lua:
|
||||
|
||||
|
@ -28,12 +28,6 @@ Privacy rules
|
||||
$account_privacyRules = ['_' => 'account.privacyRules', 'rules' => [PrivacyRule, PrivacyRule], 'users' => [User, User]];
|
||||
```
|
||||
|
||||
[PWRTelegram](https://pwrtelegram.xyz) json-encoded version:
|
||||
|
||||
```
|
||||
{"_": "account.privacyRules", "rules": [PrivacyRule], "users": [User]}
|
||||
```
|
||||
|
||||
|
||||
Or, if you're into Lua:
|
||||
|
||||
|
@ -28,12 +28,6 @@ Sent email code
|
||||
$account_sentEmailCode = ['_' => 'account.sentEmailCode', 'email_pattern' => 'string', 'length' => int];
|
||||
```
|
||||
|
||||
[PWRTelegram](https://pwrtelegram.xyz) json-encoded version:
|
||||
|
||||
```
|
||||
{"_": "account.sentEmailCode", "email_pattern": "string", "length": int}
|
||||
```
|
||||
|
||||
|
||||
Or, if you're into Lua:
|
||||
|
||||
|
@ -27,12 +27,6 @@ Takeout
|
||||
$account_takeout = ['_' => 'account.takeout', 'id' => long];
|
||||
```
|
||||
|
||||
[PWRTelegram](https://pwrtelegram.xyz) json-encoded version:
|
||||
|
||||
```
|
||||
{"_": "account.takeout", "id": long}
|
||||
```
|
||||
|
||||
|
||||
Or, if you're into Lua:
|
||||
|
||||
|
@ -28,12 +28,6 @@ Tmp password
|
||||
$account_tmpPassword = ['_' => 'account.tmpPassword', 'tmp_password' => 'bytes', 'valid_until' => int];
|
||||
```
|
||||
|
||||
[PWRTelegram](https://pwrtelegram.xyz) json-encoded version:
|
||||
|
||||
```
|
||||
{"_": "account.tmpPassword", "tmp_password": {"_": "bytes", "bytes":"base64 encoded bytes"}, "valid_until": int}
|
||||
```
|
||||
|
||||
|
||||
Or, if you're into Lua:
|
||||
|
||||
|
@ -28,12 +28,6 @@ Wallpapers
|
||||
$account_wallPapers = ['_' => 'account.wallPapers', 'hash' => int, 'wallpapers' => [WallPaper, WallPaper]];
|
||||
```
|
||||
|
||||
[PWRTelegram](https://pwrtelegram.xyz) json-encoded version:
|
||||
|
||||
```
|
||||
{"_": "account.wallPapers", "hash": int, "wallpapers": [WallPaper]}
|
||||
```
|
||||
|
||||
|
||||
Or, if you're into Lua:
|
||||
|
||||
|
@ -22,12 +22,6 @@ No wallpapers were modified
|
||||
$account_wallPapersNotModified = ['_' => 'account.wallPapersNotModified'];
|
||||
```
|
||||
|
||||
[PWRTelegram](https://pwrtelegram.xyz) json-encoded version:
|
||||
|
||||
```
|
||||
{"_": "account.wallPapersNotModified"}
|
||||
```
|
||||
|
||||
|
||||
Or, if you're into Lua:
|
||||
|
||||
|
@ -28,12 +28,6 @@ Telegram login authorizations
|
||||
$account_webAuthorizations = ['_' => 'account.webAuthorizations', 'authorizations' => [WebAuthorization, WebAuthorization], 'users' => [User, User]];
|
||||
```
|
||||
|
||||
[PWRTelegram](https://pwrtelegram.xyz) json-encoded version:
|
||||
|
||||
```
|
||||
{"_": "account.webAuthorizations", "authorizations": [WebAuthorization], "users": [User]}
|
||||
```
|
||||
|
||||
|
||||
Or, if you're into Lua:
|
||||
|
||||
|
@ -28,12 +28,6 @@ Authorization
|
||||
$auth_authorization = ['_' => 'auth.authorization', 'tmp_sessions' => int, 'user' => User];
|
||||
```
|
||||
|
||||
[PWRTelegram](https://pwrtelegram.xyz) json-encoded version:
|
||||
|
||||
```
|
||||
{"_": "auth.authorization", "tmp_sessions": int, "user": User}
|
||||
```
|
||||
|
||||
|
||||
Or, if you're into Lua:
|
||||
|
||||
|
@ -27,12 +27,6 @@ Checked phone
|
||||
$auth_checkedPhone = ['_' => 'auth.checkedPhone', 'phone_registered' => Bool];
|
||||
```
|
||||
|
||||
[PWRTelegram](https://pwrtelegram.xyz) json-encoded version:
|
||||
|
||||
```
|
||||
{"_": "auth.checkedPhone", "phone_registered": Bool}
|
||||
```
|
||||
|
||||
|
||||
Or, if you're into Lua:
|
||||
|
||||
|
@ -22,12 +22,6 @@ Auth code type: call
|
||||
$auth_codeTypeCall = ['_' => 'auth.codeTypeCall'];
|
||||
```
|
||||
|
||||
[PWRTelegram](https://pwrtelegram.xyz) json-encoded version:
|
||||
|
||||
```
|
||||
{"_": "auth.codeTypeCall"}
|
||||
```
|
||||
|
||||
|
||||
Or, if you're into Lua:
|
||||
|
||||
|
@ -22,12 +22,6 @@ Auth code type: flash call
|
||||
$auth_codeTypeFlashCall = ['_' => 'auth.codeTypeFlashCall'];
|
||||
```
|
||||
|
||||
[PWRTelegram](https://pwrtelegram.xyz) json-encoded version:
|
||||
|
||||
```
|
||||
{"_": "auth.codeTypeFlashCall"}
|
||||
```
|
||||
|
||||
|
||||
Or, if you're into Lua:
|
||||
|
||||
|
@ -22,12 +22,6 @@ Auth code type: SMS
|
||||
$auth_codeTypeSms = ['_' => 'auth.codeTypeSms'];
|
||||
```
|
||||
|
||||
[PWRTelegram](https://pwrtelegram.xyz) json-encoded version:
|
||||
|
||||
```
|
||||
{"_": "auth.codeTypeSms"}
|
||||
```
|
||||
|
||||
|
||||
Or, if you're into Lua:
|
||||
|
||||
|
@ -28,12 +28,6 @@ Exported authorization
|
||||
$auth_exportedAuthorization = ['_' => 'auth.exportedAuthorization', 'id' => int, 'bytes' => 'bytes'];
|
||||
```
|
||||
|
||||
[PWRTelegram](https://pwrtelegram.xyz) json-encoded version:
|
||||
|
||||
```
|
||||
{"_": "auth.exportedAuthorization", "id": int, "bytes": {"_": "bytes", "bytes":"base64 encoded bytes"}}
|
||||
```
|
||||
|
||||
|
||||
Or, if you're into Lua:
|
||||
|
||||
|
@ -27,12 +27,6 @@ Password recovery
|
||||
$auth_passwordRecovery = ['_' => 'auth.passwordRecovery', 'email_pattern' => 'string'];
|
||||
```
|
||||
|
||||
[PWRTelegram](https://pwrtelegram.xyz) json-encoded version:
|
||||
|
||||
```
|
||||
{"_": "auth.passwordRecovery", "email_pattern": "string"}
|
||||
```
|
||||
|
||||
|
||||
Or, if you're into Lua:
|
||||
|
||||
|
@ -32,12 +32,6 @@ Sent code
|
||||
$auth_sentCode = ['_' => 'auth.sentCode', 'phone_registered' => Bool, 'type' => auth_SentCodeType, 'phone_code_hash' => 'string', 'next_type' => auth_CodeType, 'timeout' => int, 'terms_of_service' => help_TermsOfService];
|
||||
```
|
||||
|
||||
[PWRTelegram](https://pwrtelegram.xyz) json-encoded version:
|
||||
|
||||
```
|
||||
{"_": "auth.sentCode", "phone_registered": Bool, "type": auth_SentCodeType, "phone_code_hash": "string", "next_type": auth_CodeType, "timeout": int, "terms_of_service": help_TermsOfService}
|
||||
```
|
||||
|
||||
|
||||
Or, if you're into Lua:
|
||||
|
||||
|
@ -27,12 +27,6 @@ Sent code type app
|
||||
$auth_sentCodeTypeApp = ['_' => 'auth.sentCodeTypeApp', 'length' => int];
|
||||
```
|
||||
|
||||
[PWRTelegram](https://pwrtelegram.xyz) json-encoded version:
|
||||
|
||||
```
|
||||
{"_": "auth.sentCodeTypeApp", "length": int}
|
||||
```
|
||||
|
||||
|
||||
Or, if you're into Lua:
|
||||
|
||||
|
@ -27,12 +27,6 @@ Sent code type call
|
||||
$auth_sentCodeTypeCall = ['_' => 'auth.sentCodeTypeCall', 'length' => int];
|
||||
```
|
||||
|
||||
[PWRTelegram](https://pwrtelegram.xyz) json-encoded version:
|
||||
|
||||
```
|
||||
{"_": "auth.sentCodeTypeCall", "length": int}
|
||||
```
|
||||
|
||||
|
||||
Or, if you're into Lua:
|
||||
|
||||
|
@ -27,12 +27,6 @@ Sent code type flash call
|
||||
$auth_sentCodeTypeFlashCall = ['_' => 'auth.sentCodeTypeFlashCall', 'pattern' => 'string'];
|
||||
```
|
||||
|
||||
[PWRTelegram](https://pwrtelegram.xyz) json-encoded version:
|
||||
|
||||
```
|
||||
{"_": "auth.sentCodeTypeFlashCall", "pattern": "string"}
|
||||
```
|
||||
|
||||
|
||||
Or, if you're into Lua:
|
||||
|
||||
|
@ -27,12 +27,6 @@ Sent code type sms
|
||||
$auth_sentCodeTypeSms = ['_' => 'auth.sentCodeTypeSms', 'length' => int];
|
||||
```
|
||||
|
||||
[PWRTelegram](https://pwrtelegram.xyz) json-encoded version:
|
||||
|
||||
```
|
||||
{"_": "auth.sentCodeTypeSms", "length": int}
|
||||
```
|
||||
|
||||
|
||||
Or, if you're into Lua:
|
||||
|
||||
|
@ -41,12 +41,6 @@ Authorization
|
||||
$authorization = ['_' => 'authorization', 'current' => Bool, 'official_app' => Bool, 'password_pending' => Bool, 'hash' => long, 'device_model' => 'string', 'platform' => 'string', 'system_version' => 'string', 'api_id' => int, 'app_name' => 'string', 'app_version' => 'string', 'date_created' => int, 'date_active' => int, 'ip' => 'string', 'country' => 'string', 'region' => 'string'];
|
||||
```
|
||||
|
||||
[PWRTelegram](https://pwrtelegram.xyz) json-encoded version:
|
||||
|
||||
```
|
||||
{"_": "authorization", "current": Bool, "official_app": Bool, "password_pending": Bool, "hash": long, "device_model": "string", "platform": "string", "system_version": "string", "api_id": int, "app_name": "string", "app_version": "string", "date_created": int, "date_active": int, "ip": "string", "country": "string", "region": "string"}
|
||||
```
|
||||
|
||||
|
||||
Or, if you're into Lua:
|
||||
|
||||
|
@ -28,12 +28,6 @@ Represents command supported by bot
|
||||
$botCommand = ['_' => 'botCommand', 'command' => 'string', 'description' => 'string'];
|
||||
```
|
||||
|
||||
[PWRTelegram](https://pwrtelegram.xyz) json-encoded version:
|
||||
|
||||
```
|
||||
{"_": "botCommand", "command": "string", "description": "string"}
|
||||
```
|
||||
|
||||
|
||||
Or, if you're into Lua:
|
||||
|
||||
|
@ -29,12 +29,6 @@ Bot info
|
||||
$botInfo = ['_' => 'botInfo', 'user_id' => int, 'description' => 'string', 'commands' => [BotCommand, BotCommand]];
|
||||
```
|
||||
|
||||
[PWRTelegram](https://pwrtelegram.xyz) json-encoded version:
|
||||
|
||||
```
|
||||
{"_": "botInfo", "user_id": int, "description": "string", "commands": [BotCommand]}
|
||||
```
|
||||
|
||||
|
||||
Or, if you're into Lua:
|
||||
|
||||
|
@ -33,12 +33,6 @@ Bot inline media result
|
||||
$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}
|
||||
```
|
||||
|
||||
|
||||
Or, if you're into Lua:
|
||||
|
||||
|
@ -29,12 +29,6 @@ Bot inline message media auto
|
||||
$botInlineMessageMediaAuto = ['_' => 'botInlineMessageMediaAuto', 'message' => 'string', 'entities' => [MessageEntity, MessageEntity], 'reply_markup' => ReplyMarkup];
|
||||
```
|
||||
|
||||
[PWRTelegram](https://pwrtelegram.xyz) json-encoded version:
|
||||
|
||||
```
|
||||
{"_": "botInlineMessageMediaAuto", "message": "string", "entities": [MessageEntity], "reply_markup": ReplyMarkup}
|
||||
```
|
||||
|
||||
|
||||
Or, if you're into Lua:
|
||||
|
||||
|
@ -31,12 +31,6 @@ Bot inline message media contact
|
||||
$botInlineMessageMediaContact = ['_' => 'botInlineMessageMediaContact', 'phone_number' => 'string', 'first_name' => 'string', 'last_name' => 'string', 'vcard' => 'string', 'reply_markup' => ReplyMarkup];
|
||||
```
|
||||
|
||||
[PWRTelegram](https://pwrtelegram.xyz) json-encoded version:
|
||||
|
||||
```
|
||||
{"_": "botInlineMessageMediaContact", "phone_number": "string", "first_name": "string", "last_name": "string", "vcard": "string", "reply_markup": ReplyMarkup}
|
||||
```
|
||||
|
||||
|
||||
Or, if you're into Lua:
|
||||
|
||||
|
@ -29,12 +29,6 @@ Bot inline message media geo
|
||||
$botInlineMessageMediaGeo = ['_' => 'botInlineMessageMediaGeo', 'geo' => GeoPoint, 'period' => int, 'reply_markup' => ReplyMarkup];
|
||||
```
|
||||
|
||||
[PWRTelegram](https://pwrtelegram.xyz) json-encoded version:
|
||||
|
||||
```
|
||||
{"_": "botInlineMessageMediaGeo", "geo": GeoPoint, "period": int, "reply_markup": ReplyMarkup}
|
||||
```
|
||||
|
||||
|
||||
Or, if you're into Lua:
|
||||
|
||||
|
@ -33,12 +33,6 @@ Bot inline message media venue
|
||||
$botInlineMessageMediaVenue = ['_' => 'botInlineMessageMediaVenue', 'geo' => GeoPoint, 'title' => 'string', 'address' => 'string', 'provider' => 'string', 'venue_id' => 'string', 'venue_type' => 'string', 'reply_markup' => ReplyMarkup];
|
||||
```
|
||||
|
||||
[PWRTelegram](https://pwrtelegram.xyz) json-encoded version:
|
||||
|
||||
```
|
||||
{"_": "botInlineMessageMediaVenue", "geo": GeoPoint, "title": "string", "address": "string", "provider": "string", "venue_id": "string", "venue_type": "string", "reply_markup": ReplyMarkup}
|
||||
```
|
||||
|
||||
|
||||
Or, if you're into Lua:
|
||||
|
||||
|
@ -30,12 +30,6 @@ Bot inline message text
|
||||
$botInlineMessageText = ['_' => 'botInlineMessageText', 'no_webpage' => Bool, 'message' => 'string', 'entities' => [MessageEntity, MessageEntity], 'reply_markup' => ReplyMarkup];
|
||||
```
|
||||
|
||||
[PWRTelegram](https://pwrtelegram.xyz) json-encoded version:
|
||||
|
||||
```
|
||||
{"_": "botInlineMessageText", "no_webpage": Bool, "message": "string", "entities": [MessageEntity], "reply_markup": ReplyMarkup}
|
||||
```
|
||||
|
||||
|
||||
Or, if you're into Lua:
|
||||
|
||||
|
@ -34,12 +34,6 @@ Bot inline result
|
||||
$botInlineResult = ['_' => 'botInlineResult', 'id' => 'string', 'type' => 'string', 'title' => 'string', 'description' => 'string', 'url' => 'string', 'thumb' => WebDocument, 'content' => WebDocument, 'send_message' => BotInlineMessage];
|
||||
```
|
||||
|
||||
[PWRTelegram](https://pwrtelegram.xyz) json-encoded version:
|
||||
|
||||
```
|
||||
{"_": "botInlineResult", "id": "string", "type": "string", "title": "string", "description": "string", "url": "string", "thumb": WebDocument, "content": WebDocument, "send_message": BotInlineMessage}
|
||||
```
|
||||
|
||||
|
||||
Or, if you're into Lua:
|
||||
|
||||
|
@ -27,12 +27,6 @@ CDN configuration
|
||||
$cdnConfig = ['_' => 'cdnConfig', 'public_keys' => [CdnPublicKey, CdnPublicKey]];
|
||||
```
|
||||
|
||||
[PWRTelegram](https://pwrtelegram.xyz) json-encoded version:
|
||||
|
||||
```
|
||||
{"_": "cdnConfig", "public_keys": [CdnPublicKey]}
|
||||
```
|
||||
|
||||
|
||||
Or, if you're into Lua:
|
||||
|
||||
|
@ -28,12 +28,6 @@ Cdn public key
|
||||
$cdnPublicKey = ['_' => 'cdnPublicKey', 'dc_id' => int, 'public_key' => 'string'];
|
||||
```
|
||||
|
||||
[PWRTelegram](https://pwrtelegram.xyz) json-encoded version:
|
||||
|
||||
```
|
||||
{"_": "cdnPublicKey", "dc_id": int, "public_key": "string"}
|
||||
```
|
||||
|
||||
|
||||
Or, if you're into Lua:
|
||||
|
||||
|
@ -46,12 +46,6 @@ Channel
|
||||
$channel = ['_' => 'channel', 'creator' => Bool, 'left' => Bool, 'broadcast' => Bool, 'verified' => Bool, 'megagroup' => Bool, 'restricted' => 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' => ChatAdminRights, 'banned_rights' => ChatBannedRights, 'default_banned_rights' => ChatBannedRights, 'participants_count' => int];
|
||||
```
|
||||
|
||||
[PWRTelegram](https://pwrtelegram.xyz) json-encoded version:
|
||||
|
||||
```
|
||||
{"_": "channel", "creator": Bool, "left": Bool, "broadcast": Bool, "verified": Bool, "megagroup": Bool, "restricted": 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": ChatAdminRights, "banned_rights": ChatBannedRights, "default_banned_rights": ChatBannedRights, "participants_count": int}
|
||||
```
|
||||
|
||||
|
||||
Or, if you're into Lua:
|
||||
|
||||
|
@ -30,12 +30,6 @@ Channel admin log event
|
||||
$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}
|
||||
```
|
||||
|
||||
|
||||
Or, if you're into Lua:
|
||||
|
||||
|
@ -28,12 +28,6 @@ Change about text
|
||||
$channelAdminLogEventActionChangeAbout = ['_' => 'channelAdminLogEventActionChangeAbout', 'prev_value' => 'string', 'new_value' => 'string'];
|
||||
```
|
||||
|
||||
[PWRTelegram](https://pwrtelegram.xyz) json-encoded version:
|
||||
|
||||
```
|
||||
{"_": "channelAdminLogEventActionChangeAbout", "prev_value": "string", "new_value": "string"}
|
||||
```
|
||||
|
||||
|
||||
Or, if you're into Lua:
|
||||
|
||||
|
@ -28,12 +28,6 @@ Change photo
|
||||
$channelAdminLogEventActionChangePhoto = ['_' => 'channelAdminLogEventActionChangePhoto', 'prev_photo' => ChatPhoto, 'new_photo' => ChatPhoto];
|
||||
```
|
||||
|
||||
[PWRTelegram](https://pwrtelegram.xyz) json-encoded version:
|
||||
|
||||
```
|
||||
{"_": "channelAdminLogEventActionChangePhoto", "prev_photo": ChatPhoto, "new_photo": ChatPhoto}
|
||||
```
|
||||
|
||||
|
||||
Or, if you're into Lua:
|
||||
|
||||
|
@ -28,12 +28,6 @@ Change stickerset
|
||||
$channelAdminLogEventActionChangeStickerSet = ['_' => 'channelAdminLogEventActionChangeStickerSet', 'prev_stickerset' => InputStickerSet, 'new_stickerset' => InputStickerSet];
|
||||
```
|
||||
|
||||
[PWRTelegram](https://pwrtelegram.xyz) json-encoded version:
|
||||
|
||||
```
|
||||
{"_": "channelAdminLogEventActionChangeStickerSet", "prev_stickerset": InputStickerSet, "new_stickerset": InputStickerSet}
|
||||
```
|
||||
|
||||
|
||||
Or, if you're into Lua:
|
||||
|
||||
|
@ -28,12 +28,6 @@ Change title
|
||||
$channelAdminLogEventActionChangeTitle = ['_' => 'channelAdminLogEventActionChangeTitle', 'prev_value' => 'string', 'new_value' => 'string'];
|
||||
```
|
||||
|
||||
[PWRTelegram](https://pwrtelegram.xyz) json-encoded version:
|
||||
|
||||
```
|
||||
{"_": "channelAdminLogEventActionChangeTitle", "prev_value": "string", "new_value": "string"}
|
||||
```
|
||||
|
||||
|
||||
Or, if you're into Lua:
|
||||
|
||||
|
@ -28,12 +28,6 @@ Change username
|
||||
$channelAdminLogEventActionChangeUsername = ['_' => 'channelAdminLogEventActionChangeUsername', 'prev_value' => 'string', 'new_value' => 'string'];
|
||||
```
|
||||
|
||||
[PWRTelegram](https://pwrtelegram.xyz) json-encoded version:
|
||||
|
||||
```
|
||||
{"_": "channelAdminLogEventActionChangeUsername", "prev_value": "string", "new_value": "string"}
|
||||
```
|
||||
|
||||
|
||||
Or, if you're into Lua:
|
||||
|
||||
|
@ -28,12 +28,6 @@ Changed global chat rights
|
||||
$channelAdminLogEventActionDefaultBannedRights = ['_' => 'channelAdminLogEventActionDefaultBannedRights', 'prev_banned_rights' => ChatBannedRights, 'new_banned_rights' => ChatBannedRights];
|
||||
```
|
||||
|
||||
[PWRTelegram](https://pwrtelegram.xyz) json-encoded version:
|
||||
|
||||
```
|
||||
{"_": "channelAdminLogEventActionDefaultBannedRights", "prev_banned_rights": ChatBannedRights, "new_banned_rights": ChatBannedRights}
|
||||
```
|
||||
|
||||
|
||||
Or, if you're into Lua:
|
||||
|
||||
|
@ -27,12 +27,6 @@ Delete message
|
||||
$channelAdminLogEventActionDeleteMessage = ['_' => 'channelAdminLogEventActionDeleteMessage', 'message' => Message];
|
||||
```
|
||||
|
||||
[PWRTelegram](https://pwrtelegram.xyz) json-encoded version:
|
||||
|
||||
```
|
||||
{"_": "channelAdminLogEventActionDeleteMessage", "message": Message}
|
||||
```
|
||||
|
||||
|
||||
Or, if you're into Lua:
|
||||
|
||||
|
@ -28,12 +28,6 @@ Edit message
|
||||
$channelAdminLogEventActionEditMessage = ['_' => 'channelAdminLogEventActionEditMessage', 'prev_message' => Message, 'new_message' => Message];
|
||||
```
|
||||
|
||||
[PWRTelegram](https://pwrtelegram.xyz) json-encoded version:
|
||||
|
||||
```
|
||||
{"_": "channelAdminLogEventActionEditMessage", "prev_message": Message, "new_message": Message}
|
||||
```
|
||||
|
||||
|
||||
Or, if you're into Lua:
|
||||
|
||||
|
@ -27,12 +27,6 @@ Invite participant
|
||||
$channelAdminLogEventActionParticipantInvite = ['_' => 'channelAdminLogEventActionParticipantInvite', 'participant' => ChannelParticipant];
|
||||
```
|
||||
|
||||
[PWRTelegram](https://pwrtelegram.xyz) json-encoded version:
|
||||
|
||||
```
|
||||
{"_": "channelAdminLogEventActionParticipantInvite", "participant": ChannelParticipant}
|
||||
```
|
||||
|
||||
|
||||
Or, if you're into Lua:
|
||||
|
||||
|
@ -22,12 +22,6 @@ Joined participant
|
||||
$channelAdminLogEventActionParticipantJoin = ['_' => 'channelAdminLogEventActionParticipantJoin'];
|
||||
```
|
||||
|
||||
[PWRTelegram](https://pwrtelegram.xyz) json-encoded version:
|
||||
|
||||
```
|
||||
{"_": "channelAdminLogEventActionParticipantJoin"}
|
||||
```
|
||||
|
||||
|
||||
Or, if you're into Lua:
|
||||
|
||||
|
@ -22,12 +22,6 @@ Left participant
|
||||
$channelAdminLogEventActionParticipantLeave = ['_' => 'channelAdminLogEventActionParticipantLeave'];
|
||||
```
|
||||
|
||||
[PWRTelegram](https://pwrtelegram.xyz) json-encoded version:
|
||||
|
||||
```
|
||||
{"_": "channelAdminLogEventActionParticipantLeave"}
|
||||
```
|
||||
|
||||
|
||||
Or, if you're into Lua:
|
||||
|
||||
|
@ -28,12 +28,6 @@ Admin toggled
|
||||
$channelAdminLogEventActionParticipantToggleAdmin = ['_' => 'channelAdminLogEventActionParticipantToggleAdmin', 'prev_participant' => ChannelParticipant, 'new_participant' => ChannelParticipant];
|
||||
```
|
||||
|
||||
[PWRTelegram](https://pwrtelegram.xyz) json-encoded version:
|
||||
|
||||
```
|
||||
{"_": "channelAdminLogEventActionParticipantToggleAdmin", "prev_participant": ChannelParticipant, "new_participant": ChannelParticipant}
|
||||
```
|
||||
|
||||
|
||||
Or, if you're into Lua:
|
||||
|
||||
|
@ -28,12 +28,6 @@ User banned
|
||||
$channelAdminLogEventActionParticipantToggleBan = ['_' => 'channelAdminLogEventActionParticipantToggleBan', 'prev_participant' => ChannelParticipant, 'new_participant' => ChannelParticipant];
|
||||
```
|
||||
|
||||
[PWRTelegram](https://pwrtelegram.xyz) json-encoded version:
|
||||
|
||||
```
|
||||
{"_": "channelAdminLogEventActionParticipantToggleBan", "prev_participant": ChannelParticipant, "new_participant": ChannelParticipant}
|
||||
```
|
||||
|
||||
|
||||
Or, if you're into Lua:
|
||||
|
||||
|
@ -27,12 +27,6 @@ Stopped poll
|
||||
$channelAdminLogEventActionStopPoll = ['_' => 'channelAdminLogEventActionStopPoll', 'message' => Message];
|
||||
```
|
||||
|
||||
[PWRTelegram](https://pwrtelegram.xyz) json-encoded version:
|
||||
|
||||
```
|
||||
{"_": "channelAdminLogEventActionStopPoll", "message": Message}
|
||||
```
|
||||
|
||||
|
||||
Or, if you're into Lua:
|
||||
|
||||
|
@ -27,12 +27,6 @@ Invite setting toggled
|
||||
$channelAdminLogEventActionToggleInvites = ['_' => 'channelAdminLogEventActionToggleInvites', 'new_value' => Bool];
|
||||
```
|
||||
|
||||
[PWRTelegram](https://pwrtelegram.xyz) json-encoded version:
|
||||
|
||||
```
|
||||
{"_": "channelAdminLogEventActionToggleInvites", "new_value": Bool}
|
||||
```
|
||||
|
||||
|
||||
Or, if you're into Lua:
|
||||
|
||||
|
@ -27,12 +27,6 @@ Previous history hidden
|
||||
$channelAdminLogEventActionTogglePreHistoryHidden = ['_' => 'channelAdminLogEventActionTogglePreHistoryHidden', 'new_value' => Bool];
|
||||
```
|
||||
|
||||
[PWRTelegram](https://pwrtelegram.xyz) json-encoded version:
|
||||
|
||||
```
|
||||
{"_": "channelAdminLogEventActionTogglePreHistoryHidden", "new_value": Bool}
|
||||
```
|
||||
|
||||
|
||||
Or, if you're into Lua:
|
||||
|
||||
|
@ -27,12 +27,6 @@ Toggle channel signatures
|
||||
$channelAdminLogEventActionToggleSignatures = ['_' => 'channelAdminLogEventActionToggleSignatures', 'new_value' => Bool];
|
||||
```
|
||||
|
||||
[PWRTelegram](https://pwrtelegram.xyz) json-encoded version:
|
||||
|
||||
```
|
||||
{"_": "channelAdminLogEventActionToggleSignatures", "new_value": Bool}
|
||||
```
|
||||
|
||||
|
||||
Or, if you're into Lua:
|
||||
|
||||
|
@ -27,12 +27,6 @@ Message pinned
|
||||
$channelAdminLogEventActionUpdatePinned = ['_' => 'channelAdminLogEventActionUpdatePinned', 'message' => Message];
|
||||
```
|
||||
|
||||
[PWRTelegram](https://pwrtelegram.xyz) json-encoded version:
|
||||
|
||||
```
|
||||
{"_": "channelAdminLogEventActionUpdatePinned", "message": Message}
|
||||
```
|
||||
|
||||
|
||||
Or, if you're into Lua:
|
||||
|
||||
|
@ -40,12 +40,6 @@ Event filter
|
||||
$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}
|
||||
```
|
||||
|
||||
|
||||
Or, if you're into Lua:
|
||||
|
||||
|
@ -32,12 +32,6 @@ Forbidden channel
|
||||
$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}
|
||||
```
|
||||
|
||||
|
||||
Or, if you're into Lua:
|
||||
|
||||
|
@ -50,12 +50,6 @@ Full channel
|
||||
$channelFull = ['_' => 'channelFull', 'can_view_participants' => Bool, 'can_set_username' => Bool, 'can_set_stickers' => Bool, 'hidden_prehistory' => Bool, 'can_view_stats' => Bool, 'id' => int, 'about' => 'string', 'participants_count' => int, 'admins_count' => int, 'kicked_count' => int, 'banned_count' => int, 'online_count' => int, 'read_inbox_max_id' => int, 'read_outbox_max_id' => int, 'unread_count' => int, 'chat_photo' => Photo, 'notify_settings' => PeerNotifySettings, 'exported_invite' => ExportedChatInvite, 'bot_info' => [BotInfo, BotInfo], 'migrated_from_chat_id' => int, 'migrated_from_max_id' => int, 'pinned_msg_id' => int, 'stickerset' => StickerSet, 'available_min_id' => int];
|
||||
```
|
||||
|
||||
[PWRTelegram](https://pwrtelegram.xyz) json-encoded version:
|
||||
|
||||
```
|
||||
{"_": "channelFull", "can_view_participants": Bool, "can_set_username": Bool, "can_set_stickers": Bool, "hidden_prehistory": Bool, "can_view_stats": Bool, "id": int, "about": "string", "participants_count": int, "admins_count": int, "kicked_count": int, "banned_count": int, "online_count": int, "read_inbox_max_id": int, "read_outbox_max_id": int, "unread_count": int, "chat_photo": Photo, "notify_settings": PeerNotifySettings, "exported_invite": ExportedChatInvite, "bot_info": [BotInfo], "migrated_from_chat_id": int, "migrated_from_max_id": int, "pinned_msg_id": int, "stickerset": StickerSet, "available_min_id": int}
|
||||
```
|
||||
|
||||
|
||||
Or, if you're into Lua:
|
||||
|
||||
|
@ -28,12 +28,6 @@ Channel messages filter
|
||||
$channelMessagesFilter = ['_' => 'channelMessagesFilter', 'exclude_new_messages' => Bool, 'ranges' => [MessageRange, MessageRange]];
|
||||
```
|
||||
|
||||
[PWRTelegram](https://pwrtelegram.xyz) json-encoded version:
|
||||
|
||||
```
|
||||
{"_": "channelMessagesFilter", "exclude_new_messages": Bool, "ranges": [MessageRange]}
|
||||
```
|
||||
|
||||
|
||||
Or, if you're into Lua:
|
||||
|
||||
|
@ -22,12 +22,6 @@ Empty channel messages filter
|
||||
$channelMessagesFilterEmpty = ['_' => 'channelMessagesFilterEmpty'];
|
||||
```
|
||||
|
||||
[PWRTelegram](https://pwrtelegram.xyz) json-encoded version:
|
||||
|
||||
```
|
||||
{"_": "channelMessagesFilterEmpty"}
|
||||
```
|
||||
|
||||
|
||||
Or, if you're into Lua:
|
||||
|
||||
|
@ -28,12 +28,6 @@ Channel participant
|
||||
$channelParticipant = ['_' => 'channelParticipant', 'user_id' => int, 'date' => int];
|
||||
```
|
||||
|
||||
[PWRTelegram](https://pwrtelegram.xyz) json-encoded version:
|
||||
|
||||
```
|
||||
{"_": "channelParticipant", "user_id": int, "date": int}
|
||||
```
|
||||
|
||||
|
||||
Or, if you're into Lua:
|
||||
|
||||
|
@ -33,12 +33,6 @@ Channel participant admin
|
||||
$channelParticipantAdmin = ['_' => 'channelParticipantAdmin', 'can_edit' => Bool, 'self' => Bool, 'user_id' => int, 'inviter_id' => int, 'promoted_by' => int, 'date' => int, 'admin_rights' => ChatAdminRights];
|
||||
```
|
||||
|
||||
[PWRTelegram](https://pwrtelegram.xyz) json-encoded version:
|
||||
|
||||
```
|
||||
{"_": "channelParticipantAdmin", "can_edit": Bool, "self": Bool, "user_id": int, "inviter_id": int, "promoted_by": int, "date": int, "admin_rights": ChatAdminRights}
|
||||
```
|
||||
|
||||
|
||||
Or, if you're into Lua:
|
||||
|
||||
|
@ -31,12 +31,6 @@ Channel participant banned
|
||||
$channelParticipantBanned = ['_' => 'channelParticipantBanned', 'left' => Bool, 'user_id' => int, 'kicked_by' => int, 'date' => int, 'banned_rights' => ChatBannedRights];
|
||||
```
|
||||
|
||||
[PWRTelegram](https://pwrtelegram.xyz) json-encoded version:
|
||||
|
||||
```
|
||||
{"_": "channelParticipantBanned", "left": Bool, "user_id": int, "kicked_by": int, "date": int, "banned_rights": ChatBannedRights}
|
||||
```
|
||||
|
||||
|
||||
Or, if you're into Lua:
|
||||
|
||||
|
@ -27,12 +27,6 @@ Channel participant creator
|
||||
$channelParticipantCreator = ['_' => 'channelParticipantCreator', 'user_id' => int];
|
||||
```
|
||||
|
||||
[PWRTelegram](https://pwrtelegram.xyz) json-encoded version:
|
||||
|
||||
```
|
||||
{"_": "channelParticipantCreator", "user_id": int}
|
||||
```
|
||||
|
||||
|
||||
Or, if you're into Lua:
|
||||
|
||||
|
@ -29,12 +29,6 @@ Channel participant self
|
||||
$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}
|
||||
```
|
||||
|
||||
|
||||
Or, if you're into Lua:
|
||||
|
||||
|
@ -22,12 +22,6 @@ Channel participants admins
|
||||
$channelParticipantsAdmins = ['_' => 'channelParticipantsAdmins'];
|
||||
```
|
||||
|
||||
[PWRTelegram](https://pwrtelegram.xyz) json-encoded version:
|
||||
|
||||
```
|
||||
{"_": "channelParticipantsAdmins"}
|
||||
```
|
||||
|
||||
|
||||
Or, if you're into Lua:
|
||||
|
||||
|
@ -27,12 +27,6 @@ Channel participants banned
|
||||
$channelParticipantsBanned = ['_' => 'channelParticipantsBanned', 'q' => 'string'];
|
||||
```
|
||||
|
||||
[PWRTelegram](https://pwrtelegram.xyz) json-encoded version:
|
||||
|
||||
```
|
||||
{"_": "channelParticipantsBanned", "q": "string"}
|
||||
```
|
||||
|
||||
|
||||
Or, if you're into Lua:
|
||||
|
||||
|
@ -22,12 +22,6 @@ Channel participants bots
|
||||
$channelParticipantsBots = ['_' => 'channelParticipantsBots'];
|
||||
```
|
||||
|
||||
[PWRTelegram](https://pwrtelegram.xyz) json-encoded version:
|
||||
|
||||
```
|
||||
{"_": "channelParticipantsBots"}
|
||||
```
|
||||
|
||||
|
||||
Or, if you're into Lua:
|
||||
|
||||
|
@ -27,12 +27,6 @@ Contacts
|
||||
$channelParticipantsContacts = ['_' => 'channelParticipantsContacts', 'q' => 'string'];
|
||||
```
|
||||
|
||||
[PWRTelegram](https://pwrtelegram.xyz) json-encoded version:
|
||||
|
||||
```
|
||||
{"_": "channelParticipantsContacts", "q": "string"}
|
||||
```
|
||||
|
||||
|
||||
Or, if you're into Lua:
|
||||
|
||||
|
@ -27,12 +27,6 @@ Channel participants kicked
|
||||
$channelParticipantsKicked = ['_' => 'channelParticipantsKicked', 'q' => 'string'];
|
||||
```
|
||||
|
||||
[PWRTelegram](https://pwrtelegram.xyz) json-encoded version:
|
||||
|
||||
```
|
||||
{"_": "channelParticipantsKicked", "q": "string"}
|
||||
```
|
||||
|
||||
|
||||
Or, if you're into Lua:
|
||||
|
||||
|
@ -22,12 +22,6 @@ Channel participants recent
|
||||
$channelParticipantsRecent = ['_' => 'channelParticipantsRecent'];
|
||||
```
|
||||
|
||||
[PWRTelegram](https://pwrtelegram.xyz) json-encoded version:
|
||||
|
||||
```
|
||||
{"_": "channelParticipantsRecent"}
|
||||
```
|
||||
|
||||
|
||||
Or, if you're into Lua:
|
||||
|
||||
|
@ -27,12 +27,6 @@ Channel participants search
|
||||
$channelParticipantsSearch = ['_' => 'channelParticipantsSearch', 'q' => 'string'];
|
||||
```
|
||||
|
||||
[PWRTelegram](https://pwrtelegram.xyz) json-encoded version:
|
||||
|
||||
```
|
||||
{"_": "channelParticipantsSearch", "q": "string"}
|
||||
```
|
||||
|
||||
|
||||
Or, if you're into Lua:
|
||||
|
||||
|
@ -29,12 +29,6 @@ Admin log results
|
||||
$channels_adminLogResults = ['_' => 'channels.adminLogResults', 'events' => [ChannelAdminLogEvent, ChannelAdminLogEvent], 'chats' => [Chat, Chat], 'users' => [User, User]];
|
||||
```
|
||||
|
||||
[PWRTelegram](https://pwrtelegram.xyz) json-encoded version:
|
||||
|
||||
```
|
||||
{"_": "channels.adminLogResults", "events": [ChannelAdminLogEvent], "chats": [Chat], "users": [User]}
|
||||
```
|
||||
|
||||
|
||||
Or, if you're into Lua:
|
||||
|
||||
|
@ -28,12 +28,6 @@ Channel participant
|
||||
$channels_channelParticipant = ['_' => 'channels.channelParticipant', 'participant' => ChannelParticipant, 'users' => [User, User]];
|
||||
```
|
||||
|
||||
[PWRTelegram](https://pwrtelegram.xyz) json-encoded version:
|
||||
|
||||
```
|
||||
{"_": "channels.channelParticipant", "participant": ChannelParticipant, "users": [User]}
|
||||
```
|
||||
|
||||
|
||||
Or, if you're into Lua:
|
||||
|
||||
|
@ -29,12 +29,6 @@ Channel participants
|
||||
$channels_channelParticipants = ['_' => 'channels.channelParticipants', 'count' => int, 'participants' => [ChannelParticipant, ChannelParticipant], 'users' => [User, User]];
|
||||
```
|
||||
|
||||
[PWRTelegram](https://pwrtelegram.xyz) json-encoded version:
|
||||
|
||||
```
|
||||
{"_": "channels.channelParticipants", "count": int, "participants": [ChannelParticipant], "users": [User]}
|
||||
```
|
||||
|
||||
|
||||
Or, if you're into Lua:
|
||||
|
||||
|
@ -22,12 +22,6 @@ Channel participants not modified
|
||||
$channels_channelParticipantsNotModified = ['_' => 'channels.channelParticipantsNotModified'];
|
||||
```
|
||||
|
||||
[PWRTelegram](https://pwrtelegram.xyz) json-encoded version:
|
||||
|
||||
```
|
||||
{"_": "channels.channelParticipantsNotModified"}
|
||||
```
|
||||
|
||||
|
||||
Or, if you're into Lua:
|
||||
|
||||
|
@ -39,12 +39,6 @@ Chat
|
||||
$chat = ['_' => 'chat', 'creator' => Bool, 'kicked' => Bool, 'left' => Bool, 'deactivated' => Bool, 'id' => int, 'title' => 'string', 'photo' => ChatPhoto, 'participants_count' => int, 'date' => int, 'version' => int, 'migrated_to' => InputChannel, 'admin_rights' => ChatAdminRights, 'default_banned_rights' => ChatBannedRights];
|
||||
```
|
||||
|
||||
[PWRTelegram](https://pwrtelegram.xyz) json-encoded version:
|
||||
|
||||
```
|
||||
{"_": "chat", "creator": Bool, "kicked": Bool, "left": Bool, "deactivated": Bool, "id": int, "title": "string", "photo": ChatPhoto, "participants_count": int, "date": int, "version": int, "migrated_to": InputChannel, "admin_rights": ChatAdminRights, "default_banned_rights": ChatBannedRights}
|
||||
```
|
||||
|
||||
|
||||
Or, if you're into Lua:
|
||||
|
||||
|
@ -34,12 +34,6 @@ Admin rights
|
||||
$chatAdminRights = ['_' => 'chatAdminRights', 'change_info' => Bool, 'post_messages' => Bool, 'edit_messages' => Bool, 'delete_messages' => Bool, 'ban_users' => Bool, 'invite_users' => Bool, 'pin_messages' => Bool, 'add_admins' => Bool];
|
||||
```
|
||||
|
||||
[PWRTelegram](https://pwrtelegram.xyz) json-encoded version:
|
||||
|
||||
```
|
||||
{"_": "chatAdminRights", "change_info": Bool, "post_messages": Bool, "edit_messages": Bool, "delete_messages": Bool, "ban_users": Bool, "invite_users": Bool, "pin_messages": Bool, "add_admins": Bool}
|
||||
```
|
||||
|
||||
|
||||
Or, if you're into Lua:
|
||||
|
||||
|
@ -39,12 +39,6 @@ Banned rights (when true, the user will NOT be able to do that thing)
|
||||
$chatBannedRights = ['_' => 'chatBannedRights', 'view_messages' => Bool, 'send_messages' => Bool, 'send_media' => Bool, 'send_stickers' => Bool, 'send_gifs' => Bool, 'send_games' => Bool, 'send_inline' => Bool, 'embed_links' => Bool, 'send_polls' => Bool, 'change_info' => Bool, 'invite_users' => Bool, 'pin_messages' => Bool, 'until_date' => int];
|
||||
```
|
||||
|
||||
[PWRTelegram](https://pwrtelegram.xyz) json-encoded version:
|
||||
|
||||
```
|
||||
{"_": "chatBannedRights", "view_messages": Bool, "send_messages": Bool, "send_media": Bool, "send_stickers": Bool, "send_gifs": Bool, "send_games": Bool, "send_inline": Bool, "embed_links": Bool, "send_polls": Bool, "change_info": Bool, "invite_users": Bool, "pin_messages": Bool, "until_date": int}
|
||||
```
|
||||
|
||||
|
||||
Or, if you're into Lua:
|
||||
|
||||
|
@ -27,12 +27,6 @@ Empty chat
|
||||
$chatEmpty = ['_' => 'chatEmpty', 'id' => int];
|
||||
```
|
||||
|
||||
[PWRTelegram](https://pwrtelegram.xyz) json-encoded version:
|
||||
|
||||
```
|
||||
{"_": "chatEmpty", "id": int}
|
||||
```
|
||||
|
||||
|
||||
Or, if you're into Lua:
|
||||
|
||||
|
@ -28,12 +28,6 @@ Chat forbidden
|
||||
$chatForbidden = ['_' => 'chatForbidden', 'id' => int, 'title' => 'string'];
|
||||
```
|
||||
|
||||
[PWRTelegram](https://pwrtelegram.xyz) json-encoded version:
|
||||
|
||||
```
|
||||
{"_": "chatForbidden", "id": int, "title": "string"}
|
||||
```
|
||||
|
||||
|
||||
Or, if you're into Lua:
|
||||
|
||||
|
@ -35,12 +35,6 @@ Chat full
|
||||
$chatFull = ['_' => 'chatFull', 'can_set_username' => Bool, 'id' => int, 'about' => 'string', 'participants' => ChatParticipants, 'chat_photo' => Photo, 'notify_settings' => PeerNotifySettings, 'exported_invite' => ExportedChatInvite, 'bot_info' => [BotInfo, BotInfo], 'pinned_msg_id' => int];
|
||||
```
|
||||
|
||||
[PWRTelegram](https://pwrtelegram.xyz) json-encoded version:
|
||||
|
||||
```
|
||||
{"_": "chatFull", "can_set_username": Bool, "id": int, "about": "string", "participants": ChatParticipants, "chat_photo": Photo, "notify_settings": PeerNotifySettings, "exported_invite": ExportedChatInvite, "bot_info": [BotInfo], "pinned_msg_id": int}
|
||||
```
|
||||
|
||||
|
||||
Or, if you're into Lua:
|
||||
|
||||
|
@ -34,12 +34,6 @@ Chat invite
|
||||
$chatInvite = ['_' => 'chatInvite', 'channel' => Bool, 'broadcast' => Bool, 'public' => Bool, 'megagroup' => Bool, 'title' => 'string', 'photo' => ChatPhoto, 'participants_count' => int, 'participants' => [User, 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]}
|
||||
```
|
||||
|
||||
|
||||
Or, if you're into Lua:
|
||||
|
||||
|
@ -27,12 +27,6 @@ Invite of a chat of which I am already member
|
||||
$chatInviteAlready = ['_' => 'chatInviteAlready', 'chat' => Chat];
|
||||
```
|
||||
|
||||
[PWRTelegram](https://pwrtelegram.xyz) json-encoded version:
|
||||
|
||||
```
|
||||
{"_": "chatInviteAlready", "chat": Chat}
|
||||
```
|
||||
|
||||
|
||||
Or, if you're into Lua:
|
||||
|
||||
|
@ -22,12 +22,6 @@ Empty chat invite
|
||||
$chatInviteEmpty = ['_' => 'chatInviteEmpty'];
|
||||
```
|
||||
|
||||
[PWRTelegram](https://pwrtelegram.xyz) json-encoded version:
|
||||
|
||||
```
|
||||
{"_": "chatInviteEmpty"}
|
||||
```
|
||||
|
||||
|
||||
Or, if you're into Lua:
|
||||
|
||||
|
@ -27,12 +27,6 @@ Exported chat invite
|
||||
$chatInviteExported = ['_' => 'chatInviteExported', 'link' => 'string'];
|
||||
```
|
||||
|
||||
[PWRTelegram](https://pwrtelegram.xyz) json-encoded version:
|
||||
|
||||
```
|
||||
{"_": "chatInviteExported", "link": "string"}
|
||||
```
|
||||
|
||||
|
||||
Or, if you're into Lua:
|
||||
|
||||
|
@ -27,12 +27,6 @@ Chat onlines
|
||||
$chatOnlines = ['_' => 'chatOnlines', 'onlines' => int];
|
||||
```
|
||||
|
||||
[PWRTelegram](https://pwrtelegram.xyz) json-encoded version:
|
||||
|
||||
```
|
||||
{"_": "chatOnlines", "onlines": int}
|
||||
```
|
||||
|
||||
|
||||
Or, if you're into Lua:
|
||||
|
||||
|
@ -29,12 +29,6 @@ Chat participant
|
||||
$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}
|
||||
```
|
||||
|
||||
|
||||
Or, if you're into Lua:
|
||||
|
||||
|
@ -29,12 +29,6 @@ Chat participant admin
|
||||
$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}
|
||||
```
|
||||
|
||||
|
||||
Or, if you're into Lua:
|
||||
|
||||
|
@ -27,12 +27,6 @@ Chat participant creator
|
||||
$chatParticipantCreator = ['_' => 'chatParticipantCreator', 'user_id' => int];
|
||||
```
|
||||
|
||||
[PWRTelegram](https://pwrtelegram.xyz) json-encoded version:
|
||||
|
||||
```
|
||||
{"_": "chatParticipantCreator", "user_id": int}
|
||||
```
|
||||
|
||||
|
||||
Or, if you're into Lua:
|
||||
|
||||
|
@ -29,12 +29,6 @@ Chat participants
|
||||
$chatParticipants = ['_' => 'chatParticipants', 'chat_id' => int, 'participants' => [ChatParticipant, ChatParticipant], 'version' => int];
|
||||
```
|
||||
|
||||
[PWRTelegram](https://pwrtelegram.xyz) json-encoded version:
|
||||
|
||||
```
|
||||
{"_": "chatParticipants", "chat_id": int, "participants": [ChatParticipant], "version": int}
|
||||
```
|
||||
|
||||
|
||||
Or, if you're into Lua:
|
||||
|
||||
|
@ -28,12 +28,6 @@ Chat participants forbidden
|
||||
$chatParticipantsForbidden = ['_' => 'chatParticipantsForbidden', 'chat_id' => int, 'self_participant' => ChatParticipant];
|
||||
```
|
||||
|
||||
[PWRTelegram](https://pwrtelegram.xyz) json-encoded version:
|
||||
|
||||
```
|
||||
{"_": "chatParticipantsForbidden", "chat_id": int, "self_participant": ChatParticipant}
|
||||
```
|
||||
|
||||
|
||||
Or, if you're into Lua:
|
||||
|
||||
|
@ -28,12 +28,6 @@ Chat photo
|
||||
$chatPhoto = ['_' => 'chatPhoto', 'photo_small' => FileLocation, 'photo_big' => FileLocation];
|
||||
```
|
||||
|
||||
[PWRTelegram](https://pwrtelegram.xyz) json-encoded version:
|
||||
|
||||
```
|
||||
{"_": "chatPhoto", "photo_small": FileLocation, "photo_big": FileLocation}
|
||||
```
|
||||
|
||||
|
||||
Or, if you're into Lua:
|
||||
|
||||
|
@ -22,12 +22,6 @@ Empty chat photo
|
||||
$chatPhotoEmpty = ['_' => 'chatPhotoEmpty'];
|
||||
```
|
||||
|
||||
[PWRTelegram](https://pwrtelegram.xyz) json-encoded version:
|
||||
|
||||
```
|
||||
{"_": "chatPhotoEmpty"}
|
||||
```
|
||||
|
||||
|
||||
Or, if you're into Lua:
|
||||
|
||||
|
@ -30,12 +30,6 @@ Code settings
|
||||
$codeSettings = ['_' => 'codeSettings', 'allow_flashcall' => Bool, 'current_number' => Bool, 'app_hash_persistent' => Bool, 'app_hash' => 'string'];
|
||||
```
|
||||
|
||||
[PWRTelegram](https://pwrtelegram.xyz) json-encoded version:
|
||||
|
||||
```
|
||||
{"_": "codeSettings", "allow_flashcall": Bool, "current_number": Bool, "app_hash_persistent": Bool, "app_hash": "string"}
|
||||
```
|
||||
|
||||
|
||||
Or, if you're into Lua:
|
||||
|
||||
|
@ -76,12 +76,6 @@ Config
|
||||
$config = ['_' => 'config', 'phonecalls_enabled' => Bool, 'default_p2p_contacts' => Bool, 'preload_featured_stickers' => Bool, 'ignore_phone_entities' => Bool, 'revoke_pm_inbox' => Bool, 'blocked_mode' => Bool, 'pfs_enabled' => Bool, 'date' => int, 'expires' => int, 'test_mode' => Bool, 'this_dc' => int, 'dc_options' => [DcOption, DcOption], 'dc_txt_domain_name' => 'string', 'chat_size_max' => int, 'megagroup_size_max' => int, 'forwarded_count_max' => int, 'online_update_period_ms' => int, 'offline_blur_timeout_ms' => int, 'offline_idle_timeout_ms' => int, 'online_cloud_timeout_ms' => int, 'notify_cloud_delay_ms' => int, 'notify_default_delay_ms' => int, 'push_chat_period_ms' => int, 'push_chat_limit' => int, 'saved_gifs_limit' => int, 'edit_time_limit' => int, 'revoke_time_limit' => int, 'revoke_pm_time_limit' => int, 'rating_e_decay' => int, 'stickers_recent_limit' => int, 'stickers_faved_limit' => int, 'channels_read_media_period' => int, 'tmp_sessions' => int, 'pinned_dialogs_count_max' => int, 'call_receive_timeout_ms' => int, 'call_ring_timeout_ms' => int, 'call_connect_timeout_ms' => int, 'call_packet_timeout_ms' => int, 'me_url_prefix' => 'string', 'autoupdate_url_prefix' => 'string', 'gif_search_username' => 'string', 'venue_search_username' => 'string', 'img_search_username' => 'string', 'static_maps_provider' => 'string', 'caption_length_max' => int, 'message_length_max' => int, 'webfile_dc_id' => int, 'suggested_lang_code' => 'string', 'lang_pack_version' => int, 'base_lang_pack_version' => int];
|
||||
```
|
||||
|
||||
[PWRTelegram](https://pwrtelegram.xyz) json-encoded version:
|
||||
|
||||
```
|
||||
{"_": "config", "phonecalls_enabled": Bool, "default_p2p_contacts": Bool, "preload_featured_stickers": Bool, "ignore_phone_entities": Bool, "revoke_pm_inbox": Bool, "blocked_mode": Bool, "pfs_enabled": Bool, "date": int, "expires": int, "test_mode": Bool, "this_dc": int, "dc_options": [DcOption], "dc_txt_domain_name": "string", "chat_size_max": int, "megagroup_size_max": int, "forwarded_count_max": int, "online_update_period_ms": int, "offline_blur_timeout_ms": int, "offline_idle_timeout_ms": int, "online_cloud_timeout_ms": int, "notify_cloud_delay_ms": int, "notify_default_delay_ms": int, "push_chat_period_ms": int, "push_chat_limit": int, "saved_gifs_limit": int, "edit_time_limit": int, "revoke_time_limit": int, "revoke_pm_time_limit": int, "rating_e_decay": int, "stickers_recent_limit": int, "stickers_faved_limit": int, "channels_read_media_period": int, "tmp_sessions": int, "pinned_dialogs_count_max": int, "call_receive_timeout_ms": int, "call_ring_timeout_ms": int, "call_connect_timeout_ms": int, "call_packet_timeout_ms": int, "me_url_prefix": "string", "autoupdate_url_prefix": "string", "gif_search_username": "string", "venue_search_username": "string", "img_search_username": "string", "static_maps_provider": "string", "caption_length_max": int, "message_length_max": int, "webfile_dc_id": int, "suggested_lang_code": "string", "lang_pack_version": int, "base_lang_pack_version": int}
|
||||
```
|
||||
|
||||
|
||||
Or, if you're into Lua:
|
||||
|
||||
|
@ -28,12 +28,6 @@ Contact
|
||||
$contact = ['_' => 'contact', 'user_id' => int, 'mutual' => Bool];
|
||||
```
|
||||
|
||||
[PWRTelegram](https://pwrtelegram.xyz) json-encoded version:
|
||||
|
||||
```
|
||||
{"_": "contact", "user_id": int, "mutual": Bool}
|
||||
```
|
||||
|
||||
|
||||
Or, if you're into Lua:
|
||||
|
||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user