Add BUTTON_USER_PRIVACY_RESTRICTED to the list of known errors (#1193)

* Add BUTTON_USER_PRIVACY_RESTRICTED to known errors

* Update 400_BAD_REQUEST.tsv

Co-authored-by: Dan <14043624+delivrance@users.noreply.github.com>
This commit is contained in:
Mahesh 2023-01-09 19:32:20 +05:30 committed by GitHub
parent f9a9673011
commit 043734f02b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -38,6 +38,7 @@ BROADCAST_REQUIRED The request can only be used with a channel
BUTTON_DATA_INVALID The button callback data is invalid or too large
BUTTON_TYPE_INVALID The type of one of the buttons you provided is invalid
BUTTON_URL_INVALID The button url is invalid
BUTTON_USER_PRIVACY_RESTRICTED The privacy settings of the user specified in a keyboard button do not allow creating such button
CALL_ALREADY_ACCEPTED The call is already accepted
CALL_ALREADY_DECLINED The call is already declined
CALL_PEER_INVALID The provided call peer object is invalid

1 id message
38 BUTTON_DATA_INVALID The button callback data is invalid or too large
39 BUTTON_TYPE_INVALID The type of one of the buttons you provided is invalid
40 BUTTON_URL_INVALID The button url is invalid
41 BUTTON_USER_PRIVACY_RESTRICTED The privacy settings of the user specified in a keyboard button do not allow creating such button
42 CALL_ALREADY_ACCEPTED The call is already accepted
43 CALL_ALREADY_DECLINED The call is already declined
44 CALL_PEER_INVALID The provided call peer object is invalid