Commit graph

4783 commits

Author SHA1 Message Date
wulan17
8c51a192af
pyrofork: fix docs
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2024-06-15 17:14:12 +07:00
wulan17
1e44386a7c
pyrofork: Bump version to 2.3.25
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2024-06-15 16:29:17 +07:00
wulan17
f1bea2c32f
pyrofork: Fix story parser (#75)
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2024-06-15 16:26:11 +07:00
wulan17
c4ec16b742
pyrofork: Add send_invoice method
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2024-06-15 16:26:10 +07:00
wulan17
d863655769
pyrofork: Fix IndexError error in Client.get_stories
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2024-06-15 16:26:10 +07:00
wulan17
7a9ffa2506
pyrofork: Add BotAllowed and BotApp
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2024-06-15 16:26:10 +07:00
wulan17
b8b014129e
pyrofork: Update copyright headers
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2024-06-15 16:26:10 +07:00
wulan17
bb29cc86bc
pyrofork: remove sticker field from GiftedPremium
not exist in raw types

Signed-off-by: wulan17 <wulan17@nusantararom.org>
2024-06-15 16:26:10 +07:00
vpcreatz
955b261101
pyrofork: Fix UnboundLocalError: local variable 'from_user' referenced before assignment
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2024-06-15 16:26:09 +07:00
wulan17
7c0481d2f0
Partial Revert "pyrofork: Handle FLOOD_PREMIUM_WAIT"
This reverts commit e414aa2812.

Signed-off-by: wulan17 <wulan17@nusantararom.org>
2024-06-15 16:26:09 +07:00
shriMADhav U k
30272728be
Add Hashtag Search methods
search_global_hashtag_messages
search_global_hashtag_messages_count

Signed-off-by: wulan17 <wulan17@nusantararom.org>
2024-06-15 16:26:09 +07:00
wulan17
e823160c61
pyrofork: Add message_thread_id to general topic messages
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2024-06-15 16:26:09 +07:00
d4b904675a
Merge pull request #73 from Mayuri-Chan/dependabot/pip/sphinx-immaterial-0.11.12
build(deps): bump sphinx-immaterial from 0.11.11 to 0.11.12
2024-06-15 14:55:16 +07:00
caf61d8dab
Merge pull request #74 from X1A0CA1/main
Improved promote_chat_member() method and Doc Fix
2024-06-15 14:54:55 +07:00
xiaocai
d162ee1542 Docs Fix 2024-06-13 15:44:28 +08:00
xiaocai
ed6dad7426 feat: Can set admin title when promote a chat member. 2024-06-13 15:43:35 +08:00
dependabot[bot]
ca6bf75910
build(deps): bump sphinx-immaterial from 0.11.11 to 0.11.12
Bumps [sphinx-immaterial](https://github.com/jbms/sphinx-immaterial) from 0.11.11 to 0.11.12.
- [Release notes](https://github.com/jbms/sphinx-immaterial/releases)
- [Commits](https://github.com/jbms/sphinx-immaterial/compare/v0.11.11...v0.11.12)

---
updated-dependencies:
- dependency-name: sphinx-immaterial
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-06-12 22:57:58 +00:00
wulan17
b4c6f66244
pyrofork: Bump version to 2.3.24
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2024-06-04 00:11:33 +07:00
wulan17
75d6e79917
pyrofork: add invert_media parameter to copy,edit_{caption,media},reply_{animation,media_group,photo,video} bound methods
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2024-06-04 00:11:02 +07:00
wulan17
fa7b7f3c58
pyrofork: Bump version to 2.3.23
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2024-06-02 16:43:00 +07:00
wulan17
454c2614e2
pyrofork: fix check_if_has_matching_listener error when message.chat is None
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2024-06-02 16:42:07 +07:00
wulan17
ad4dc01c8d
Revert "pyrofork: handlers: message: check: fix errors when message.chat or message.from_user is None"
This reverts commit c8768f65cf.

Signed-off-by: wulan17 <wulan17@nusantararom.org>
2024-06-02 16:38:31 +07:00
wulan17
1cbcffded1
Pyrofork: Bump version to 2.3.22
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2024-06-02 14:59:24 +07:00
wulan17
7328ccdf7c
pyrofork: Implement entities in Poll question and options
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2024-06-02 14:51:32 +07:00
wulan17
59461adc55
pyrofork: add InlineKeyboardButtonBuy and MessageInvoice
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2024-06-02 14:49:57 +07:00
Zaid _
fac571aff9
pyrofork: Add get_collectible_item_info
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2024-06-02 14:49:57 +07:00
wulan17
ebbd5dd0bb
pyrofork: Add invert_media parameter to edit_message method and Message.edit_text bound method
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2024-06-02 14:49:57 +07:00
wulan17
b97407edab
pyrofork: add invert_media parameter to copy_message,edit_message_caption,edit_message_media,send_{animation,cached_media,media_group,photo,video} methods
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2024-06-02 14:49:57 +07:00
wulan17
a50c72b375
pyrofork: add invert_media field to class Message
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2024-06-02 14:49:56 +07:00
wulan17
c8768f65cf
pyrofork: handlers: message: check: fix errors when message.chat or message.from_user is None
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2024-06-02 14:49:56 +07:00
KurimuzonAkuma
a592c984fa
pyrofork: Fix recovering gaps in case of private channel
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2024-06-02 14:49:50 +07:00
KurimuzonAkuma
4aa4d1a74a
pyrofork: Add skip_updates parameter to Client class
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2024-06-02 14:49:41 +07:00
wulan17
c4362ad535
pyrofork: Add blockquote expandable parser
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2024-06-02 14:42:40 +07:00
coglione
4cec859126
pyrofork: Add high level support for pre-checkout queries and service messages for successful payments
* Add high level support for pre-checkout queries

* Add high level support for incoming payments

* Update and fix documentation

---------

Co-authored-by: KurimuzonAkuma <31959970+KurimuzonAkuma@users.noreply.github.com>
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2024-06-02 14:41:02 +07:00
KurimuzonAkuma
8b52f1f71d
pyrofork: Add get_available_effects method
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2024-06-02 14:39:02 +07:00
KurimuzonAkuma
3db7bd1dae
pyrofork: Add some errors to known errors
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2024-06-02 14:38:02 +07:00
KurimuzonAkuma
ef002e0416
pyrofork: Add support for clicking web app and user profile buttons
Co-authored-by: Shrimadhav U K <SpEcHiDe@users.noreply.github.com>
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2024-06-02 14:38:02 +07:00
KurimuzonAkuma
ed6403db3c
pyrofork: Add view_once parameter to send_photo
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2024-06-02 14:38:02 +07:00
KurimuzonAkuma
40b679a878
pyrofork: Add topic filter
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2024-06-02 14:38:01 +07:00
shriMADhav U k
f84e1f6a5e
pyrofork: add ability to specify our own interactions in send_chat_action
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2024-06-02 14:38:01 +07:00
shriMADhav U k
f03f5ffd79
pyrofork: Update ChatMemberUpdatedHandler to support UpdateBotStopped updates
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2024-06-02 14:38:01 +07:00
shriMADhav U k
b7dcc5b298
pyrofork: Add gifted_premium to Message
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2024-06-02 14:38:00 +07:00
shriMADhav U k
8ea36645c0
pyrofork: Add revoke_messages to ban_chat_member
pyrogram/pyrogram#1421

Signed-off-by: wulan17 <wulan17@nusantararom.org>
2024-06-02 14:35:35 +07:00
shriMADhav U k
e70556f00f
pyrofork: Added the field via_join_request to the class ChatMemberUpdated.
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2024-06-02 14:35:35 +07:00
shriMADhav U k
f2ebe880dc
pyrofork: Added the max_reaction_count to the Chat
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2024-06-02 14:35:35 +07:00
Gautam Kumar
d2ee1653a7
pyrofork: update MIN_CHANNEL_ID
update MIN_CHANNEL_ID

Reference: https://t.me/pyrogramchat/593087
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2024-06-02 14:35:35 +07:00
shriMADhav U k
f684ce9563
pyrofork: Add message_effect_id to send* methods
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2024-06-02 14:35:35 +07:00
shriMADhav U k
45a7764153
pyrofork: Added the field effect_id to the Message.
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2024-06-02 14:34:47 +07:00
shriMADhav U k
e414aa2812
pyrofork: Handle FLOOD_PREMIUM_WAIT
Squashed commit of the following:

commit 546b603
commit 0ac858d
commit c8a9725

Ref: https://t.me/swiftgram/72
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2024-06-02 14:34:47 +07:00
shriMADhav U k
21de92d909
pyrofork: Support for Chat Video Type
Add has_animation, is_personal, minithumbnail to ChatPhoto
Change return type of get_chat_photos

Inspiration from KurimuzonAkuma/pyrogram#60 but MVB_#1333

Signed-off-by: wulan17 <wulan17@nusantararom.org>
2024-06-02 14:34:47 +07:00