185 lines
8.4 KiB
JSON
185 lines
8.4 KiB
JSON
{
|
|
"What is this?": [
|
|
"It is guaranteed that user/chat/channel ids fit in int53,",
|
|
"as well as file size (up to 4 gigs),",
|
|
"so we can safely replace `long` with `int53` for simpler usage from within JS.",
|
|
"Note: this is a non-exhaustive list",
|
|
"When contributing, please maintain alphabetical key ordering"
|
|
],
|
|
"class": {
|
|
"attachMenuBot": ["bot_id"],
|
|
"autoDownloadSettings": ["video_size_max", "file_size_max"],
|
|
"botInfo": ["user_id"],
|
|
"boost": ["user_id"],
|
|
"botBusinessConnection": ["user_id"],
|
|
"businessRecipients": ["users"],
|
|
"businessBotRecipients": ["users", "exclude_users"],
|
|
"contactBirthday": ["contact_id"],
|
|
"channel": ["id"],
|
|
"channelAdminLogEvent": ["user_id"],
|
|
"channelAdminLogEventActionChangeLinkedChat": ["prev_value", "new_value"],
|
|
"channelAdminLogEventActionParticipantJoinByRequest": ["approved_by"],
|
|
"channelForbidden": ["id"],
|
|
"channelFull": ["id", "linked_chat_id"],
|
|
"channelParticipant": ["user_id"],
|
|
"channelParticipantAdmin": ["user_id", "inviter_id", "promoted_by"],
|
|
"channelParticipantBanned": ["kicked_by"],
|
|
"channelParticipantCreator": ["user_id"],
|
|
"channelParticipantSelf": ["user_id", "inviter_id"],
|
|
"chat": ["id"],
|
|
"chatAdminWithInvites": ["admin_id"],
|
|
"chatEmpty": ["id"],
|
|
"chatForbidden": ["id"],
|
|
"chatFull": ["id"],
|
|
"chatInviteExported": ["admin_id"],
|
|
"chatInviteImporter": ["user_id", "approved_by"],
|
|
"chatParticipant": ["user_id", "inviter_id"],
|
|
"chatParticipantAdmin": ["user_id", "inviter_id"],
|
|
"chatParticipantCreator": ["user_id"],
|
|
"chatParticipants": ["chat_id"],
|
|
"chatParticipantsForbidden": ["chat_id"],
|
|
"connectedBot": ["bot_id"],
|
|
"contact": ["user_id"],
|
|
"contactStatus": ["user_id"],
|
|
"document": ["size"],
|
|
"encryptedChat": ["admin_id", "participant_id"],
|
|
"encryptedChatRequested": ["admin_id", "participant_id"],
|
|
"encryptedChatWaiting": ["admin_id", "participant_id"],
|
|
"encryptedFile": ["size"],
|
|
"fileHash": ["offset"],
|
|
"highScore": ["user_id"],
|
|
"importedContact": ["user_id"],
|
|
"inputChannel": ["channel_id"],
|
|
"inputChannelFromMessage": ["channel_id"],
|
|
"inputPeerChannel": ["channel_id"],
|
|
"inputPeerChannelFromMessage": ["channel_id"],
|
|
"inputPeerChat": ["chat_id"],
|
|
"inputPeerUser": ["user_id"],
|
|
"inputPeerUserFromMessage": ["user_id"],
|
|
"inputPrivacyValueAllowChatParticipants": ["chats"],
|
|
"inputPrivacyValueDisallowChatParticipants": ["chats"],
|
|
"inputUser": ["user_id"],
|
|
"inputUserFromMessage": ["user_id"],
|
|
"keyboardButtonUserProfile": ["user_id"],
|
|
"mediaAreaChannelPost": ["channel_id"],
|
|
"message": ["via_bot_id", "via_business_bot_id"],
|
|
"messageActionChannelMigrateFrom": ["chat_id"],
|
|
"messageActionChatAddUser": ["users"],
|
|
"messageActionChatCreate": ["users"],
|
|
"messageActionChatDeleteUser": ["user_id"],
|
|
"messageActionChatJoinedByLink": ["inviter_id"],
|
|
"messageActionChatMigrateTo": ["channel_id"],
|
|
"messageActionInviteToGroupCall": ["users"],
|
|
"messageEntityMentionName": ["user_id"],
|
|
"messageMediaContact": ["user_id"],
|
|
"messageMediaGiveaway": ["channels"],
|
|
"messageReplies": ["channel_id"],
|
|
"messageUserVote": ["user_id"],
|
|
"messageUserVoteInputOption": ["user_id"],
|
|
"messageUserVoteMultiple": ["user_id"],
|
|
"missingInvitee": ["user_id"],
|
|
"payments.paymentForm": ["bot_id"],
|
|
"payments.paymentReceipt": ["bot_id"],
|
|
"peerChannel": ["channel_id"],
|
|
"peerChat": ["chat_id"],
|
|
"peerSettings": ["business_bot_id"],
|
|
"peerUser": ["user_id"],
|
|
"phoneCall": ["admin_id", "participant_id"],
|
|
"phoneCallAccepted": ["admin_id", "participant_id"],
|
|
"phoneCallRequested": ["admin_id", "participant_id"],
|
|
"phoneCallWaiting": ["admin_id", "participant_id"],
|
|
"privacyValueAllowChatParticipants": ["chats"],
|
|
"privacyValueAllowUsers": ["users"],
|
|
"privacyValueDisallowChatParticipants": ["chats"],
|
|
"privacyValueDisallowUsers": ["users"],
|
|
"readParticipantDate": ["user_id"],
|
|
"recentMeUrlChat": ["chat_id"],
|
|
"recentMeUrlUser": ["user_id"],
|
|
"requestedPeerChannel": ["chat_id"],
|
|
"requestedPeerChat": ["chat_id"],
|
|
"requestedPeerUser": ["user_id"],
|
|
"secureFile": ["size"],
|
|
"statsGroupTopAdmin": ["user_id"],
|
|
"statsGroupTopInviter": ["user_id"],
|
|
"statsGroupTopPoster": ["user_id"],
|
|
"storyView": ["user_id"],
|
|
"storyViews": ["recent_viewers"],
|
|
"updateBotCallbackQuery": ["user_id"],
|
|
"updateBotCommands": ["bot_id"],
|
|
"updateBotInlineQuery": ["user_id"],
|
|
"updateBotInlineSend": ["user_id"],
|
|
"updateBotMenuButton": ["bot_id"],
|
|
"updateBotPrecheckoutQuery": ["user_id"],
|
|
"updateBotShippingQuery": ["user_id"],
|
|
"updateBotStopped": ["user_id"],
|
|
"updateBotChatInviteRequester": ["user_id"],
|
|
"updatePendingJoinRequests": ["recent_requesters"],
|
|
"updateChannel": ["channel_id"],
|
|
"updateChannelAvailableMessages": ["channel_id"],
|
|
"updateChannelMessageForwards": ["channel_id"],
|
|
"updateChannelMessageViews": ["channel_id"],
|
|
"updateChannelParticipant": ["channel_id", "actor_id", "user_id"],
|
|
"updateChannelPinnedTopic": ["channel_id"],
|
|
"updateChannelPinnedTopics": ["channel_id"],
|
|
"updateChannelReadMessagesContents": ["channel_id"],
|
|
"updateChannelTooLong": ["channel_id"],
|
|
"updateChannelUserTyping": ["channel_id"],
|
|
"updateChannelViewForumAsMessages": ["channel_id"],
|
|
"updateChannelWebPage": ["channel_id"],
|
|
"updateChat": ["chat_id"],
|
|
"updateChatParticipant": ["chat_id", "actor_id", "user_id"],
|
|
"updateChatParticipantAdd": ["chat_id", "user_id", "inviter_id"],
|
|
"updateChatParticipantAdmin": ["chat_id", "user_id"],
|
|
"updateChatParticipantDelete": ["chat_id", "user_id"],
|
|
"updateChatUserTyping": ["chat_id"],
|
|
"updateDeleteChannelMessages": ["channel_id"],
|
|
"updateGroupCall": ["chat_id"],
|
|
"updateGroupInvitePrivacyForbidden": ["user_id"],
|
|
"updateInlineBotCallbackQuery": ["user_id"],
|
|
"updatePinnedChannelMessages": ["channel_id"],
|
|
"updateReadChannelDiscussionInbox": ["channel_id", "broadcast_id"],
|
|
"updateReadChannelDiscussionOutbox": ["channel_id"],
|
|
"updateReadChannelInbox": ["channel_id"],
|
|
"updateReadChannelOutbox": ["channel_id"],
|
|
"updateShortChatMessage": ["from_id", "chat_id", "via_bot_id"],
|
|
"updateShortMessage": ["user_id", "via_bot_id"],
|
|
"updateUser": ["user_id"],
|
|
"updateUserEmojiStatus": ["user_id"],
|
|
"updateUserName": ["user_id"],
|
|
"updateUserPhone": ["user_id"],
|
|
"updateUserPhoto": ["user_id"],
|
|
"updateUserStatus": ["user_id"],
|
|
"updateUserTyping": ["user_id"],
|
|
"user": ["id"],
|
|
"userEmpty": ["id"],
|
|
"userFull": ["id", "personal_channel_id"],
|
|
"userStories": ["user_id"],
|
|
"webAuthorization": ["bot_id"],
|
|
"_": "Dummy line teehee~"
|
|
},
|
|
"method": {
|
|
"account.acceptAuthorization": ["bot_id"],
|
|
"account.getAuthorizationForm": ["bot_id"],
|
|
"account.initTakeoutSession": ["file_max_size"],
|
|
"account.registerDevice": ["other_uids"],
|
|
"account.unregisterDevice": ["other_uids"],
|
|
"contacts.editCloseFriends": ["id"],
|
|
"messages.addChatUser": ["chat_id"],
|
|
"messages.deleteChat": ["chat_id"],
|
|
"messages.deleteChatUser": ["chat_id"],
|
|
"messages.editChatAdmin": ["chat_id"],
|
|
"messages.editChatPhoto": ["chat_id"],
|
|
"messages.editChatTitle": ["chat_id"],
|
|
"messages.getAllChats": ["except_ids"],
|
|
"messages.getChats": ["id"],
|
|
"messages.getCommonChats": ["max_id"],
|
|
"messages.getDocumentByHash": ["size"],
|
|
"messages.getFullChat": ["chat_id"],
|
|
"messages.migrateChat": ["chat_id"],
|
|
"upload.getCdnFile": ["offset"],
|
|
"upload.getCdnFileHashes": ["offset"],
|
|
"upload.getFile": ["offset"],
|
|
"upload.getFileHashes": ["offset"],
|
|
"_": "Dummy line teehee~"
|
|
}
|
|
}
|