PyrogramMod v2.0.107¶
Layer 160, New Errors, Bug Fixes and more
Layer Updates¶
Updated API schema to layers 152, 155, 157, 158, 160.
New Features¶
message_cache()parameter added toClient— control the number of cached messages.Added missing
caption_entitiesparameters andutils.parse_text_entitiescalls.Renamed internal
reply_to_msg_idtoreply_to.Improved task automation helpers for Pyrogram.
Bug Fixes¶
Fixed
BytesIOsupport (backported from upstream by @doggyhaha).Fixed
AttributeError: 'NoneType' object has no attribute 'channel_id'.Fixed
AttributeError: 'ChannelForbidden' object has no attribute 'noforwards'.Fixed
SESSION_STRING_FORMATfor 64-bit Telegram user IDs.Miscellaneous bug fixes with Layer 160 types.
Errors¶
Added
MEDIA_FILE_INVALID,USERNAME_PURCHASE_AVAILABLE, story-related errors, and other missing known errors.