Skip to content

Releases: PyrogramMod/PyrogramMod

PyrogramMod v2.4.1

Choose a tag to compare

@null-nick null-nick released this 14 Jul 13:29

PyrogramMod v2.4.1 — Layer 228, Communities, Monoforum, Ephemeral Messages, Rich Messages, Guard Bot and more

Layer Updates

  • Updated API schema through layers 221 -> 228.
  • Added ephemeral.editMessage and updateEphemeralBotCallbackQuery to the TL schema (missing from upstream layer 228 dump).

Communities

  • New communities.* namespace with 10 methods, including add_chat_to_community and get_joined_communities.
  • Documented the separate community ID space (no -100 prefix) in the FAQ.

Monoforum / Direct Messages

  • New methods: toggle_direct_messages, get_monoforum_dialogs, get_monoforum_history, read_monoforum_history, delete_monoforum_history.

Ephemeral Messages

  • New ephemeral.* namespace: send/delete/report/get_callback_answer.
  • New edit methods: edit_ephemeral_message_text, _caption, _media, _reply_markup.

Rich Messages (Bot API 10.1)

  • New types: RichMessage, RichText, RichBlock, InputRichMessage, PollLink.
  • New methods: send_rich_message, send_rich_message_draft, translate_rich_message, compose_rich_message_with_ai, request_chat_join_web_view.

Guard Bot & Join Request Queries

  • set_chat_guard_bot, answer_guard_bot_query, answer_chat_join_request_query, send_chat_join_request_web_app.

Streaming Text

  • send_streaming_text.

Bot & Browser Settings

  • get/edit_bot_access_settings, confirm_bot_connection, get/update_web_browser_settings, togeption(s).

User & Chat

  • New User/Chat fields (color, profile_color, linked_community_id, monoforum, etc.), new Pees additions.

Styled Keyboards

  • InlineKeyboardButton/KeyboardButton style parameter, new KeyboardButtonStyle enum.

Bug Fixes

  • Session reconnect deadlock fixed.
  • account.* namespace corrected for web browser methods and confirm_bot_connection.
  • Fixed message_thread_id, EmojiStatusUntil AttributeError, PeerID invalid.
  • Fixed messages.chatInviteJoinResultWebView TL ID/schema.
  • Fixed messages.composedRichMessageWithAI TL ID/schema.
  • Fixed TypeError on send_message from missing ephemeral_receiver_bot_id.
  • Fixed AttributeError on send_ephemeral_message from wrong random_id type.

Build

  • Migrated scrape-errors CI to uv.
  • docs.json regenerated for layers 225, 227, 228.
  • invoke() now has a generic return type.
  • Fixed async/asyncio compatibility for Python 3.13 & 3.14.

v2.3.1

Choose a tag to compare

@null-nick null-nick released this 27 Jun 20:25
Version Bump

v2.2.1

Choose a tag to compare

@null-nick null-nick released this 13 May 10:14

Fixed type hinting on raw methods

v2.1.1

Choose a tag to compare

@null-nick null-nick released this 10 Sep 16:47
Update API scheme to layer 187 v2

v2.0.108

Choose a tag to compare

@null-nick null-nick released this 18 Aug 17:38
6365463
Version bump to `2.0.108`

v2.0.107

v2.0.107 Pre-release
Pre-release

Choose a tag to compare

@null-nick null-nick released this 09 Aug 07:54
Control the number of cached messages via `message_cache` in Client

This commit adds the optional parameter message_cache to Client to control the number of cached messages.

This can significantly help low-end machines control their memory usage.