1
0
mirror of https://github.com/danog/rpc-db.git synced 2024-11-26 20:14:40 +01:00
rpc-db/v2.json

1 line
215 KiB
JSON
Raw Normal View History

2023-12-03 22:34:48 +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":403,"error_message":"CHAT_WRITE_FORBIDDEN","error_description":"You can't write in this chat"},{"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"}],"channels.createChannel":[{"error_code":400,"error_message":"ADDRESS_INVALID","error_description":"The specified geopoint address is invalid"},{"error_code":400,"error_message":"CHANNELS_ADMIN_LOCATED_TOO_MUCH","error_description":"The user has reached the limit of public geogroups"},{"error_code":400,"error_message":"CHANNELS_TOO_MUCH","error_description":"You have joined too many channels\/supergroups"},{"error_code":400,"error_message":"CHAT_ABOUT_TOO_LONG","error_description":"Chat about too long"},{"error_code":400,"error_message":"CHAT_TITLE_EMPTY","error_description":"No chat title provided"},{"error_code":400,"error_message":"TTL_PERIOD_INVALID","error_description":"The specified TTL period is invalid"},{"error_code":403,"error_message":"USER_RESTRICTED","error_description":"You're spamreported, you can't create channels or chats."},{"error_code":406,"error_message":"USER_RESTRICTED","error_description":"You're spamreported, you can't create channels or chats."}],"messages.deleteRevokedExportedChatInvites":[{"error_code":400,"error_message":"ADMIN_ID_INVALID","error_description":"The specified admin ID is invalid"},{"error_code":400,"error_message":"PEER_ID_INVALID","error_description":"The provided peer id is invalid"}],"messages.getExportedChatInvites":[{"error_code":400,"error_message":"ADMIN_ID_INVALID","error_description":"The specified admin ID is invalid"},{"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":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":"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_descript