Add INVITE_REQUEST_SENT to known errors

This commit is contained in:
Tulir Asokan 2022-03-28 14:54:49 +03:00 committed by Lonami Exo
parent f351d5dcfd
commit dda696cce4

View File

@ -182,6 +182,7 @@ INVITE_FORBIDDEN_WITH_JOINAS,400,
INVITE_HASH_EMPTY,400,The invite hash is empty
INVITE_HASH_EXPIRED,400,The chat the user tried to join has expired and is not valid anymore
INVITE_HASH_INVALID,400,The invite hash is invalid
INVITE_REQUEST_SENT,400,You have successfully requested to join this chat or channel
LANG_CODE_INVALID,400,
LANG_PACK_INVALID,400,The provided language pack is invalid
LASTNAME_INVALID,400,The last name is invalid

1 name codes description
182 INVITE_HASH_EMPTY 400 The invite hash is empty
183 INVITE_HASH_EXPIRED 400 The chat the user tried to join has expired and is not valid anymore
184 INVITE_HASH_INVALID 400 The invite hash is invalid
185 INVITE_REQUEST_SENT 400 You have successfully requested to join this chat or channel
186 LANG_CODE_INVALID 400
187 LANG_PACK_INVALID 400 The provided language pack is invalid
188 LASTNAME_INVALID 400 The last name is invalid