Pyrogram v0.9.1#

Minor Fixes and Improvements#

Bug Fixes#

  • Fix AttributeError: 'ChannelForbidden' object has no attribute 'restriction_reason'.

  • Fix MESSAGE_IDS_EMPTY error.

  • Fix UnicodeDecodeError raised by invalid UTF-8 data inside inline buttons callback data.

  • FIx ChatMember.total_count not being available when fetching members from supergroups and channels.

Breaking Changes#

  • InlineKeyboardButton.callback_data type is now bytes instead of str in order to fix the bug above.