Commit Graph

3273 Commits

Author SHA1 Message Date
Dan
a0e0cbe477 Improve FAQs 2020-11-27 22:09:45 +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
e0c3578fbb Set default file_reference to b"" instead of None 2020-11-27 22:02:52 +01:00
Dan
b85096c4ce Fix thumbnail_file_type type (str -> FileType) 2020-11-27 21:14:37 +01:00
Dan
8fbe45ddba Docs improvements 2020-11-27 19:06:25 +01:00
Dan
30664b26d5 Remove "schedule" from docs 2020-11-27 19:05:58 +01:00
Dan
ce729fa1e3 Fix docs errors path 2020-11-27 19:04:34 +01:00
Dan
3f351d5875 Improve test coverage 2020-11-27 14:13:34 +01:00
Dan
786235f316 Fix version being taken from class fields instead of instance fields 2020-11-27 14:12:49 +01:00
Dan
fa820328c3 Filter None values out from stringified file ids 2020-11-27 14:01:13 +01:00
Dan
a2d7da1f59
Fix Illegal quoting 2020-11-24 16:11:13 +01:00
Dan
2f127451fb Add github.com/delivrance to FUNDING.yml 2020-11-20 03:27:54 +01:00
Dan
63b3a61ae4 Add macOS and Windows environments for tests 2020-11-20 02:11:12 +01:00
Dan
bf7bd45f1c Fix compiled errors destination path 2020-11-20 02:04:24 +01:00
Dan
d215f4b515 Merge branch 'master' into tests 2020-11-20 01:55:31 +01:00
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
bbd2a23c2d Fix missing API when running actions 2020-11-20 01:48:13 +01:00
Dan
6e7c0309b5 Add GitHub workflow actions 2020-11-20 01:24:42 +01:00
Dan
91f3a16d08 Make use of tox for tests 2020-11-20 01:23:16 +01:00
Dan
fb28e4d943 Add file_id.py tests 2020-11-20 01:22:37 +01:00
Dan
301a13edd2 Add file_id.py
A module to deal with Telegram file ids
2020-11-20 01:22:01 +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