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
c8b2a3adca
Pyrofork: Add quote_entities parameter to send_{*} methods and Message.reply_{*} bound methods
...
also add missing parameters to InputReplyToMessage docs
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2023-12-31 17:43:34 +07:00
wulan17
cd0473c6af
Pyrofork: Move reply_to to pyrogram.utils
...
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2023-12-31 17:43:34 +07:00
wulan17
e3e84d91e8
Pyrofork: Add support to reply message in another chat
...
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2023-11-25 21:51:41 +07:00
wulan17
570195a773
Pyrofork: Add Quote
...
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2023-10-29 15:03:19 +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
ea33dc43a4
Pyrofork: Add Forum Topic Support
...
Signed-off-by: wulan17 <wulan17@nusantararom.org>
Pyrofork: Add ForumTopicCreated, ForumTopicClosed, ForumTopicReopened, ForumTopicEdited service message types
Signed-off-by: wulan17 <wulan17@nusantararom.org>
Pyrofork: Add can_manage_topics fields to ChatPrivileges and ChatPermissions class
Signed-off-by: wulan17 <wulan17@nusantararom.org>
Pyrofork: Add manage_topics parameter to promote_chat_member, restrict_chat_member, and set_chat_permissions methods
Signed-off-by: wulan17 <wulan17@nusantararom.org>
Pyrofork: 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>
Pyrogram: Add message_thread_id parameter to forward_message() method and forward() bound method
Signed-off-by: wulan17 <wulan17@nusantararom.org>
Pyrofork: Add message_thread_id parameter to send_game() method and copy() bound method
Signed-off-by: wulan17 <wulan17@nusantararom.org>
Pyrogram: Add ForumTopic and some cleanup
Signed-off-by: wulan17 <wulan17@nusantararom.org>
Pyrofork: Add {create,close,reopen,edit,delete}_forum_topic methods
Signed-off-by: wulan17 <wulan17@nusantararom.org>
Pyrofork: Add message_thread_id parameter to copy_message method
Signed-off-by: wulan17 <wulan17@nusantararom.org>
Pyrofork: Add {CREATED,EDITED,DELETED}_FORUM_TOPIC ChatEvent
Signed-off-by: wulan17 <wulan17@nusantararom.org>
Pyrofork: utils: Check if messages has topics atribut
Signed-off-by: wulan17 <wulan17@nusantararom.org>
Pyrogram: types: Message: Add error handling and is_topic_message
Signed-off-by: wulan17 <wulan17@nusantararom.org>
Pyrofork: Add message_thread_id parameter to send_inline_bot_result()
Signed-off-by: wulan17 <wulan17@nusantararom.org>
Pyrofork: add GeneralTopicHidden and GeneralTopicUnhidden service messages types
Signed-off-by: wulan17 <wulan17@nusantararom.org>
Pyrofork: add message_thread_id parameter to send_chat_action
Signed-off-by: wulan17 <wulan17@nusantararom.org>
PyroFork: Add CloseGeneralTopic, EditGeneralTopic, ReopenGeneralTopic, HideGeneralTopic. UnhideGeneralTopic, and some cleanup
Signed-off-by: wulan17 <wulan17@nusantararom.org>
PyroFork: Add get_forum_topic and get_forum_topic_by_id methods
Signed-off-by: wulan17 <galihgustip@gmail.com>
Pyrofork: Update some methods to layer 160
Signed-off-by: wulan17 <wulan17@nusantararom.org>
pyrofork: Add InputReplyToMessage
Signed-off-by: wulan17 <wulan17@nusantararom.org>
PyroFork: docs: Add missing PeerUser and PeerChannel
and some cleanup
Signed-off-by: wulan17 <galihgustip@gmail.com>
2023-08-18 03:30:36 +07:00
Dan
bb44f36247
Add usable-by labels for methods
2022-10-14 11:54:26 +02:00
Dan
6cf849c3ea
Revert "Update maximum caption length ( #989 )"
...
This reverts commit f1e4a0ce74 .
2022-05-07 12:01:14 +02:00
leonardotty
f1e4a0ce74
Update maximum caption length ( #989 )
...
Co-authored-by: leonardotty <leonardo.rossidev@gmail.com>
Co-authored-by: Dan <14043624+delivrance@users.noreply.github.com>
2022-05-06 22:06:11 +02:00
Dan
b47591e6d2
Turn examples asynchronous
2022-04-24 11:56:07 +02:00
Dan
0e3c2e4412
Rename RPCError.x to RPCError.value
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
b697826b5a
Replace integer timestamps with datetime objects
2022-04-24 11:56:06 +02:00
Dan
bbad58a83f
Add enumerations
2022-04-24 11:56:06 +02:00
blank X
e0eccfa8fb
Respect file_name if file passed is a file object ( #912 )
...
Fixes #911
2022-02-26 11:13:08 +01: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
f6625192d0
Add parameter protect_content to send_* methods
2022-01-03 11:12:24 +01:00
Dan
182768a5d3
Add support for LoginUrl buttons
2021-03-17 17:13:55 +01:00
Dan
7dda167c09
Update copyright notice
...
Year 2021
2021-01-01 22:58:48 +01:00
Dan
c2c857b61b
Fix wrong usages of italic delimiters
2020-12-26 13:08:40 +01:00
Alisson Lauffer
1dc4df8cb1
Improve typing hints ( #537 )
...
* Change type1 or type2 to Union[type1, type2]
* Address @KunoiSayami suggestions
* Change Union[type1, None] to Optional[type1]
* Update PR with latest commit changes
* Address Dan suggestions
2020-12-20 17:05:17 +01:00
Dan
384f4eba71
Add support for manual text entities.
2020-11-29 15:48:29 +01:00
Dan
a4566de2ef
Add support for the new Bot API fields: file_id, file_unique_id
...
Remove file_ref from Pyrogram's API
2020-11-27 22:09:17 +01:00
Dan
f909e1e4ea
Fix "invalid escape" warnings
2020-08-26 09:07:26 +02:00
Dan
538f1e3972
Deep rewrite: preparing for v1.0
...
- Pyrogram core is now fully asynchronous
- Ditched Python 3.5, welcome 3.6 as minimum version.
- Moved all types to pyrogram.types
- Turned the Filters class into a module (filters)
- Moved all filters to pyrogram.filters
- Moved all handlers to pyrogram.handlers
- Moved all emoji to pyrogram.emoji
- Renamed pyrogram.api to pyrogram.raw
- Clock is now synced with server's time
- Telegram schema updated to Layer 117
- Greatly improved the TL compiler (proper type-constructor hierarchy)
- Added "do not edit" warning in generated files
- Crypto parts are executed in a thread pool to avoid blocking the event loop
- idle() is now a separate function (it doesn't deal with Client instances)
- Async storage, async filters and async progress callback (optional, can be sync too)
- Added getpass back, for hidden password inputs
2020-08-22 08:05:05 +02:00