Alisson Lauffer
4401c62244
Add full_name property to User and Chat objects
...
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2023-04-10 22:28:56 +07:00
wulan17
99e3f3e317
PyroFork: Bump version to 2.1.4
...
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2023-03-17 01:04:07 +07:00
Dan
d398b5b29c
Separate cases between Channel and ChannelForbidden
...
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2023-03-17 00:59:21 +07:00
Dan
8940c7d1f6
Update chat username parsing in case of multiple usernames
...
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2023-03-17 00:59:20 +07:00
Dan
3163030574
Update send_inline_bot_result return type hint
...
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2023-03-17 00:59:20 +07:00
Jins Mathew
cb7ba4f821
Add missing has_spoiler parameter to reply_{animation,photo,video}
...
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2023-03-17 00:58:52 +07:00
wulan17
84b4d2181b
PyroFork: Bump version to 2.1.3
...
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2023-01-30 01:22:44 +07:00
wulan17
fbe56d5426
PyroFork: Bump version to 2.1.2
...
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2023-01-30 01:20:48 +07:00
kkwilllo
1d113f8aa4
add min & max id support
...
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2023-01-17 22:13:54 +07:00
wulan17
034a4d6041
PyroFork: More cleanup
...
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2023-01-17 20:45:50 +07:00
wulan17
42a2f04d8e
Revert "PyroFork: Add listen and ask"
...
This reverts commit e39fdcca0e .
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2023-01-17 20:43:44 +07:00
wulan17
f55d75d3bb
PyroFork: Add support to send animation in media group
...
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2023-01-14 01:02:14 +07:00
wulan17
0f60e05fce
PyroFork: Bump version to 2.1.1
...
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2023-01-05 01:59:32 +07:00
Cezar Pauxis
e39fdcca0e
PyroFork: Add listen and ask
...
Co-authored-by: wulan17 <wulan17@nusantararom.org>
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2023-01-05 01:58:09 +07:00
wulan17
00fb071215
PyroFork: docs: Add missing ChatJoinedByRequest, PeerUser and PeerChannel
...
and some cleanup
Signed-off-by: wulan17 <galihgustip@gmail.com>
2023-01-04 11:02:48 +07:00
wulan17
609d8985d4
PyroFork: Cleanup parameter description
...
Signed-off-by: wulan17 <galihgustip@gmail.com>
2023-01-04 09:52:13 +07:00
wulan17
e15e3d7d50
PyroFork: Add get_forum_topic and get_forum_topic_by_id methods
...
Signed-off-by: wulan17 <galihgustip@gmail.com>
2023-01-03 15:52:31 +07:00
wulan17
b2158f702a
PyroFork: Cleanup
...
Signed-off-by: wulan17 <galihgustip@gmail.com>
2023-01-02 10:00:36 +07:00
wulan17
97f0ecc7c9
PyroFork: Add CloseGeneralTopic, EditGeneralTopic, ReopenGeneralTopic, HideGeneralTopic. UnhideGeneralTopic, and some cleanup
...
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2023-01-02 00:40:04 +07:00
wulan17
b64d33dca0
PyroFork: rebrand
...
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2023-01-01 23:41:56 +07:00
Dan
482798c2fc
Set has_media_spoiler only in case of Photo, Video or Animation media
2023-01-01 23:12:45 +07:00
Dan
64177b533c
Fix resolving peers for users with multiple usernames
...
This currently makes it work for the first available username only
2023-01-01 23:12:45 +07:00
Dan
3c0e86a167
Add support for email sign in codes
...
Fixes #1183
2023-01-01 23:12:45 +07:00
Dan
09ad827374
Add media spoiler support for other relevant methods
...
- send_media_group()
- edit_message_media()
- edit_inline_media()
2023-01-01 23:12:45 +07:00
Dan
94c589ed43
Add the field is_persistent to the class ReplyKeyboardMarkup
2023-01-01 23:12:44 +07:00
Dan
77cfaa0ff4
Add the field has_spoiler to relevant InputMedia* classes
...
- InputMediaPhoto
- InputMediaVideo
- InputMediaAnimation
2023-01-01 23:12:44 +07:00
Dan
28307ca58e
Add media_spoiler filter
2023-01-01 23:12:44 +07:00
Dan
65b045ff2d
Add the parameter has_spoiler to relevant send_* media methods
...
- send_photo()
- send_video()
- send_animation()
2023-01-01 23:11:28 +07:00
Dan
b865512c68
Add the field has_media_spoiler to the class Message
2023-01-01 23:11:15 +07:00
omg-xtao
3e219771bd
Add support for Fragment SMS codes ( #1170 )
2023-01-01 23:11:07 +07:00
wulan17
aedade2ff2
Pyrogram: add message_thread_id parameter to send_chat_action
...
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2023-01-01 22:53:36 +07:00
wulan17
8428de1722
Pyrogram: add GeneralTopicHidden and GeneralTopicUnhidden service messages types
...
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2023-01-01 22:48:39 +07:00
wulan17
d89b083bf0
Pyrogram: Add message_thread_id parameter to send_inline_bot_result()
...
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2022-12-17 15:39:11 +07:00
wulan17
ede9af3e00
Pyrogram: types: Message: Add error handling and is_topic_message
...
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2022-12-17 15:30:58 +07:00
Dan
abf1b2fece
Update Pyrogram to v2.0.70
2022-12-14 13:36:53 +07:00
Anton Kovalevich
b038890745
Handle all given updates, avoid short circuit ( #1162 )
2022-12-14 13:36:52 +07:00
wulan17
e0b7576418
Pyrogram: Add chat_joined_by_request
...
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2022-12-14 13:36:52 +07:00
wulan17
86883a3b91
Pyrogram: Cleanup
...
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2022-12-14 13:34:43 +07:00
wulan17
e38ceb08cc
Pyrogram: utils: Check if messages has topics atribut
...
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2022-12-10 13:52:57 +07:00
wulan17
b76bf48862
Pyrogram: Add {CREATED,EDITED,DELETED}_FORUM_TOPIC ChatEvent
...
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2022-12-09 23:41:40 +07:00
wulan17
9f32305c3a
Pyrogram: Add message_thread_id parameter to copy_message method
...
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2022-12-09 23:41:40 +07:00
wulan17
6edc4256c3
Pyrogram: Add {create,close,reopen,edit,delete}_forum_topic methods
...
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2022-12-09 23:41:39 +07:00
wulan17
a1aa281614
Pyrogram: Add ForumTopic and some cleanup
...
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2022-12-09 18:24:31 +07:00
wulan17
00520678f6
Pyrogram: Add message_thread_id parameter to send_game() method and copy() bound method
...
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2022-12-09 18:12:06 +07:00
wulan17
f22cc34c9a
Pyrogram: Add message_thread_id parameter to forward_message() method and forward() bound method
...
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2022-12-09 18:12:05 +07:00
wulan17
9b92492553
Pyrogram: Add message_thread_id parameter to send_{animation,audio,cached_media,contact,dice,document,location,media_group,message,photo,poll,sticker,venue,video,video_note,voice} methods
...
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2022-12-09 18:07:36 +07:00
wulan17
c9e36cc150
Pyrogram: Add manage_topics parameter to promote_chat_member, restrict_chat_member, and set_chat_permissions methods
...
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2022-12-09 18:07:36 +07:00
wulan17
eeb1338c48
Pyrogram: Add can_manage_topics fields to ChatPrivileges and ChatPermissions class
...
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2022-12-09 18:07:35 +07:00
wulan17
115b9877b6
Pyrogram: Add ForumTopicCreated, ForumTopicClosed, ForumTopicReopened, ForumTopicEdited service message types
...
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2022-12-09 18:07:35 +07:00
wulan17
6f8aaa449c
Pyrogram: Add message_thread_id and is_topic_message fields to Message class, and is_forum fields to Chat class
...
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2022-12-09 18:07:27 +07:00
Dan
73554b9d38
Update Pyrogram to v2.0.69
2022-12-06 21:34:09 +01:00
Dan
217bcb1dfb
Fix HTML unparsing when there's no entities
2022-12-06 21:33:46 +01:00
Dan
86515bb9d1
Update Pyrogram to v2.0.68
2022-12-06 20:12:46 +01:00
Andrea Princic
669b39927b
Escape text inside entity when building unparsed text ( #1156 )
2022-12-06 20:09:31 +01:00
Dan
fd2819ca7f
Update Pyrogram to v2.0.67
2022-12-06 19:11:47 +01:00
Dan
38e9745a80
Update Pyrogram to v2.0.66
2022-12-06 18:50:43 +01:00
Andrea Princic
2ed000381d
Update the HTML logic to output well-formed elements ( #1155 )
...
* unparsing html entities with deque
* unparsing using a stack (recursive)
2022-12-06 18:29:27 +01:00
Dan
ad773455a7
Update Pyrogram to v2.0.65
2022-12-06 18:10:36 +01:00
Dan
3cf1ac7d92
Update the order in which media messages are parsed
2022-12-06 18:09:42 +01:00
Dan
d734fbb180
Fix User.emoji_status type hint
2022-12-06 18:08:38 +01:00
Dan
fb85a14277
Update Pyrogram to v2.0.64
2022-12-06 14:15:46 +01:00
Dan
70b6738908
Update Pyrogram to v2.0.63
2022-11-25 22:11:57 +01:00
Dan
9b6cb070b9
Update Pyrogram to v2.0.62
2022-11-18 12:14:49 +01:00
Dan
e3e9731973
Update Pyrogram to v2.0.61
2022-11-15 11:15:05 +01:00
Dan
1699ef0d4c
Disable parse mode when copying messages
...
The entities are already taken from the original message
2022-11-15 11:13:53 +01:00
Dan
23d953237e
Update Pyrogram to v2.0.60
2022-11-13 14:29:06 +01:00
Deekshith SH
0e64ebc0be
Fix typo ( #1029 )
2022-11-13 14:28:18 +01:00
ALi.w
31b32184c9
Use getattr to get outgoing attribute in filters.me ( #1137 )
...
* Use getattr to get outgoing attribute from the message in me_filter.
Fixes #1136 .
Signed-off-by: Aliwoto <woto@kaizoku.cyou>
* Update filters.py
Signed-off-by: Aliwoto <woto@kaizoku.cyou>
Co-authored-by: Dan <14043624+delivrance@users.noreply.github.com>
2022-11-13 14:27:19 +01:00
Artem Kvrvgv
b848e05225
Fix copy_message return type hint ( #1128 )
...
* fixed copy_message method type-hint
* Update copy_message.py
Co-authored-by: Dan <14043624+delivrance@users.noreply.github.com>
2022-11-13 14:25:19 +01:00
Albert Einstein
1b02a6a148
Add __all__ for better enums suggestions ( #1126 )
2022-11-13 14:23:30 +01:00
Ihor Boichuk
c98963973e
Add Message.forwards field ( #1103 )
...
* Added missing field: forwards
* Update message.py
Co-authored-by: Dan <14043624+delivrance@users.noreply.github.com>
2022-11-13 14:22:12 +01:00
Sam
b423730dcb
Fix on_disconnect decorator not working ( #1134 )
...
* Fix on_disconnect decorator not working
* Remove useless if else statment in on_raw_update
2022-11-13 14:18:42 +01:00
Dan
ef92389ed0
Update Pyrogram to v2.0.59
2022-10-16 12:07:57 +02:00
Dan
3eda82d0af
Update html.py
2022-10-16 12:07:24 +02:00
Dan
b660115a60
Update Pyrogram to v2.0.58
2022-10-15 18:20:46 +02:00
Andrea Princic
9ade92c855
Add languages to "pre" tags (HTML and Markdown) #1118
...
* added `language` to entities when unparsing (both markdown and html)
* added `language` to entities also when parsing (html only)
* Update html.py
* Update markdown.py
* Update markdown.py
* Update markdown.py
Co-authored-by: Dan <14043624+delivrance@users.noreply.github.com>
2022-10-15 18:19:38 +02:00
Dan
bf52ec1e94
Update usable-by labels
2022-10-15 15:51:02 +02:00
Dan
bb44f36247
Add usable-by labels for methods
2022-10-14 11:54:26 +02:00
Dan
0e68bf35b7
Update Pyrogram to v2.0.57
2022-09-23 09:50:31 +02:00
Dan
ec476aa293
Call get_me() before initializing the client
2022-09-23 09:50:11 +02:00
Dan
f407f88395
Update Pyrogram to v2.0.56
2022-09-22 15:27:03 +02:00
Dan
2870ae84e7
Move get_me() call into start()
2022-09-22 15:26:42 +02:00
Dan
862285e1e6
Update Pyrogram to v2.0.55
2022-09-20 16:40:36 +02:00
Dan
4edaa21c19
Don't create download dirs for in-memory downloads
2022-09-20 16:39:53 +02:00
Dan
a2fe5b3e79
Update Pyrogram to v2.0.54
2022-09-18 17:56:05 +02:00
Dan
71f263b30d
Re-raise asyncio.CancelledError to avoid continuations
2022-09-18 17:55:50 +02:00
Dan
2d547ccf8c
Update Pyrogram to v2.0.53
2022-09-18 17:33:16 +02:00
Dan
3940ca9611
Revamp handling of partial downloads
2022-09-18 17:32:02 +02:00
Nyan
468ebf50cf
Add tempfile deletion in case of asyncio task cancellation. ( #1080 )
2022-09-18 17:24:51 +02:00
Dan
81895d74c7
Fix Chat.available_reactions type hint
2022-09-18 16:04:07 +02:00
Dan
53584bc1db
Add chosen_order to Reaction
2022-09-18 15:44:18 +02:00
Dan
9f94aee9f8
Update Pyrogram to v2.0.52
2022-09-15 16:52:14 +02:00
Dan
6dced525ab
Update example
2022-09-15 12:15:13 +02:00
Dan
7558e04cfc
Update Pyrogram to v2.0.51
2022-09-06 19:05:09 +02:00
Dan
f9aacd814a
Update poll parsing
2022-09-06 19:04:47 +02:00
Dan
8490cfa0a9
Update Pyrogram to v2.0.50
2022-09-05 18:19:02 +02:00
Dan
e0fdcc7f3a
Fix send_reaction
...
Fixes #1086
2022-09-05 18:18:42 +02:00
Dan
1a1075090d
Update Pyrogram to v2.0.49
2022-09-03 14:24:10 +02:00
Dan
1db03c4351
Fix for older Python versions
2022-09-03 14:23:52 +02:00
Dan
210f538d55
Update Pyrogram to v2.0.48
2022-09-03 14:18:51 +02:00