Skip to content

Commit 1d8e12b

Browse files
Fix AUTH_KEY_UNREGISTERED description
1 parent efc9f7c commit 1d8e12b

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

compiler/errors/source/401_UNAUTHORIZED.tsv

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ id message
22
ACTIVE_USER_REQUIRED The method is only available to already activated users.
33
AUTH_KEY_INVALID The specified auth key is invalid.
44
AUTH_KEY_PERM_EMPTY The method is unavailable for temporary authorization keys, not bound to a permanent authorization key.
5-
AUTH_KEY_UNREGISTERED The specified authorization key is not registered in the system (for example, a PFS temporary key has expired). . Delete your session file and login again.
5+
AUTH_KEY_UNREGISTERED The specified authorization key is not registered in the system (for example, a PFS temporary key has expired). Delete your session file and login again.
66
SESSION_EXPIRED The session has expired.
77
SESSION_PASSWORD_NEEDED The two-step verification is enabled, use a password to login.
88
SESSION_REVOKED The authorization has been invalidated, because of the user terminating all sessions.

compiler/errors/source/403_FORBIDDEN.tsv

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@ CHAT_SEND_GAME_FORBIDDEN You can't send a game to this chat.
1616
CHAT_SEND_GIFS_FORBIDDEN You can't send animations in this chat.
1717
CHAT_SEND_INLINE_FORBIDDEN You cannot use inline bots to send messages in this chat.
1818
CHAT_SEND_MEDIA_FORBIDDEN You can't send media messages in this chat.
19-
USER_DISALLOWED_STARGIFTS You can't send gifts to this user due to their privacy settings.
2019
CHAT_SEND_PHOTOS_FORBIDDEN You can't send photos in this chat.
2120
CHAT_SEND_PLAIN_FORBIDDEN You can't send non-media (text) messages in this chat.
2221
CHAT_SEND_POLL_FORBIDDEN You can't send polls in this chat.
@@ -48,11 +47,12 @@ TAKEOUT_REQUIRED The method must be invoked inside a [takeout](https://core.tele
4847
USER_BOT_INVALID User accounts must provide the `bot` method parameter when calling this method. If there is no such method parameter, this method can only be invoked by bot accounts.
4948
USER_CHANNELS_TOO_MUCH One of the users you tried to add is already in too many channels/supergroups.
5049
USER_DELETED You can't send this secret message because the other participant deleted their account.
50+
USER_DISALLOWED_STARGIFTS You can't send gifts to this user due to their privacy settings.
5151
USER_INVALID The provided user is invalid.
5252
USER_IS_BLOCKED You were blocked by this user.
5353
USER_NOT_MUTUAL_CONTACT The provided user is not a mutual contact.
5454
USER_NOT_PARTICIPANT You're not a member of this supergroup/channel.
5555
USER_PRIVACY_RESTRICTED The user's privacy settings do not allow you to do this.
5656
USER_RESTRICTED You're limited/restricted by telegram. You can't perform this action.
5757
VOICE_MESSAGES_FORBIDDEN This user's privacy settings forbid you from sending voice messages.
58-
YOUR_PRIVACY_RESTRICTED You cannot fetch the read date of this message because you have disallowed other users to do so for *your* messages; to fix, allow other users to see *your* exact last online date OR purchase a [Telegram Premium](https://core.telegram.org/api/premium) subscription.
58+
YOUR_PRIVACY_RESTRICTED You cannot fetch the read date of this message because you have disallowed other users to do so for *your* messages; to fix, allow other users to see *your* exact last online date OR purchase a [Telegram Premium](https://core.telegram.org/api/premium) subscription.

0 commit comments

Comments
 (0)