bakatrouble
|
fda25f6534
|
Add client.set_username() method (#208)
* Add client.set_username() method
* Rename set_username() to update_user_username(); allow None as username
* Add client.update_chat_username() method
* Update update_chat_username.py
* Update update_user_username.py
Rename update_user_username to update_username
Add more details in docstrings
Fix style
* Rename update_user_username.py to update_username.py
* Update __init__.py
* Update 400_BAD_REQUEST.tsv
|
2019-03-01 18:06:17 +01:00 |
|
Dan
|
44deabf399
|
Update iter_chat_members efficiency
|
2019-01-24 17:21:41 +01:00 |
|
Dan
|
a57ee7b333
|
Accommodate parsing of invited_by attribute of ChatMember (#204)
|
2019-01-21 16:33:33 +01:00 |
|
Dan
|
1bbf048b7a
|
Remove duplicated references
|
2019-01-07 21:49:25 +01:00 |
|
Dan
|
491b96c9f6
|
Use "recent" filter for up to 10k members
|
2019-01-07 10:00:42 +01:00 |
|
Dan
|
7e354b12bf
|
Fix kick_chat_member docstrings and return type
|
2019-01-04 23:15:57 +01:00 |
|
Dan
|
153439ac88
|
Add iter_chat_members method. Reference #170
|
2019-01-04 17:13:44 +01:00 |
|
Dan
|
d7e3397050
|
Update get_chat_members docstrings
|
2019-01-04 16:59:36 +01:00 |
|
Dan
|
e1cac13f0d
|
Fix get_dialogs docstrings
|
2019-01-04 16:58:57 +01:00 |
|
Dan
|
948f2b44ed
|
Add iter_dialogs method. Reference #170
|
2019-01-04 16:10:34 +01:00 |
|
Dan
|
4d1d70082b
|
Sleep in case of get_dialogs flood waits
|
2019-01-04 16:08:05 +01:00 |
|
Dan
|
372bbabe28
|
Make invite links of public channels work with get_chat
|
2019-01-02 22:39:16 +01:00 |
|
Dan
|
4d7b1bafac
|
Update copyright year
|
2019-01-01 12:36:16 +01:00 |
|
Dan
|
c907e8146a
|
Allow get_chat to work with chat invite links
|
2018-12-28 14:34:47 +01:00 |
|
Dan
|
0e62b3472a
|
Add get_chat_preview method and ChatPreview object
|
2018-12-28 14:26:00 +01:00 |
|
Dan
|
3814471af4
|
Change get_dialogs behaviour
It now accepts an offset_date instead of an offset_dialog
|
2018-12-27 23:56:45 +01:00 |
|
Dan
|
1eee4b77e1
|
Pin/unpin_chat_message don't raise a ValueError anymore
|
2018-12-25 23:08:45 +01:00 |
|
Dan
|
7ee89c94cb
|
Update pin/unpin_chat_message
It is now possible to pin messages in basic groups as well as in the
own user's chat.
|
2018-12-23 01:00:31 +01:00 |
|
Dan
|
84fef9ecf1
|
Add missing file_reference argument where applicable
|
2018-12-23 00:55:00 +01:00 |
|
Dan
|
a0355a5cc4
|
Type hint all methods return values
|
2018-12-19 15:59:15 +01:00 |
|
Dan
|
b593463bd7
|
Type hint all the remaining method parameters
|
2018-12-19 14:50:23 +01:00 |
|
Dan
|
510b2456b6
|
Reword offset_dialog docstrings in Dialog
|
2018-12-19 10:27:47 +01:00 |
|
Dan
|
914dfca574
|
Reformat code and optimize imports
|
2018-12-18 09:50:39 +01:00 |
|
Dan
|
27052e31ca
|
Fix all those unresolved references caused by the refactor
|
2018-12-18 09:45:49 +01:00 |
|
Dan
|
e6dced80cf
|
Update get_dialogs to use the new refactored Dialogs type
|
2018-12-17 16:13:57 +01:00 |
|
Dan
|
7430529646
|
Make use of the refactored Chat type in get_chat
|
2018-12-16 17:59:34 +01:00 |
|
Dan
|
31b046e5cc
|
Use the refactored types in get_chat_member(s)
|
2018-12-16 17:58:05 +01:00 |
|
Dan
|
45129658b0
|
Revisit docstrings
|
2018-11-03 10:49:11 +01:00 |
|
Dan
|
b12c87f50a
|
Make kick_chat_member return the "user kicked" message
|
2018-10-21 09:40:49 +02:00 |
|
Dan
|
89a167b51f
|
Update default rights to the least common between supergroups & channels
Fixes #120
|
2018-10-01 10:52:09 +02:00 |
|
Dan
|
9538ed85fe
|
Fix missing backtick
|
2018-09-19 13:20:36 +02:00 |
|
Dan
|
ea39062d2d
|
Add get_chat_members_count method
|
2018-09-08 19:16:51 +02:00 |
|
Dan
|
2d8792a7cd
|
Move get_dialogs() from "messages" to "chats" namespace
|
2018-08-20 11:24:47 +02:00 |
|
Dan
|
32468e5ab0
|
Remove hints about using t.me/joinchat/ links as chat ids
Such links don't work reliably with the current implementation
|
2018-07-27 00:40:08 +02:00 |
|
Dan
|
e9cba4609a
|
Update get_chat_member docstrings
|
2018-07-26 19:32:12 +02:00 |
|
Dan
|
215f54f32b
|
Add get_chat_member documentation
|
2018-07-22 02:07:44 +02:00 |
|
Dan
|
1eaafb8e41
|
Clearer documentation for get_chat_members
|
2018-07-21 14:09:34 +02:00 |
|
Dan
|
e5915505a1
|
Add get_chat_member method
|
2018-07-19 23:26:20 +02:00 |
|
Dan
|
b77771497d
|
Document get_chat_members
|
2018-07-17 09:09:04 +02:00 |
|
Dan
|
5b89a65437
|
Document set_chat_title
|
2018-07-15 16:34:47 +02:00 |
|
Dan
|
3fe05b4d28
|
Document set_chat_photo
|
2018-07-15 16:34:32 +02:00 |
|
Dan
|
3fcf9b9ef6
|
Document delete_chat_photo
|
2018-07-15 16:34:15 +02:00 |
|
Dan
|
98578160f0
|
Document set_chat_description
|
2018-07-15 16:33:41 +02:00 |
|
Dan
|
15e83e12ca
|
Document unpin_chat_message
|
2018-07-15 16:33:12 +02:00 |
|
Dan
|
f8d44b8e77
|
Document pin_chat_message
|
2018-07-14 00:44:50 +02:00 |
|
Dan
|
ab11c9e347
|
Add missing docstring arguments
|
2018-07-10 15:57:27 +02:00 |
|
Dan
|
037ded73c3
|
Add unpin_chat_message method
|
2018-07-08 11:09:07 +02:00 |
|
Dan
|
486e8b9552
|
Add pin_chat_message method
|
2018-07-08 11:00:56 +02:00 |
|
Dan
|
7d799aed11
|
Add set_chat_description method
|
2018-07-08 10:28:54 +02:00 |
|
Dan
|
393caa9d7c
|
Add set_chat_title method
|
2018-07-08 10:24:39 +02:00 |
|