Skip to content

Commit

Permalink
Add BUTTON_USER_PRIVACY_RESTRICTED to the list of known errors (pyrog…
Browse files Browse the repository at this point in the history
…ram#1193)

* Add BUTTON_USER_PRIVACY_RESTRICTED to known errors

* Update 400_BAD_REQUEST.tsv

Co-authored-by: Dan <[email protected]>
  • Loading branch information
Mahesh0253 and delivrance authored Jan 9, 2023
1 parent f9a9673 commit 043734f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions compiler/errors/source/400_BAD_REQUEST.tsv
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 043734f

Please sign in to comment.