Shrimadhav U K
3426ad59a2
pyrofork: Add allow_paid_broadcast parameter to methods.
...
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2024-11-21 23:32:54 +07:00
shriMADhav U k
3a41a51359
Added support for InputMessageContent classes, according to BOT API.
...
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2024-06-23 16:59:33 +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
wulan17
7ddd53f61b
Pyrofork: Add business_connection_id parameter to send_{animation,audio,chat_action,contact,dice,document,game,location,media_group,message,photo,poll,sticker,venue,video,video_note,voice,web_page}
...
Signed-off-by: wulan17 <wulan17@nusantararom.org>
2024-04-06 21:56:08 +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
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
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
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
b697826b5a
Replace integer timestamps with datetime objects
2022-04-24 11:56:06 +02:00
Dan
626a1bd938
Update copyright year
2022-01-07 10:23:45 +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
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