Skip to content

Fall back `can_pin_messages` to `true`

Artem Starikov requested to merge work-around-non-optional-can_pin_messages into master

This field is not sent for channel administrators — in channels, all administrators can pin messages. To keep compatibility, when the field is not present, I decided to fall back the field to true, because the field is sent for group administrators. In v0.6, the next breaking release, this field needs to be wrapped in an Option.

Merge request reports

Loading