1
0
mirror of https://github.com/danog/rpc-db.git synced 2024-11-30 04:29:16 +01:00
rpc-db/v2.json

1 line
146 KiB
JSON
Raw Normal View History

2022-03-09 19:49:53 +01:00
{"ok":true,"result":{"account.deleteAccount":[{"error_code":420,"error_message":"2FA_CONFIRM_WAIT_%d","error_description":"Since this account is active and protected by a 2FA password, we will delete it in 1 week for security purposes. You can cancel this process at any time, you'll be able to reset your account in %d seconds."}],"account.updateProfile":[{"error_code":400,"error_message":"ABOUT_TOO_LONG","error_description":"About string too long"},{"error_code":400,"error_message":"FIRSTNAME_INVALID","error_description":"The first name is invalid"}],"auth.importBotAuthorization":[{"error_code":400,"error_message":"ACCESS_TOKEN_EXPIRED","error_description":"Access token expired"},{"error_code":400,"error_message":"ACCESS_TOKEN_INVALID","error_description":"Access token invalid"},{"error_code":400,"error_message":"API_ID_INVALID","error_description":"API ID invalid"},{"error_code":400,"error_message":"API_ID_PUBLISHED_FLOOD","error_description":"This API id was published somewhere, you can't use it now"}],"messages.getExportedChatInvites":[{"error_code":400,"error_message":"ADMIN_ID_INVALID","error_description":"The specified admin ID is invalid"},{"error_code":400,"error_message":"CHAT_ADMIN_REQUIRED","error_description":"You must be an admin in this chat to do this"},{"error_code":400,"error_message":"PEER_ID_INVALID","error_description":"The provided peer id is invalid"}],"channels.editAdmin":[{"error_code":400,"error_message":"ADMIN_RANK_EMOJI_NOT_ALLOWED","error_description":"An admin rank cannot contain emojis"},{"error_code":400,"error_message":"ADMIN_RANK_INVALID","error_description":"The specified admin rank is invalid."},{"error_code":400,"error_message":"ADMINS_TOO_MUCH","error_description":"There are too many admins"},{"error_code":400,"error_message":"BOT_CHANNELS_NA","error_description":"Bots can't edit admin privileges"},{"error_code":400,"error_message":"BOT_GROUPS_BLOCKED","error_description":"This bot can't be added to groups"},{"error_code":400,"error_message":"BOTS_TOO_MUCH","error_description":"There are too many bots in this chat\/channel"},{"error_code":400,"error_message":"CHANNEL_INVALID","error_description":"The provided channel is invalid"},{"error_code":400,"error_message":"CHANNEL_PRIVATE","error_description":"You haven't joined this channel\/supergroup"},{"error_code":403,"error_message":"CHAT_ADMIN_INVITE_REQUIRED","error_description":"You do not have the rights to do this"},{"error_code":400,"error_message":"CHAT_ADMIN_REQUIRED","error_description":"You must be an admin in this chat to do this"},{"error_code":403,"error_message":"CHAT_WRITE_FORBIDDEN","error_description":"You can't write in this chat"},{"error_code":400,"error_message":"FRESH_CHANGE_ADMINS_FORBIDDEN","error_description":"You were just elected admin, you can't add or modify other admins yet"},{"error_code":406,"error_message":"FRESH_CHANGE_ADMINS_FORBIDDEN","error_description":"You were just elected admin, you can't add or modify other admins yet"},{"error_code":400,"error_message":"INPUT_USER_DEACTIVATED","error_description":"The specified user was deleted"},{"error_code":400,"error_message":"PEER_ID_INVALID","error_description":"The provided peer id is invalid"},{"error_code":403,"error_message":"RIGHT_FORBIDDEN","error_description":"Your admin rights do not allow you to do this"},{"error_code":400,"error_message":"USER_BLOCKED","error_description":"User blocked"},{"error_code":403,"error_message":"USER_CHANNELS_TOO_MUCH","error_description":"One of the users you tried to add is already in too many channels\/supergroups"},{"error_code":400,"error_message":"USER_CREATOR","error_description":"You can't leave this channel, because you're its creator"},{"error_code":400,"error_message":"USER_ID_INVALID","error_description":"The provided user ID is invalid"},{"error_code":400,"error_message":"USER_NOT_MUTUAL_CONTACT","error_description":"The provided user is not a mutual contact"},{"error_code":403,"error_message":"USER_NOT_MUTUAL_CONTACT","error_description":"The provided user is not a mutual contact"},{"error_code":403,"erro