PIN_RESTRICTED
You can’t pin messages.
Error details
Section titled “Error details”- code: 400
- parameterized: no
- mapped methods:
messages.updatePinnedMessage
Python error class
Section titled “Python error class”from miniproto.errors import PinRestrictedPublic access: miniproto.errors.PinRestricted.