This commit is contained in:
Daniil Gentili 2017-07-23 16:35:53 +02:00
parent 0b92c9bc9a
commit a90d7a9ae4
3354 changed files with 3354 additions and 3354 deletions

View File

@ -57,11 +57,11 @@ POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/account.changePhone`
Parameters:
```
phone_number - Json encoded string
phone_code_hash - Json encoded string
phone_code - Json encoded string
```
Or, if you're into Lua:

View File

@ -55,9 +55,9 @@ POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/account.checkUsername`
Parameters:
```
username - Json encoded string
```
Or, if you're into Lua:

View File

@ -56,10 +56,10 @@ POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/account.confirmPhone`
Parameters:
```
phone_code_hash - Json encoded string
phone_code - Json encoded string
```
Or, if you're into Lua:

View File

@ -55,9 +55,9 @@ POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/account.deleteAccount`
Parameters:
```
reason - Json encoded string
```
Or, if you're into Lua:

View File

@ -50,7 +50,7 @@ POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/account.getAccountTTL`
Parameters:
```
```

View File

@ -50,7 +50,7 @@ POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/account.getAuthorizations`
Parameters:
```
```

View File

@ -55,9 +55,9 @@ POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/account.getNotifySettings`
Parameters:
```
peer - Json encoded InputNotifyPeer
```
Or, if you're into Lua:

View File

@ -50,7 +50,7 @@ POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/account.getPassword`
Parameters:
```
```

View File

@ -55,9 +55,9 @@ POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/account.getPasswordSettings`
Parameters:
```
current_password_hash - Json encoded bytes
```
Or, if you're into Lua:

View File

@ -55,9 +55,9 @@ POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/account.getPrivacy`
Parameters:
```
key - Json encoded InputPrivacyKey
```
Or, if you're into Lua:

View File

@ -56,10 +56,10 @@ POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/account.getTmpPassword`
Parameters:
```
password_hash - Json encoded bytes
period - Json encoded int
```
Or, if you're into Lua:

View File

@ -50,7 +50,7 @@ POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/account.getWallPapers`
Parameters:
```
```

View File

@ -56,10 +56,10 @@ POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/account.registerDevice`
Parameters:
```
token_type - Json encoded int
token - Json encoded string
```
Or, if you're into Lua:

View File

@ -56,10 +56,10 @@ POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/account.reportPeer`
Parameters:
```
peer - Json encoded InputPeer
reason - Json encoded ReportReason
```
Or, if you're into Lua:

View File

@ -55,9 +55,9 @@ POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/account.resetAuthorization`
Parameters:
```
hash - Json encoded long
```
Or, if you're into Lua:

View File

@ -50,7 +50,7 @@ POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/account.resetNotifySettings`
Parameters:
```
```

View File

@ -57,11 +57,11 @@ POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/account.sendChangePhoneCode`
Parameters:
```
allow_flashcall - Json encoded Bool
phone_number - Json encoded string
current_number - Json encoded Bool
```
Or, if you're into Lua:

View File

@ -57,11 +57,11 @@ POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/account.sendConfirmPhoneCode`
Parameters:
```
allow_flashcall - Json encoded Bool
hash - Json encoded string
current_number - Json encoded Bool
```
Or, if you're into Lua:

View File

@ -55,9 +55,9 @@ POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/account.setAccountTTL`
Parameters:
```
ttl - Json encoded AccountDaysTTL
```
Or, if you're into Lua:

View File

@ -56,10 +56,10 @@ POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/account.setPrivacy`
Parameters:
```
key - Json encoded InputPrivacyKey
rules - Json encoded array of InputPrivacyRule
```
Or, if you're into Lua:

View File

@ -56,10 +56,10 @@ POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/account.unregisterDevice`
Parameters:
```
token_type - Json encoded int
token - Json encoded string
```
Or, if you're into Lua:

View File

@ -55,9 +55,9 @@ POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/account.updateDeviceLocked`
Parameters:
```
period - Json encoded int
```
Or, if you're into Lua:

View File

@ -56,10 +56,10 @@ POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/account.updateNotifySettings`
Parameters:
```
peer - Json encoded InputNotifyPeer
settings - Json encoded InputPeerNotifySettings
```
Or, if you're into Lua:

View File

@ -56,10 +56,10 @@ POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/account.updatePasswordSetting
Parameters:
```
current_password_hash - Json encoded bytes
new_settings - Json encoded account_PasswordInputSettings
```
Or, if you're into Lua:

View File

@ -57,11 +57,11 @@ POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/account.updateProfile`
Parameters:
```
first_name - Json encoded string
last_name - Json encoded string
about - Json encoded string
```
Or, if you're into Lua:

View File

@ -55,9 +55,9 @@ POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/account.updateStatus`
Parameters:
```
offline - Json encoded Bool
```
Or, if you're into Lua:

View File

@ -55,9 +55,9 @@ POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/account.updateUsername`
Parameters:
```
username - Json encoded string
```
Or, if you're into Lua:

View File

@ -58,12 +58,12 @@ POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/auth.bindTempAuthKey`
Parameters:
```
perm_auth_key_id - Json encoded long
nonce - Json encoded long
expires_at - Json encoded int
encrypted_message - Json encoded bytes
```
Or, if you're into Lua:

View File

@ -56,10 +56,10 @@ POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/auth.cancelCode`
Parameters:
```
phone_number - Json encoded string
phone_code_hash - Json encoded string
```
Or, if you're into Lua:

View File

@ -55,9 +55,9 @@ POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/auth.checkPassword`
Parameters:
```
password_hash - Json encoded bytes
```
Or, if you're into Lua:

View File

@ -55,9 +55,9 @@ POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/auth.checkPhone`
Parameters:
```
phone_number - Json encoded string
```
Or, if you're into Lua:

View File

@ -55,9 +55,9 @@ POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/auth.dropTempAuthKeys`
Parameters:
```
except_auth_keys - Json encoded array of long
```
Or, if you're into Lua:

View File

@ -55,9 +55,9 @@ POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/auth.exportAuthorization`
Parameters:
```
dc_id - Json encoded int
```
Or, if you're into Lua:

View File

@ -56,10 +56,10 @@ POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/auth.importAuthorization`
Parameters:
```
id - Json encoded int
bytes - Json encoded bytes
```
Or, if you're into Lua:

View File

@ -57,11 +57,11 @@ POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/auth.importBotAuthorization`
Parameters:
```
api_id - Json encoded int
api_hash - Json encoded string
bot_auth_token - Json encoded string
```
Or, if you're into Lua:

View File

@ -50,7 +50,7 @@ POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/auth.logOut`
Parameters:
```
```

View File

@ -55,9 +55,9 @@ POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/auth.recoverPassword`
Parameters:
```
code - Json encoded string
```
Or, if you're into Lua:

View File

@ -50,7 +50,7 @@ POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/auth.requestPasswordRecovery`
Parameters:
```
```

View File

@ -56,10 +56,10 @@ POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/auth.resendCode`
Parameters:
```
phone_number - Json encoded string
phone_code_hash - Json encoded string
```
Or, if you're into Lua:

View File

@ -50,7 +50,7 @@ POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/auth.resetAuthorizations`
Parameters:
```
```

View File

@ -59,13 +59,13 @@ POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/auth.sendCode`
Parameters:
```
allow_flashcall - Json encoded Bool
phone_number - Json encoded string
current_number - Json encoded Bool
api_id - Json encoded int
api_hash - Json encoded string
```
Or, if you're into Lua:

View File

@ -56,10 +56,10 @@ POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/auth.sendInvites`
Parameters:
```
phone_numbers - Json encoded array of string
message - Json encoded string
```
Or, if you're into Lua:

View File

@ -57,11 +57,11 @@ POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/auth.signIn`
Parameters:
```
phone_number - Json encoded string
phone_code_hash - Json encoded string
phone_code - Json encoded string
```
Or, if you're into Lua:

View File

@ -59,13 +59,13 @@ POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/auth.signUp`
Parameters:
```
phone_number - Json encoded string
phone_code_hash - Json encoded string
phone_code - Json encoded string
first_name - Json encoded string
last_name - Json encoded string
```
Or, if you're into Lua:

View File

@ -56,10 +56,10 @@ POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/bots.answerWebhookJSONQuery`
Parameters:
```
query_id - Json encoded long
data - Json encoded DataJSON
```
Or, if you're into Lua:

View File

@ -56,10 +56,10 @@ POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/bots.sendCustomRequest`
Parameters:
```
custom_method - Json encoded string
params - Json encoded DataJSON
```
Or, if you're into Lua:

View File

@ -56,10 +56,10 @@ POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/channels.checkUsername`
Parameters:
```
channel - Json encoded InputChannel
username - Json encoded string
```
Or, if you're into Lua:

View File

@ -58,12 +58,12 @@ POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/channels.createChannel`
Parameters:
```
broadcast - Json encoded Bool
megagroup - Json encoded Bool
title - Json encoded string
about - Json encoded string
```
Or, if you're into Lua:

View File

@ -55,9 +55,9 @@ POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/channels.deleteChannel`
Parameters:
```
channel - Json encoded InputChannel
```
Or, if you're into Lua:

View File

@ -56,10 +56,10 @@ POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/channels.deleteMessages`
Parameters:
```
channel - Json encoded InputChannel
id - Json encoded array of int
```
Or, if you're into Lua:

View File

@ -56,10 +56,10 @@ POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/channels.deleteUserHistory`
Parameters:
```
channel - Json encoded InputChannel
user_id - Json encoded InputUser
```
Or, if you're into Lua:

View File

@ -56,10 +56,10 @@ POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/channels.editAbout`
Parameters:
```
channel - Json encoded InputChannel
about - Json encoded string
```
Or, if you're into Lua:

View File

@ -57,11 +57,11 @@ POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/channels.editAdmin`
Parameters:
```
channel - Json encoded InputChannel
user_id - Json encoded InputUser
admin_rights - Json encoded ChannelAdminRights
```
Or, if you're into Lua:

View File

@ -57,11 +57,11 @@ POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/channels.editBanned`
Parameters:
```
channel - Json encoded InputChannel
user_id - Json encoded InputUser
banned_rights - Json encoded ChannelBannedRights
```
Or, if you're into Lua:

View File

@ -56,10 +56,10 @@ POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/channels.editPhoto`
Parameters:
```
channel - Json encoded InputChannel
photo - Json encoded InputChatPhoto
```
Or, if you're into Lua:

View File

@ -56,10 +56,10 @@ POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/channels.editTitle`
Parameters:
```
channel - Json encoded InputChannel
title - Json encoded string
```
Or, if you're into Lua:

View File

@ -55,9 +55,9 @@ POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/channels.exportInvite`
Parameters:
```
channel - Json encoded InputChannel
```
Or, if you're into Lua:

View File

@ -56,10 +56,10 @@ POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/channels.exportMessageLink`
Parameters:
```
channel - Json encoded InputChannel
id - Json encoded int
```
Or, if you're into Lua:

View File

@ -61,6 +61,7 @@ POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/channels.getAdminLog`
Parameters:
```
channel - Json encoded InputChannel
q - Json encoded string
events_filter - Json encoded ChannelAdminLogEventsFilter
@ -69,7 +70,6 @@ max_id - Json encoded long
min_id - Json encoded long
limit - Json encoded int
```
Or, if you're into Lua:

View File

@ -50,7 +50,7 @@ POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/channels.getAdminedPublicChan
Parameters:
```
```

View File

@ -55,9 +55,9 @@ POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/channels.getChannels`
Parameters:
```
id - Json encoded array of InputChannel
```
Or, if you're into Lua:

View File

@ -55,9 +55,9 @@ POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/channels.getFullChannel`
Parameters:
```
channel - Json encoded InputChannel
```
Or, if you're into Lua:

View File

@ -56,10 +56,10 @@ POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/channels.getMessages`
Parameters:
```
channel - Json encoded InputChannel
id - Json encoded array of int
```
Or, if you're into Lua:

View File

@ -56,10 +56,10 @@ POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/channels.getParticipant`
Parameters:
```
channel - Json encoded InputChannel
user_id - Json encoded InputUser
```
Or, if you're into Lua:

View File

@ -58,12 +58,12 @@ POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/channels.getParticipants`
Parameters:
```
channel - Json encoded InputChannel
filter - Json encoded ChannelParticipantsFilter
offset - Json encoded int
limit - Json encoded int
```
Or, if you're into Lua:

View File

@ -56,10 +56,10 @@ POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/channels.inviteToChannel`
Parameters:
```
channel - Json encoded InputChannel
users - Json encoded array of InputUser
```
Or, if you're into Lua:

View File

@ -55,9 +55,9 @@ POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/channels.joinChannel`
Parameters:
```
channel - Json encoded InputChannel
```
Or, if you're into Lua:

View File

@ -55,9 +55,9 @@ POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/channels.leaveChannel`
Parameters:
```
channel - Json encoded InputChannel
```
Or, if you're into Lua:

View File

@ -56,10 +56,10 @@ POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/channels.readHistory`
Parameters:
```
channel - Json encoded InputChannel
max_id - Json encoded int
```
Or, if you're into Lua:

View File

@ -57,11 +57,11 @@ POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/channels.reportSpam`
Parameters:
```
channel - Json encoded InputChannel
user_id - Json encoded InputUser
id - Json encoded array of int
```
Or, if you're into Lua:

View File

@ -56,10 +56,10 @@ POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/channels.toggleInvites`
Parameters:
```
channel - Json encoded InputChannel
enabled - Json encoded Bool
```
Or, if you're into Lua:

View File

@ -56,10 +56,10 @@ POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/channels.toggleSignatures`
Parameters:
```
channel - Json encoded InputChannel
enabled - Json encoded Bool
```
Or, if you're into Lua:

View File

@ -57,11 +57,11 @@ POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/channels.updatePinnedMessage`
Parameters:
```
silent - Json encoded Bool
channel - Json encoded InputChannel
id - Json encoded int
```
Or, if you're into Lua:

View File

@ -56,10 +56,10 @@ POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/channels.updateUsername`
Parameters:
```
channel - Json encoded InputChannel
username - Json encoded string
```
Or, if you're into Lua:

View File

@ -55,9 +55,9 @@ POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/contacts.block`
Parameters:
```
id - Json encoded InputUser
```
Or, if you're into Lua:

View File

@ -55,9 +55,9 @@ POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/contacts.deleteContact`
Parameters:
```
id - Json encoded InputUser
```
Or, if you're into Lua:

View File

@ -55,9 +55,9 @@ POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/contacts.deleteContacts`
Parameters:
```
id - Json encoded array of InputUser
```
Or, if you're into Lua:

View File

@ -50,7 +50,7 @@ POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/contacts.exportCard`
Parameters:
```
```

View File

@ -56,10 +56,10 @@ POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/contacts.getBlocked`
Parameters:
```
offset - Json encoded int
limit - Json encoded int
```
Or, if you're into Lua:

View File

@ -55,9 +55,9 @@ POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/contacts.getContacts`
Parameters:
```
hash - Json encoded string
```
Or, if you're into Lua:

View File

@ -50,7 +50,7 @@ POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/contacts.getStatuses`
Parameters:
```
```

View File

@ -63,6 +63,7 @@ POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/contacts.getTopPeers`
Parameters:
```
correspondents - Json encoded Bool
bots_pm - Json encoded Bool
bots_inline - Json encoded Bool
@ -73,7 +74,6 @@ offset - Json encoded int
limit - Json encoded int
hash - Json encoded int
```
Or, if you're into Lua:

View File

@ -55,9 +55,9 @@ POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/contacts.importCard`
Parameters:
```
export_card - Json encoded array of int
```
Or, if you're into Lua:

View File

@ -56,10 +56,10 @@ POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/contacts.importContacts`
Parameters:
```
contacts - Json encoded array of InputContact
replace - Json encoded Bool
```
Or, if you're into Lua:

View File

@ -56,10 +56,10 @@ POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/contacts.resetTopPeerRating`
Parameters:
```
category - Json encoded TopPeerCategory
peer - Json encoded InputPeer
```
Or, if you're into Lua:

View File

@ -55,9 +55,9 @@ POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/contacts.resolveUsername`
Parameters:
```
username - Json encoded string
```
Or, if you're into Lua:

View File

@ -56,10 +56,10 @@ POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/contacts.search`
Parameters:
```
q - Json encoded string
limit - Json encoded int
```
Or, if you're into Lua:

View File

@ -55,9 +55,9 @@ POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/contacts.unblock`
Parameters:
```
id - Json encoded InputUser
```
Or, if you're into Lua:

View File

@ -59,13 +59,13 @@ POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/contest.saveDeveloperInfo`
Parameters:
```
vk_id - Json encoded int
name - Json encoded string
phone_number - Json encoded string
age - Json encoded int
city - Json encoded string
```
Or, if you're into Lua:

View File

@ -50,7 +50,7 @@ POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/destroy_auth_key`
Parameters:
```
```

View File

@ -55,9 +55,9 @@ POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/destroy_session`
Parameters:
```
session_id - Json encoded long
```
Or, if you're into Lua:

View File

@ -55,9 +55,9 @@ POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/get_future_salts`
Parameters:
```
num - Json encoded int
```
Or, if you're into Lua:

View File

@ -55,9 +55,9 @@ POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/help.getAppChangelog`
Parameters:
```
prev_app_version - Json encoded string
```
Or, if you're into Lua:

View File

@ -50,7 +50,7 @@ POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/help.getAppUpdate`
Parameters:
```
```

View File

@ -50,7 +50,7 @@ POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/help.getCdnConfig`
Parameters:
```
```

View File

@ -50,7 +50,7 @@ POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/help.getConfig`
Parameters:
```
```

View File

@ -50,7 +50,7 @@ POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/help.getInviteText`
Parameters:
```
```

View File

@ -50,7 +50,7 @@ POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/help.getNearestDc`
Parameters:
```
```

View File

@ -50,7 +50,7 @@ POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/help.getSupport`
Parameters:
```
```

View File

@ -50,7 +50,7 @@ POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/help.getTermsOfService`
Parameters:
```
```

Some files were not shown because too many files have changed in this diff Show More