Commit Graph

3253 Commits

Author SHA1 Message Date
Dan
03103fd8da Merge branch 'errors' 2020-11-20 01:54:14 +01:00
Dan
76985faa11 Evaluate debug raw data only when actually needed
#541
2020-11-20 01:53:19 +01:00
Dan
1b42fb7f77 Rename "error" package to "errors" 2020-11-13 17:59:41 +01:00
Dan
6a8741124d Sort errors, add sort.py script for future sorts 2020-11-13 17:58:10 +01:00
Dan
f3b96e889f Add extra errors 2020-11-13 17:49:27 +01:00
Dan
e4405db50d Fix senders wrongly being in sender_chat instead of from_user 2020-11-10 18:54:52 +01:00
Dan
80f8010d50 Add support for pinned messages in search_messages 2020-11-10 18:43:47 +01:00
Dan
418ad164a0 Update Message.author_signature docs 2020-11-08 13:54:25 +01:00
Dan
f832df14b4 Add parameter is_anonymous to the method promote_chat_member 2020-11-08 13:52:15 +01:00
Dan
e71bb87a2d Add is_anonymous attribute to ChatMember 2020-11-08 13:49:44 +01:00
Dan
abffef5d94 Add support for anonymous messages
Add Message.sender_chat attribute
2020-11-08 13:43:49 +01:00
Dan
fa24439ee3 Add support for InputMediaDocument in media groups 2020-11-08 13:39:43 +01:00
Dan
ebf2d68386 Add new method unpin_all_chat_messages 2020-11-08 13:21:40 +01:00
Dan
c7e4e55607 Add "bio" attribute in Chat objects 2020-11-08 13:01:23 +01:00
Dan
6027ee867f Fix broken Chat parsing for user/bot chats 2020-11-06 10:56:48 +01:00
Dan
e850530a9b
Merge pull request #529 from SmartManoj/patch-1
Fixed grammatical error
2020-11-01 08:52:28 +01:00
மனோஜ்குமார் பழனிச்சாமி
e2806acbde
Update faq.rst 2020-11-01 07:49:24 +05:30
Dan
888e296813
Merge pull request #528 from pyrogram/fixes
Collection of fixes
2020-10-31 19:30:41 +01:00
Dan
c139d78b34 Fix wrong imports in examples 2020-10-31 19:29:39 +01:00
Shrimadhav U K
a2b8658153
Add missing parameters in Message.reply_poll (#507) 2020-10-31 17:26:10 +01:00
Dan
1863900299 Fix of a small mess up 2020-10-31 17:15:47 +01:00
Shrimadhav U K
740bcd145a
Update creator ChatMember with admin permissions (#523) 2020-10-31 17:14:32 +01:00
Victor Ajibade
61df1957a0
Spelling correction in docs (#524)
A spelling correction was made under the "Using add_handler()" section.
2020-10-31 17:09:34 +01:00
NoamDev
62999772c2
Fix wrong comparison with a non-raw type (#525)
chatex.send now returns raw.types.Chat instead of types.Chat
2020-10-31 17:08:29 +01:00
GodSaveTheDoge
028e6ed04a
Make objects pickable by removing the _client attribute (#526) 2020-10-31 17:06:29 +01:00
Dan
e39ebdec82
Merge pull request #527 from pyrogram/L120
Update API schema to Layer 120
2020-10-31 16:56:27 +01:00
Dan
fe16dc8043 Allow sending audio playlists 2020-10-31 16:47:55 +01:00
Dan
832f1f6d53 Update pin/unpin_chat_message and Message.pin/unpin 2020-10-31 16:47:32 +01:00
Dan
431abd6a51 Merge branch 'L120' into L119
# Conflicts:
#	compiler/api/source/main_api.tl
2020-10-31 16:20:18 +01:00
Dan
31f9772917 Update API schema to Layer 120 2020-10-30 19:50:29 +01:00
M. Smits
332468d271
Enhance filters.me to allow it intercept own anonymous messages (#501)
* Check message.outgoing 'True' in me_filter.

* After reinterpretation of the ticket, check if user or outgiong.

Closes #499
2020-10-18 18:37:41 +02:00
Mahesh19
87f20a1ac2
Update examples for send_media_group.py (#481)
InputMediaPhoto and InputMediaVideo are under pyrogram.types
2020-10-18 18:00:17 +02:00
KILR
d41f8a66f0
Fix small typo (#502)
* Fix Typo

* No extra new line

* Update mime.types

Co-authored-by: Dan <14043624+delivrance@users.noreply.github.com>
2020-10-18 17:59:36 +02:00
GodSaveTheDoge
00dd4bc403
Make Message.new_chat_photo downloadable (#508)
Fixes #364
2020-10-18 17:54:03 +02:00
Dan
dadb4b4eb6 Do not recalculate the md5 sum in case of chunk re-uploads 2020-10-17 17:07:32 +02:00
Dan
f3e515a2f2 Update emoji.py 2020-10-01 19:37:03 +02:00
Dan
4632879ee4 Changes for L119 2020-09-30 20:26:57 +02:00
Dan
5ee932b326 Update API Schema to Layer 119 2020-09-30 19:12:12 +02:00
Dan
3127edde68
Add missing method to the mixin
delete_user_history
2020-09-16 09:16:31 +02:00
Dan
ae88c851bb Fix sync callback progress not working properly for downloads
- Reduce duplicated code
- Fixes #484
2020-09-05 12:44:48 +02:00
Dan
58667d2ae8 Update Pyrogram to v1.0.7 2020-09-05 12:26:22 +02:00
Dan
44880f7efe Use the current loop instead of the main loop in case there is one available
#482
2020-09-02 13:07:56 +02:00
Dan
617f0c9b30 Set the main event loop in threads where there's no event loop
#480
2020-08-31 00:17:33 +02:00
Dan
be62ac365f Use a reasonable sleep threshold when downloading files 2020-08-30 22:19:55 +02:00
Dan
8f2e4f03b7 Fix access to invalid attributes when parsing a chat dc_id 2020-08-30 13:18:10 +02:00
Dan
b39f2c44b8 Merge branch 'fgallaire-develop' 2020-08-30 11:34:38 +02:00
Dan
fcc78091c2 Show warnings when messages are not compatible with as_copy 2020-08-30 11:34:23 +02:00
Dan
35ec328913
Update message.py 2020-08-30 11:23:42 +02:00
Dan
a18e0242fa Fix raw API not being properly imported when using repr/eval
Fixes #423
2020-08-30 11:17:20 +02:00
Dan
33d04b5916 Change default get/iter_chat_members filter to "recent" 2020-08-30 10:58:55 +02:00