Fix several minor typos (#1603)

This commit is contained in:
Qwerty-Space
2020-10-18 20:11:59 +01:00
committed by GitHub
parent 4db51dff8a
commit d56b27e570
9 changed files with 9 additions and 9 deletions

View File

@@ -297,7 +297,7 @@ TYPES_EMPTY,400,The types field is empty
TYPE_CONSTRUCTOR_INVALID,,The type constructor is invalid
UNKNOWN_METHOD,500,The method you tried to call cannot be called on non-CDN DCs
UNTIL_DATE_INVALID,400,That date cannot be specified in this request (try using None)
URL_INVALID,400,The URL used was invalid (e.g. when answering a callback with an URL that's not t.me/yourbot or your game's URL)
URL_INVALID,400,The URL used was invalid (e.g. when answering a callback with a URL that's not t.me/yourbot or your game's URL)
USERNAME_INVALID,400,"Nobody is using this username, or the username is unacceptable. If the latter, it must match r""[a-zA-Z][\w\d]{3,30}[a-zA-Z\d]"""
USERNAME_NOT_MODIFIED,400,The username is not different from the current username
USERNAME_NOT_OCCUPIED,400,The username is not in use by anyone else yet
1 name codes description
297 TYPE_CONSTRUCTOR_INVALID The type constructor is invalid
298 UNKNOWN_METHOD 500 The method you tried to call cannot be called on non-CDN DCs
299 UNTIL_DATE_INVALID 400 That date cannot be specified in this request (try using None)
300 URL_INVALID 400 The URL used was invalid (e.g. when answering a callback with an URL that's not t.me/yourbot or your game's URL) The URL used was invalid (e.g. when answering a callback with a URL that's not t.me/yourbot or your game's URL)
301 USERNAME_INVALID 400 Nobody is using this username, or the username is unacceptable. If the latter, it must match r"[a-zA-Z][\w\d]{3,30}[a-zA-Z\d]"
302 USERNAME_NOT_MODIFIED 400 The username is not different from the current username
303 USERNAME_NOT_OCCUPIED 400 The username is not in use by anyone else yet