Yasir Aris M
2e0ec55dd3
pyrofork: Update set_profile_photo notes
...
Signed-off-by: Yasir <git@yasir.id>
2025-01-10 10:30:11 +00:00
n/a
45b47af9b2
fix(py3.9): use List from typing for type hinting instead of built-in list
2024-11-25 07:14:37 +07:00
wulan17
f990b1e7f9
pyrofork: Update documentation url
...
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2024-10-13 01:54:55 +07:00
wulan17
f7e1f214c6
pyrofork: Add emoji and emoji_background parameters to set_profile_photo method
...
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2024-09-07 20:52:12 +07:00
wulan17
b412622bc7
pyrofork: Fix get_chat_photo incase photo not found and limit param is enabled
...
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2024-09-02 23:08:46 +07:00
wulan17
9dbd784e7c
pyrofork: fix get_stories doc
...
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2024-08-02 19:48:37 +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
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
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
XiaoCai
fd0a23a528
docs(update_birthday): Fix error in examples
2024-04-08 00:50:11 +08:00
wulan17
fa0376c458
Pyrofork: Add update_personal_chat method
...
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2024-04-06 21:56:08 +07:00
wulan17
8ca9045ebc
Pyrofork: Add update_birthday method
...
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2024-04-06 21:56:08 +07:00
wulan17
1b3f0933c7
Pyrofork: Update Copyright headers
...
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2024-02-07 20:25:08 +07:00
wulan17
f2b6182584
Pyrofork: Move duplicated codes to separate method
...
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2024-01-12 00:26:44 +07:00
wulan17
41e13454e7
Pyrofork: remove animation from send_story ValueError
...
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2024-01-12 00:26:44 +07:00
wulan17
f1b4d1ca49
Pyrofork: Refactor send_story method
...
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2024-01-04 19:50:17 +07:00
wulan17
48c7a5e2f9
Pyrofork: Add support for t.me/<username> link in resolve_peer method
...
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2024-01-04 19:50:17 +07:00
wulan17
e9f3677908
Pyrofork: Add support for username in reply_in_chat_id and stories chat_id
...
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2024-01-04 19:50:16 +07:00
wulan17
0b5cc55768
Pyrofork: fix send_story method
...
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2023-12-25 19:05:46 +07:00
wulan17
4c0b3e4090
Pyrofork: Refactor Story
...
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2023-12-25 18:45:49 +07:00
wulan17
b85382706d
Pyrofork: Add media_areas parameter to {send,edit}_story methods
...
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2023-12-25 17:08:54 +07:00
wulan17
c949de63c5
Pyrofork: Add forward_story method
...
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2023-12-07 23:02:47 +07:00
wulan17
da9c45a987
Pyrofork: Stories: Disable allowed_chats privacy for now
...
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2023-10-05 20:42:55 +07:00
wulan17
55abd409f3
Pyrofork: Rename StoriesPrivacy to StoriesPrivacyRules
...
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2023-10-05 20:42:33 +07:00
Np Dk
da2a9db70c
change story_id to id
2023-09-28 01:21:50 +07:00
wulan17
b345bf8876
Pyrofork: Update some methods and types to layer 164
...
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2023-09-22 16:33:52 +07:00
wulan17
b666cf1e8e
Pyrofork: Add get_all_stories method
...
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2023-09-02 20:38:54 +07:00
wulan17
94587b6d80
Pyrofork: Add get_stories_history method
...
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2023-09-02 19:42:54 +07:00
wulan17
d5c6e57627
Pyrofork: Add get_user_stories method
...
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2023-09-02 19:42:54 +07:00
wulan17
49e7a9616a
Pyrofork: fix derp
...
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2023-09-02 19:42:54 +07:00
wulan17
b670101dac
Pyrofork: Add Story Support
...
Signed-off-by: wulan17 <wulan17@nusantararom.org>
Pyrofork: Add Story and StoryViews
Signed-off-by: wulan17 <wulan17@nusantararom.org>
Pyrofork: Add get_stories method
Signed-off-by: wulan17 <wulan17@nusantararom.org>
Pyrofork: Add StoriesPrivacy
Signed-off-by: wulan17 <wulan17@nusantararom.org>
Pyrofork: Add send_story method
Signed-off-by: wulan17 <wulan17@nusantararom.org>
Pyrofork: Add edit_story method
Signed-off-by: wulan17 <wulan17@nusantararom.org>
Pyrofork: Add delete_story method
Signed-off-by: wulan17 <wulan17@nusantararom.org>
Pyrofork: Add export_story_link method
Signed-off-by: wulan17 <wulan17@nusantararom.org>
Pyrofork: Add story bound method
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2023-08-18 16:34:41 +07:00
wulan17
7a1684f074
PyroFork: rebrand
...
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2023-08-18 01:35:50 +07:00
Dan
bb44f36247
Add usable-by labels for methods
2022-10-14 11:54:26 +02:00
Dan
6dced525ab
Update example
2022-09-15 12:15:13 +02:00
Dan
1db03c4351
Fix for older Python versions
2022-09-03 14:23:52 +02:00
Dan
5d11c03b4e
Add set_emoji_status method
2022-09-03 14:18:12 +02:00
Dan
04b343f61b
Add get_default_emoji_statuses method
2022-09-03 14:06:46 +02:00
மனோஜ்குமார் பழனிச்சாமி
eb4ff1427b
Fix delete_profile_photos example ( #990 )
2022-06-20 11:42:37 +02:00
Dan
5681ccefe1
Add back the ability to pass iterators to some methods
2022-05-15 14:24:59 +02:00
DevOps117
6e1425ada3
Drop support for iterators where they are not needed ( #969 )
...
* delete_messages: Drop support for generators
Since we used a list there anyway, this approach will lead to more localized errors and can reduce function overhead.
Signed-off-by: devops117 <55235206+devops117@users.noreply.github.com>
* delete_messages: Return pts_count:int
An example usecase would be for a normal bot which uses range based on message ids
instead of keeping a track of messages and using the DeletedMessagesHandler.
Signed-off-by: devops117 <55235206+devops117@users.noreply.github.com>
* Drop support for Iterators and update docstrings and some cleanups.
Signed-off-by: devops117 <55235206+devops117@users.noreply.github.com>
* Update get_users.py
* Update get_messages.py
* Update delete_messages.py
* Update forward_messages.py
* Update get_messages.py
Co-authored-by: Dan <14043624+delivrance@users.noreply.github.com>
2022-05-14 08:58:30 +02:00
Dan
4cb9dec35d
Remove remaining iter_* methods
2022-04-24 11:56:07 +02:00
Dan
b47591e6d2
Turn examples asynchronous
2022-04-24 11:56:07 +02:00
Dan
78efb04b40
Rename Client.send to Client.invoke
2022-04-24 11:56:07 +02:00
Dan
32624ef5e6
Improve type hints
2022-04-24 11:56:06 +02:00
Dan
976c2c47a2
Rename update- to set_username and set_chat_username
2022-04-24 11:56:06 +02:00
Dan
626a1bd938
Update copyright year
2022-01-07 10:23:45 +01:00
Dan
8c8288412f
Various improvements
2022-01-07 10:18:51 +01:00
Dan
804d00fa0f
Update get_me.py
2021-11-26 18:07:28 +01:00
Dan
928c8acd01
Fix iter_profile_photos wrong hinted return type
2021-05-03 20:58:37 +02:00