Commit Graph

73 Commits

Author SHA1 Message Date
Dan
8b43ad8a63 Add unread messages, mentions count and unread mark to Dialog 2018-07-04 21:49:11 +02:00
Dan
9ac6633cc8 Add get_dialogs method 2018-07-04 21:05:43 +02:00
Dan
8074ef1368 Make methods directory structure simple 2018-06-23 10:34:20 +02:00
Dan
901b151718 Fix wrong line separator 2018-06-05 17:15:17 +02:00
Dan
6d7de359f0 Add a link to available methods in docs 2018-06-05 16:28:14 +02:00
Dan
0dc5ecf28c Revert "Make send_message recognise the Empty parse mode"
This reverts commit e1e6e4b
2018-05-31 13:03:28 +02:00
Dan
e1e6e4bd70 Make send_message recognise the Empty parse mode 2018-05-27 20:24:42 +02:00
Dan
5dff2fe604 Fix get_history in chats with less than 100 messages 2018-05-12 15:36:47 +02:00
Dan
b9156453da Fix docstring for argument being optional 2018-05-12 11:21:02 +02:00
Dan
ef93fee7aa Add new Messages object and make get_history return it 2018-05-11 18:00:16 +02:00
Dan
9078639243 Add send_gif method 2018-05-11 12:41:18 +02:00
Dan
14f23d388c Clean get_history 2018-05-09 20:27:29 +02:00
Dan
a1c3e40800 Make parse_messages accept a list of messages 2018-05-09 19:29:23 +02:00
Dan
8cc7cdba9a Remove text submodule 2018-05-09 13:08:16 +02:00
Dan
662d49d885 Add get_history.py 2018-05-09 13:06:32 +02:00
Dan
06e6579091 Update some inconsistent docstrings 2018-05-09 13:04:02 +02:00
Dan
07965850bf Fix some other method docstrings 2018-05-09 12:47:11 +02:00
Dan
746a0d0595 Fix send_contact and send_document docstrings 2018-05-09 12:44:43 +02:00
Dan
e6070cbc87 Fix send_audio docstrings 2018-05-09 12:43:38 +02:00
Dan
f92b74328f Fix send_chat_action docstrings 2018-05-09 12:38:09 +02:00
Dan
3386fd040a Fix style 2018-05-07 16:38:11 +02:00
Dan
bef0a24408 Small fixes 2018-05-07 15:55:41 +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