Commit Graph

3441 Commits

Author SHA1 Message Date
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
Dan
6a5469edaf Don't attempt to retrieve chat attributes from empty messages
Fixes #479
2020-08-30 10:57:31 +02:00
Dan
ecdba6be6f Add a new way to support Pyrogram
- Add Hetzner link for cloud credits.
2020-08-29 20:52:09 +02:00
Dan
352ea59483
Update bug_report.md 2020-08-29 17:37:08 +02:00
Dan
84f6973bbb Update Pyrogram to v1.0.6 2020-08-29 17:28:55 +02:00
Dan
15bdb3de4f Attempt to fix clock issues when running on AWS Lambda 2020-08-29 17:28:39 +02:00
Dan
71bdfe6c40 Fix get_profile_photos not working correctly in case of no chat photos 2020-08-29 17:26:16 +02:00
Dan
2c99926825 Update Pyrogram to v1.0.5 2020-08-29 16:59:30 +02:00
Dan
5e3f2ab947 Replace monotonic() with perf_counter()
It seems like monotonic() goes out of sync after some time.
2020-08-29 16:58:49 +02:00
Dan
c689273167 Add force_document argument for send_document 2020-08-29 15:50:36 +02:00
Dan
92bc59e688 Fix dispatcher not obeying to the INFO logging level 2020-08-29 15:46:39 +02:00
Dan
22d9077e2b Warn users in case they try to use base types as arguments 2020-08-29 15:12:45 +02:00
Dan
4dd068643d Fix get_profile_photos not working properly in channels 2020-08-29 15:11:21 +02:00