Commit Graph

70 Commits

Author SHA1 Message Date
Dan
960280b996 Add new ChatMembers type 2018-07-08 08:39:36 +02:00
Dan
2b6c30d0e1 Update get_dialogs 2018-07-05 14:57:45 +02:00
Dan
8b43ad8a63 Add unread messages, mentions count and unread mark to Dialog 2018-07-04 21:49:11 +02:00
Dan
51194945c6 Add members_count attribute to Chat 2018-07-04 21:31:50 +02:00
Dan
91cf2d1a8e Make Dialog and Dialogs importable and printable 2018-07-04 21:05:00 +02:00
Dan
1ed202b926 Add Dialogs type 2018-07-04 21:03:51 +02:00
Dan
2b36fb31d9 Add Dialog type 2018-07-04 21:03:29 +02:00
Dan
6943e16636 Change new_chat_photo type. It is now Photo 2018-06-28 20:04:46 +02:00
Dan
b6206b7938 Fix small docstring issue 2018-06-28 20:03:50 +02:00
Dan
fbf69fb8bd Change photo type in Message 2018-06-28 19:09:27 +02:00
Dan
fb10b3b0e7 UserProfilePhoto.photos is now a list of Photo objects 2018-06-28 19:05:47 +02:00
Dan
971299f592 PhotoSize won't store date info anymore 2018-06-28 19:05:08 +02:00
Dan
5f87bbc962 Add the new Photo type 2018-06-28 19:04:45 +02:00
Dan
0935c4837f Fix ReplyKeyboardRemove id 2018-06-28 18:41:16 +02:00
Dan
fc1c653c05 Add TimeoutError on possible raises of Message.click() 2018-06-26 16:16:10 +02:00
Dan
1cc66c898d Fix request_callback_answer call with wrong kwarg 2018-06-26 14:05:45 +02:00
YoilyL
a04b08f245
Fixed tiny typo 2018-06-24 22:58:17 +03:00
Dan
03a17dd8db Rename reply_text() to reply()
Is shorter and looks nicer. When more methods like reply_audio(),
reply_photo(), etc. will be implemented, I can consider adding
reply_text() back again, maybe.
2018-06-23 14:24:31 +02:00
Dan
d95086163e Add click() bound method to Message 2018-06-23 14:09:07 +02:00
Dan
1c4047f2c6
Fix Update docstrings 2018-06-20 12:20:48 +02:00
Vitali
e6c6bd839c Add Handler to deleted messages update 2018-06-19 11:18:12 -03:00
Dan
244b4f15ce Remove duplicate parameter 2018-06-07 10:54:45 +02:00
Dan
95e16c2e6c Rename and rework Installation docs page 2018-06-05 16:36:37 +02:00
Dan
745049bda3 Protect client by renaming the property to _client 2018-06-03 17:54:57 +02:00
Dan
7752aef338 Add delete convenience method to Message objects 2018-06-03 17:50:24 +02:00
Dan
e94520b7bc Fix reply_text docstrings and add the Example section 2018-06-03 17:40:59 +02:00
Dan
131d792bad Add forward convenience method to Message objects 2018-06-03 17:40:28 +02:00
Dan
29dcdbdc92 Add reply_text convenience method to Message objects 2018-06-03 17:14:15 +02:00
Dan
4e383c68d4 Fix typo 2018-05-12 11:24:30 +02:00
Dan
e081637f37 Remove pyrogram types IDs from docs 2018-05-12 11:17:51 +02:00
Dan
ef93fee7aa Add new Messages object and make get_history return it 2018-05-11 18:00:16 +02:00
Dan
f7aca803b1 Hint about text.markdown in docstrings 2018-05-11 16:03:25 +02:00
Dan
84f9c2145c Add support for GIF files 2018-05-11 11:56:27 +02:00
Dan
8454d438be Refactor the project by using Mixin classes
This will cut client.py down from ~4k to ~1k SLOC and also
makes the whole project tidier and more organized.
2018-05-07 14:30:55 +02:00
Dan
4d81e6894d Make optional word italic 2018-04-30 19:30:16 +02:00
Dan
95bcfd9b26 Document reply_markup parameter 2018-04-30 19:28:16 +02:00
Dan
d3472fd052 Add CallbackQuery to docs 2018-04-29 19:06:35 +02:00
Dan
b8996b1147 Remove chat field for now, it can be accessed via message.chat 2018-04-29 17:29:48 +02:00
Dan
9c7935702f Add callback query support 2018-04-28 23:48:38 +02:00
Dan
dafc574bd5 Remove a stupid comma that made "command" act like a tuple 2018-04-28 09:33:37 +02:00
Dan
3b314c92fb Move IDs at the bottom 2018-04-28 09:09:44 +02:00
Dan
750caa7471 Fix reply keyboard markup writing 2018-04-28 08:47:32 +02:00
Dan
e81ef5a757 Users are now able to view keyboards from bots 2018-04-27 20:11:36 +02:00
Dan
f6b0e0e0dc Initial support for Reply Markups 2018-04-27 19:04:16 +02:00
Dan
dcbce9f9a1 Add client field in Message 2018-04-26 12:10:54 +02:00
Dan
3e4135c8e1 New "outgoing" field to easily tell in/out messages apart 2018-04-25 15:27:16 +02:00
Dan
fefcb81dde Move object ids ot the top 2018-04-25 10:30:33 +02:00
Dan
9173c49938 Allow Filters.command to pass command and arguments
This is done by using the new "command" field in the Message type
2018-04-25 10:27:55 +02:00
Dan
e5de670d40 Allow Filters.regex to pass all matches (as list)
This is done by using the new "matches" field in the Message type
2018-04-25 09:33:44 +02:00
Dan
7a20c8bca8 Clean all types and add docs 2018-04-24 16:41:52 +02:00