BUTTON_USER_PRIVACY_RESTRICTED
The privacy setting of the user specified in a inputKeyboardButtonUserProfile button do not allow creating such a button.
Error details
Section titled “Error details”- code: 400
- parameterized: no
- mapped methods:
messages.editMessage,messages.sendMedia,messages.sendMessage
Python error class
Section titled “Python error class”from miniproto.errors import ButtonUserPrivacyRestrictedPublic access: miniproto.errors.ButtonUserPrivacyRestricted.