Pyrogram v2.2.10#
Scheme layer used: 201#
Renamed the field
paid_message_star_counttopaid_star_countin theMessage, containing the number of Telegram Stars that were paid to send the message.Added the classes
PaidMessagePriceChangedandPaidMessagesRefundedand the fieldspaid_message_price_changedandpaid_messages_refundedto theMessage, describing the appropriate service message.Added the
get_business_account_star_balance(), allowing bots to check the current Telegram Star balance of a managed business account.Added the
BusinessBotRightsand replaced the fieldcan_replywith the fieldrightsof the typeBusinessBotRightsin theBusinessConnection.
Scheme layer used: 200#
Added
sizestoPhototo return all available sizes.Add
mediainExternalReplyInfo.Add
MessageOriginTypeas enum instead of str, and updated the appropriate filters.Document about the issue #161.
Make User.block/unblock/get_common_chats async, Fix examples and Fix docs.
Try to return the service message (when applicable) in the method
set_chat_title().Added
delete_chat_history().