This commit is contained in:
Daniil Gentili 2017-08-20 19:09:52 +02:00
parent 68756d9f16
commit 865a5841fd
2815 changed files with 5999 additions and 1 deletions

View File

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

View File

@ -59,6 +59,7 @@ username - Json encoded string
Or, if you're into Lua: Or, if you're into Lua:
``` ```

View File

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

View File

@ -59,6 +59,7 @@ reason - Json encoded string
Or, if you're into Lua: Or, if you're into Lua:
``` ```

View File

@ -59,6 +59,7 @@ peer - Json encoded InputNotifyPeer
Or, if you're into Lua: Or, if you're into Lua:
``` ```

View File

@ -59,6 +59,7 @@ current_password_hash - Json encoded bytes
Or, if you're into Lua: Or, if you're into Lua:
``` ```

View File

@ -59,6 +59,7 @@ key - Json encoded InputPrivacyKey
Or, if you're into Lua: Or, if you're into Lua:
``` ```

View File

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

View File

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

View File

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

View File

@ -59,6 +59,7 @@ hash - Json encoded long
Or, if you're into Lua: Or, if you're into Lua:
``` ```

View File

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

View File

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

View File

@ -59,6 +59,7 @@ ttl - Json encoded AccountDaysTTL
Or, if you're into Lua: Or, if you're into Lua:
``` ```

View File

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

View File

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

View File

@ -59,6 +59,7 @@ period - Json encoded int
Or, if you're into Lua: Or, if you're into Lua:
``` ```

View File

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

View File

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

View File

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

View File

@ -59,6 +59,7 @@ offline - Json encoded Bool
Or, if you're into Lua: Or, if you're into Lua:
``` ```

View File

@ -59,6 +59,7 @@ username - Json encoded string
Or, if you're into Lua: Or, if you're into Lua:
``` ```

View File

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

View File

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

View File

@ -59,6 +59,7 @@ password_hash - Json encoded bytes
Or, if you're into Lua: Or, if you're into Lua:
``` ```

View File

@ -59,6 +59,7 @@ phone_number - Json encoded string
Or, if you're into Lua: Or, if you're into Lua:
``` ```

View File

@ -59,6 +59,7 @@ except_auth_keys - Json encoded array of long
Or, if you're into Lua: Or, if you're into Lua:
``` ```

View File

@ -59,6 +59,7 @@ dc_id - Json encoded int
Or, if you're into Lua: Or, if you're into Lua:
``` ```

View File

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

View File

@ -59,6 +59,7 @@ code - Json encoded string
Or, if you're into Lua: Or, if you're into Lua:
``` ```

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@ -59,6 +59,7 @@ channel - Json encoded InputChannel
Or, if you're into Lua: Or, if you're into Lua:
``` ```

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@ -59,6 +59,7 @@ channel - Json encoded InputChannel
Or, if you're into Lua: Or, if you're into Lua:
``` ```

View File

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

View File

@ -62,15 +62,22 @@ POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/channels.getAdminLog`
Parameters: Parameters:
channel - Json encoded InputChannel channel - Json encoded InputChannel
q - Json encoded string q - Json encoded string
events_filter - Json encoded ChannelAdminLogEventsFilter events_filter - Json encoded ChannelAdminLogEventsFilter
admins - Json encoded array of InputUser admins - Json encoded array of InputUser
max_id - Json encoded long max_id - Json encoded long
min_id - Json encoded long min_id - Json encoded long
limit - Json encoded int limit - Json encoded int
Or, if you're into Lua: Or, if you're into Lua:
``` ```

View File

@ -59,6 +59,7 @@ id - Json encoded array of InputChannel
Or, if you're into Lua: Or, if you're into Lua:
``` ```

View File

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

View File

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

View File

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

View File

@ -59,6 +59,7 @@ channel - Json encoded InputChannel
Or, if you're into Lua: Or, if you're into Lua:
``` ```

View File

@ -59,6 +59,7 @@ channel - Json encoded InputChannel
Or, if you're into Lua: Or, if you're into Lua:
``` ```

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@ -59,6 +59,7 @@ id - Json encoded InputUser
Or, if you're into Lua: Or, if you're into Lua:
``` ```

View File

@ -59,6 +59,7 @@ id - Json encoded InputUser
Or, if you're into Lua: Or, if you're into Lua:
``` ```

View File

@ -59,6 +59,7 @@ id - Json encoded array of InputUser
Or, if you're into Lua: Or, if you're into Lua:
``` ```

View File

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

View File

@ -59,6 +59,7 @@ hash - Json encoded string
Or, if you're into Lua: Or, if you're into Lua:
``` ```

View File

@ -64,17 +64,26 @@ POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/contacts.getTopPeers`
Parameters: Parameters:
correspondents - Json encoded Bool correspondents - Json encoded Bool
bots_pm - Json encoded Bool bots_pm - Json encoded Bool
bots_inline - Json encoded Bool bots_inline - Json encoded Bool
phone_calls - Json encoded Bool phone_calls - Json encoded Bool
groups - Json encoded Bool groups - Json encoded Bool
channels - Json encoded Bool channels - Json encoded Bool
offset - Json encoded int offset - Json encoded int
limit - Json encoded int limit - Json encoded int
hash - Json encoded int hash - Json encoded int
Or, if you're into Lua: Or, if you're into Lua:
``` ```

View File

@ -59,6 +59,7 @@ export_card - Json encoded array of int
Or, if you're into Lua: Or, if you're into Lua:
``` ```

View File

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

View File

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

View File

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

View File

@ -59,6 +59,7 @@ id - Json encoded InputUser
Or, if you're into Lua: Or, if you're into Lua:
``` ```

View File

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

View File

@ -59,6 +59,7 @@ session_id - Json encoded long
Or, if you're into Lua: Or, if you're into Lua:
``` ```

View File

@ -59,6 +59,7 @@ num - Json encoded int
Or, if you're into Lua: Or, if you're into Lua:
``` ```

View File

@ -59,6 +59,7 @@ prev_app_version - Json encoded string
Or, if you're into Lua: Or, if you're into Lua:
``` ```

View File

@ -59,6 +59,7 @@ events - Json encoded array of InputAppEvent
Or, if you're into Lua: Or, if you're into Lua:
``` ```

View File

@ -57,10 +57,12 @@ POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/help.setBotUpdatesStatus`
Parameters: Parameters:
pending_updates_count - Json encoded int pending_updates_count - Json encoded int
message - Json encoded string message - Json encoded string
Or, if you're into Lua: Or, if you're into Lua:
``` ```

View File

@ -63,16 +63,24 @@ POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/initConnection`
Parameters: Parameters:
api_id - Json encoded int api_id - Json encoded int
device_model - Json encoded string device_model - Json encoded string
system_version - Json encoded string system_version - Json encoded string
app_version - Json encoded string app_version - Json encoded string
system_lang_code - Json encoded string system_lang_code - Json encoded string
lang_pack - Json encoded string lang_pack - Json encoded string
lang_code - Json encoded string lang_code - Json encoded string
query - Json encoded !X query - Json encoded !X
Or, if you're into Lua: Or, if you're into Lua:
``` ```

View File

@ -57,10 +57,12 @@ POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/invokeAfterMsg`
Parameters: Parameters:
msg_id - Json encoded long msg_id - Json encoded long
query - Json encoded !X query - Json encoded !X
Or, if you're into Lua: Or, if you're into Lua:
``` ```

View File

@ -57,10 +57,12 @@ POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/invokeAfterMsgs`
Parameters: Parameters:
msg_ids - Json encoded array of long msg_ids - Json encoded array of long
query - Json encoded !X query - Json encoded !X
Or, if you're into Lua: Or, if you're into Lua:
``` ```

View File

@ -57,10 +57,12 @@ POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/invokeWithLayer`
Parameters: Parameters:
layer - Json encoded int layer - Json encoded int
query - Json encoded !X query - Json encoded !X
Or, if you're into Lua: Or, if you're into Lua:
``` ```

View File

@ -59,6 +59,7 @@ query - Json encoded !X
Or, if you're into Lua: Or, if you're into Lua:
``` ```

View File

@ -59,6 +59,7 @@ from_version - Json encoded int
Or, if you're into Lua: Or, if you're into Lua:
``` ```

View File

@ -59,6 +59,7 @@ lang_code - Json encoded string
Or, if you're into Lua: Or, if you're into Lua:
``` ```

View File

@ -57,10 +57,12 @@ POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/langpack.getStrings`
Parameters: Parameters:
lang_code - Json encoded string lang_code - Json encoded string
keys - Json encoded array of string keys - Json encoded array of string
Or, if you're into Lua: Or, if you're into Lua:
``` ```

View File

@ -58,11 +58,14 @@ POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.addChatUser`
Parameters: Parameters:
chat_id - Json encoded InputPeer chat_id - Json encoded InputPeer
user_id - Json encoded InputUser user_id - Json encoded InputUser
fwd_limit - Json encoded int fwd_limit - Json encoded int
Or, if you're into Lua: Or, if you're into Lua:
``` ```

View File

@ -59,6 +59,7 @@ hash - Json encoded string
Or, if you're into Lua: Or, if you're into Lua:
``` ```

View File

@ -59,6 +59,7 @@ attached - Json encoded Bool
Or, if you're into Lua: Or, if you're into Lua:
``` ```

View File

@ -57,10 +57,12 @@ POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.createChat`
Parameters: Parameters:
users - Json encoded array of InputUser users - Json encoded array of InputUser
title - Json encoded string title - Json encoded string
Or, if you're into Lua: Or, if you're into Lua:
``` ```

View File

@ -57,10 +57,12 @@ POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.deleteChatUser`
Parameters: Parameters:
chat_id - Json encoded InputPeer chat_id - Json encoded InputPeer
user_id - Json encoded InputUser user_id - Json encoded InputUser
Or, if you're into Lua: Or, if you're into Lua:
``` ```

View File

@ -58,11 +58,14 @@ POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.deleteHistory`
Parameters: Parameters:
just_clear - Json encoded Bool just_clear - Json encoded Bool
peer - Json encoded InputPeer peer - Json encoded InputPeer
max_id - Json encoded int max_id - Json encoded int
Or, if you're into Lua: Or, if you're into Lua:
``` ```

View File

@ -57,10 +57,12 @@ POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.deleteMessages`
Parameters: Parameters:
revoke - Json encoded Bool revoke - Json encoded Bool
id - Json encoded array of int id - Json encoded array of int
Or, if you're into Lua: Or, if you're into Lua:
``` ```

View File

@ -58,11 +58,14 @@ POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.editChatAdmin`
Parameters: Parameters:
chat_id - Json encoded InputPeer chat_id - Json encoded InputPeer
user_id - Json encoded InputUser user_id - Json encoded InputUser
is_admin - Json encoded Bool is_admin - Json encoded Bool
Or, if you're into Lua: Or, if you're into Lua:
``` ```

View File

@ -57,10 +57,12 @@ POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.editChatPhoto`
Parameters: Parameters:
chat_id - Json encoded InputPeer chat_id - Json encoded InputPeer
photo - Json encoded InputChatPhoto photo - Json encoded InputChatPhoto
Or, if you're into Lua: Or, if you're into Lua:
``` ```

View File

@ -57,10 +57,12 @@ POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.editChatTitle`
Parameters: Parameters:
chat_id - Json encoded InputPeer chat_id - Json encoded InputPeer
title - Json encoded string title - Json encoded string
Or, if you're into Lua: Or, if you're into Lua:
``` ```

View File

@ -59,6 +59,7 @@ chat_id - Json encoded InputPeer
Or, if you're into Lua: Or, if you're into Lua:
``` ```

View File

@ -57,10 +57,12 @@ POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.forwardMessage`
Parameters: Parameters:
peer - Json encoded InputPeer peer - Json encoded InputPeer
id - Json encoded int id - Json encoded int
Or, if you're into Lua: Or, if you're into Lua:
``` ```

View File

@ -61,14 +61,20 @@ POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.forwardMessages`
Parameters: Parameters:
silent - Json encoded Bool silent - Json encoded Bool
background - Json encoded Bool background - Json encoded Bool
with_my_score - Json encoded Bool with_my_score - Json encoded Bool
from_peer - Json encoded InputPeer from_peer - Json encoded InputPeer
id - Json encoded array of int id - Json encoded array of int
to_peer - Json encoded InputPeer to_peer - Json encoded InputPeer
Or, if you're into Lua: Or, if you're into Lua:
``` ```

View File

@ -59,6 +59,7 @@ except_ids - Json encoded array of int
Or, if you're into Lua: Or, if you're into Lua:
``` ```

View File

@ -59,6 +59,7 @@ hash - Json encoded int
Or, if you're into Lua: Or, if you're into Lua:
``` ```

View File

@ -58,11 +58,14 @@ POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.getArchivedStickers`
Parameters: Parameters:
masks - Json encoded Bool masks - Json encoded Bool
offset_id - Json encoded long offset_id - Json encoded long
limit - Json encoded int limit - Json encoded int
Or, if you're into Lua: Or, if you're into Lua:
``` ```

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