Pyrogram TG Fork
271 subscribers
72 links
Welcome to @Pyrogram Fork's chat

• Donate: pyrogram.org/donate

Rules and Changes: https://t.me/pyrotgfork/2
Download Telegram
TelegramPlayGround/pyrogram: Install with pip uninstall -y pyrogram && pip install pyrotgfork==2.1.33.11 --force-reinstall.

fc27f9af6: Add Message.star bound method
0b7bd9f26: Fix yanr NoneType error
00fc92d62: Add toggle_forum_topic_is_pinned method
eeec73b90: Update documentation for get_nearby_chats
f0da2e651: Update API Scheme to Layer 190
060ab377e: [630-152289-152456] (#99)
4e325a63d: Fix get_stories types (KurimuzonAkuma/pyrogram#97)

If you found any issue or have any suggestions, feel free to make an issue on github or reply to this message.
4🔥1
TelegramPlayGround/pyrogram: Install with pip uninstall -y pyrogram && pip install pyrotgfork==2.1.33.12 --force-reinstall.

changes

If you found any issue or have any suggestions, feel free to make an issue on github or reply to this message.
5🥰3
TelegramPlayGround/pyrogram: Install with pip uninstall -y pyrogram && pip install pyrotgfork==2.1.34 --force-reinstall.

changes

If you found any issue or have any suggestions, feel free to make an issue on github or reply to this message.
13🔥1
TelegramPlayGround/pyrogram: Install with pip uninstall -y pyrogram && pip install pyrotgfork==2.1.35 --force-reinstall.

changes

If you found any issue or have any suggestions, feel free to make an issue on github or reply to this message.
3
Thank you for creating Pyrogram, You will be missed. Thank you again for your invaluable contributions to the open-source Telegram Community.

changes: I have re-branded and removed references of docs.pyrogram.org from this fork ✌️ Hope it is fine 👌 .. let us see for how long this fork would sustain 😉

TelegramPlayGround/pyrogram
: Install with pip uninstall -y pyrogram && pip install pyrotgfork==2.2.1 --force-reinstall.

If you found any issue or have any suggestions, feel free to make an issue on github or reply to this message.
👍82
TelegramPlayGround/pyrogram: Install with pip install pyrotgfork==2.2.4 --force-reinstall.

changes

If you found any issue or have any suggestions, feel free to make an issue on github or reply to this message.
👍3
TelegramPlayGround/pyrogram: Install with pip install pyrotgfork==2.2.5 --force-reinstall.

changes (There are 2 breaking changes in this release)

4bc566e
: Add UpgradedGift and change return type of some methods. (#134)
0673ba9: Fix reaction documentation, according to Layer 196
1dd095c: Fix subscription_period in create_invoice_link
0870553: Add get_owned_star_count method to return the number of stars owned by the current user account
4ca8aff: Add support for paid_media and thumbnail in download_media (#105)
0582930: Update Telegram API errors (#139)
fa38483
: Fix ChatShared parsing in some cases (#140)
7cf1625: minor fix for refunded_payment (#142)
4a40f16: Update API schme to Layer 198
74ab511: handlers: fix typing and docs (#143)
05badbf: Changed types in UpgradedGift and UserGift, according to Layer 197.
b6a9607: Add get_similar_bots to return a list of bots similar to the given bot.
3f82c5d: Add gift_count to Chat
‼️851b174: 💣 Add new_video_start_timestamp in forward_messages and the bound method. ‼️
9a1e04f: Add cover and start_timestamp in send_video and InputPaidMediaVideo

If you found any issue or have any suggestions, feel free to make an issue on github or reply to this message.
Please open Telegram to view this post
VIEW IN TELEGRAM
2👍2
TelegramPlayGround/pyrogram: Install with pip install pyrotgfork==2.2.6 --force-reinstall.

minor fixes and improvements

b3ebea5
: Add message_thread_id=1 for General ForumTopic
758f2d2: Rewrite get_messages method (#145)
366d337: Update markdown.py: Fix Blockquote. (#147)
2261daf: Add message.content property
98dc270: Add unknown_errors

If you found any issue or have any suggestions, feel free to make an issue on github or reply to this message.
2
TelegramPlayGround/pyrogram: Install with pip install pyrotgfork==2.2.7 --force-reinstall.

ChangeLog

If you found any issue or have any suggestions, feel free to make an issue on github or reply to this message.
2
TelegramPlayGround/pyrogram: Install with pip install pyrotgfork==2.2.8 --force-reinstall.

fix three mistakes in previous release

If you found any issue or have any suggestions, feel free to make an issue on github or reply to this message.
👎1🔥1
TelegramPlayGround/pyrogram: Install with pip install pyrotgfork==2.2.9 --force-reinstall.

ChangeLog


- Rename UserGift to ReceivedGift
- Add download bound method to the class ExternalReplyInfo
- document about breaking change
- Update API Scheme to Layer 200, from TDLib (tdlib/td@f5462e3)
- Fix field documentation (tdlib/td@e4608b7)
- Add the paid_message_star_count to Chat and User
- Add paid_message_star_count to Message
- Add is_pinned to UserGift
- Added the class InlineQueryResultGame.
- Added the bound methods ChosenInlineResult.edit_message_text, ChosenInlineResult.edit_message_caption, ChosenInlineResult.edit_message_media and ChosenInlineResult.edit_message_reply_markup.
- Renamed the fields thumb_url, thumb_width, and thumb_height in the classes InlineQueryResultArticle, InlineQueryResultContact, InlineQueryResultDocument, InlineQueryResultLocation, and InlineQueryResultVenue to thumbnail_url, thumbnail_width, and thumbnail_height respectively.
- Renamed the field thumb_url in the classes InlineQueryResultPhoto and InlineQueryResultVideo to thumbnail_url.
- Added the field animation_mime_type and renamed the fields thumb_url and thumb_mime_type in the classes InlineQueryResultAnimation to thumbnail_url and thumbnail_mime_type respectively.
- Fixed a bug with _client being None in ChosenInlineResultHandler.


If you found any issue or have any suggestions, feel free to make an issue on github or reply to this message.
5
TelegramPlayGround/pyrogram: Install with pip install pyrotgfork==2.2.10 --force-reinstall.

a2f79e0: Add delete_chat_history
d0aee73: Try to return the service message (if possible) in set_chat_title
81b2853: Add media in ExternalReplyInfo / Add MessageOriginType as enum instead of str / Make User.block/unblock/get_common_chats async / Raise instead of log in copy_message
b2b636a: Add the method send_screenshot_notification
f867143: Partially Revert ddad27a
1ea5e79: Refactor Photo to return all sizes instead of only the largest
5da49e9: Add BusinessBotRights
79bb27c: Add get_business_account_star_balance
0fbea52: Rename paid_message_star_count to paid_star_count, in Message
4b09cfc: Add PaidMessagePriceChanged
733780a: Add PaidMessagesRefunded
Compare all Changes
and more..!

If you found any issue or have any suggestions, feel free to make an issue on github.
🔥32
TelegramPlayGround/pyrogram: Install with pip install pyrotgfork==2.2.12 --force-reinstall

de34a02: Add some errors to known errors
663678e: Update API Scheme to Layer 203, from TDesktop
6c35611: Stories-9.0
63f7633: Add has_automatic_translation to Chat

Compare all Changes
and more..!

If you found any issue or have any suggestions, feel free to make an issue on github.
👍3😐2
TelegramPlayGround/pyrogram: Install with
pip install pyrotgfork==2.2.13 --force-reinstall
pip install pyrotgfork==2.2.14 --force-reinstall
pip install pyrotgfork==2.2.15 --force-reinstall

c253e6e: Add admin_privileges in Chat
99227a3: (fix): pin message parsing
b14b7b6: Add mime_type in reply_document and send_document
dbe10f5: Fix set_chat_photo parameters
15081f8: Fix Str typings
93b93e7: Update Emoji (#181)
db7f55e: Fix condition for MessageImportInfo
b5f02e6: Update API Scheme to Layer 205 (#187)
49b4ba1: Update Pyrogram to v2.2.13
1e5d325: Update API Scheme to Layer 209
1f056a1: Add some errors to known errors
bf83f57: (fix): type hinting on raw base types
aa9b848: (fix): AttributeError
2a99702: (fix): Type Hinting of pin_chat_message
4c17824: Update API scheme to Layer 210
53d30e9: Fix get_chat_history method to work properly with min_id and max_id
019df5a: (fix): NameError
eecca8a: Update Pyrogram to v2.2.14
ad9738c: (fix): RuntimeError (#189)
12cb4e2: Update Pyrogram to v2.2.15

Compare all Changes
and more..!

If you found any issue or have any suggestions, feel free to make an issue on github.
3😐1
TelegramPlayGround/pyrogram: Install with
pip install pyrotgfork==2.2.16 --force-reinstall

84c823b
: Update API scheme AGAIN to Layer 211,
fc838cf: Fix Message.date timezone conversion causing logical errors in time comparison (#193)
8ac84cd: (FIX): get_dialogs.py (#195)
6a0ed47: API 9.2 (#191)
2963419: Update reply_* methods to support direct_messages_topic_id
b446247: Add 1 unknown_error
b6b37c2: Update API scheme on layer 212.
6e30299: Update API scheme on layer 213.
40af55c: Update API scheme on layer 214.
aab6514: feat(pyrogram.filters): support filters.regex for ChosenInlineResult
210d92c: fix: get_chat_photo and its download logic. (#201)
ce150d9: fix: drop unnecessary high level parsing of messages in get_chat_photo (#203)
b491401: Add album_ids to Story
0768beb: (fix): Copy video_cover and video_start_timestamp in copy_message
e8ed29d: Add INVOICE_INVALID to unknown errors
ca7d979: (fix): Change raw/base docs types generation to get proper typehints

Compare all Changes
and more..!

If you found any issue or have any suggestions, feel free to make an issue on github.
👍421🔥1👏1🌭1
TelegramPlayGround/pyrogram: Install with
pip install pyrotgfork==2.2.17 --force-reinstall


4836dc6: fix: set_chat_permissions method miss permission handle (#204)
261d7bc: feat(Chat): Enhance full_name property with Chat.title fallback. (#206)
86d0fc1: (feat): Add offset_date and offset_message_id in get_dialogs and search_global
a20bde3: Update unknown_errors (#207)

4a284b7: Update API scheme to layer 217
a991b45: Fix file pointer position before returning file
e6fb7b9: Improve documentation of various types
1a5a2ab: fix copy_message with photo deprecated parameters (#210)
fbc340f: Update API scheme on layer 217
6198d41: Update API scheme on layer 218
10fab8e: Update Checklist and get_send_as_chats for new Layer
b174283: Update API scheme to layer 219.
a9d4cc6: Update API scheme to layer 220.
c4940dd: Update types to Layer 219
84ebb7e: Update types to Layer 216
3a1b48d: Add Python 3.14 support
7cabedc: allow to specify chat_id in get_inline_bot_results
2084b37: (fix): edit_media for Videos
e3daa50: Update GiftedPremium type to layer 217
e9d0f7a: Add some errors to known errors
6b521b4: fix: set description correctly when send InlineQueryResultAnimation
2da2329: Add generic return type for method invoke
fe83e15: fix(security): sanitize file names to prevent path traversal
97980a2: another attempt to fix get_forum_topics method

Compare all Changes
and more..!

If you found any issue or have any suggestions, feel free to make an issue on github.
25👍2🔥2
TelegramPlayGround/pyrogram: Install with
pip install pyrotgfork==2.2.18 --force-reinstall


19a3252: fix: LinkPreviewOptions for InputTextMessageContent
32dedfc: fix: documentation of BY_ADD
72b9b7c: Imporove documentation for ChecklistTask and Sticker
8da9fc9: Add disable_content_type_detection to InputMediaDocument
af2d131: Added the field is_name_implicit to the classes ForumTopic and ForumTopicCreated.
62f20f4: Update API scheme on Layer 221
91e6454: Closes TelegramPlayground/pyrogram#214
17bb6d9: Added CHAT_FORUM_TOPIC_CREATED, CHAT_FORUM_TOPIC_EDITED, CHAT_FORUM_TOPIC_DELETED, CHAT_FORUM_TOPIC_PINNED in get_chat_event_log
4ea06a8: Improve documentation of various types according to BOT API 9.4
c5d2d2f: Update API scheme to layer 222
8d235c8: Update API scheme to layer 223
25857fb: Update API scheme to layer 224
87da5ea: Update API scheme to layer 222
9e0d1e5: Added qualities to Video and
776cd11: Closes #190
d250e9d: Added the field first_profile_audio to the class Chat
a00c2a0: Improve documentation of send_media_group
96bdbdd: Improve documentation of some of the Service Messages

Compare all Changes
and more..!

If you found any issue or have any suggestions, feel free to make an issue on github.
👏1
TelegramPlayGround/pyrogram: Install with
pip install pyrotgfork==2.2.19 --force-reinstall

2428757: properly implement in_memory arg in client to support session string. (#222)
0fa06eb: fix: get_media_group
01c337a: Add missing parameters in create_supergroup
8ea5274: Improve documentation.
207f7f5: Update API scheme on Layer 223
a91ab10: Update methods and types to Layer 223,

TelegramPlayGround/pyrogram: Install with pip install pyrotgfork==2.2.20 --force-reinstall

d1528d0: Added CHAT_OWNER_LEFT, CHAT_OWNER_CHANGED, CHAT_HAS_PROTECTED_CONTENT_TOGGLED, CHAT_HAS_PROTECTED_CONTENT_DISABLE_REQUESTED to Message
6bdf57a: Added support for setting email during authorization
79dae45: Added the MessageEntity type “date_time”, allowing to show a formatted date and time to the user.

Compare all Changes
Compare all Changes

2.2.19 has the issue ValueError: <class 'pyrogram.raw.types.message_entity_formatted_date.MessageEntityFormattedDate'> is not a valid MessageEntityType
2.2.20 has the issue TypeError: __init__() got an unexpected keyword argument 'unix_time'

TelegramPlayGround/pyrogram: Install with pip install pyrotgfork==2.2.21 --force-reinstall

cf41eb2: Change administrator title parameter to 'tag'
91fd584: fix: edge case in sending date_time_format

Compare all Changes
and more..!

If you found any issue or have any suggestions, feel free to make an issue on github.
1🔥21