PyrogramMod v2.1.1¶
Layers 162–187, Paid Reactions, Stories, Giveaways, View-Once Media and more
Layer Updates¶
Updated API schema through layers 162, 163, 164, 165, 166, 167, 169, 170, 171, 172, 173, 174, 176, 177, 178, 179, 181, 182, 183, 184, 185, 186, 187.
New Features¶
send_paid_reaction()— send paid reactions.get_similar_channels()— get channels similar to a given one.Added
view_onceparameter tosend_photo(),send_video(),send_video_note(),send_voice()— media visible only once.Added support for animations and video notes playable once.
Added
send_multiple_reactionssupport.Added
giveawayfilter and reworkedGiveawaytype with full media support.Added story media support.
Added quote text support.
Added
nosound_videoparameter tosend_video()andInputMediaVideo.Improved
get_chat_history(): newmin_idandmax_idparameters.Added
has_visible_history,is_forum,has_hidden_membersfields toChat.Added missing properties to
ChatPrivileges.Support for joining via public chat link (
https://telegram.me/username/4format).Added
skip_updatesparameter toClient.Implemented non-blocking TCP connection.
Bug Fixes¶
Fixed
idle()signal handler not being thread-safe.Fixed
has_spoilermissing inget_input_media_from_file_id().Fixed
has_spoilermissing incopy_message().Fixed
partial_replyhandling.Fixed
ChatTypefilterAttributeError.Fixed
send_audionot working as expected in some cases.Fixed
'ChatFull' object has no attribute 'participants_count'.Fixed type hint for
InputMediaVideo.thumb.Fixed deserialization bugs.
Fixed
FLOOD_PREMIUM_WAIT_Xerror handling.Updated
MIN_CHANNEL_IDconstant.
Build¶
Dropped Python 3.7 support.
Added new TL scheme source.