Gabben
2a2d578175
Add new type fields from Bot API 4.5
2019-12-31 22:46:08 +05:00
uburuntu
386a1586e0
enh: unify default as_html argument
2019-11-10 00:46:29 +03:00
Alex Root Junior
cb4f459597
Fix typing for until_date argument (can be datetime or timedelta)
2019-10-29 21:19:55 +02:00
Alex Root Junior
870e79d7f2
Add new permissions argument to Chat.restrict method
2019-08-04 20:03:58 +03:00
Alex Root Junior
cbaf826be1
Add support for new chat permissions
2019-08-04 19:43:07 +03:00
Alex Root Junior
39c333251f
Rewrite contextvar usage. Implemented ContextInstanceMixin and DataMixin
2018-10-20 15:55:57 +03:00
Alex Root Junior
09293063d3
Fix Chat.restrict and Chat.promote methods.
2018-09-28 03:18:38 +03:00
Alex Root Junior
afb73fdb5c
Bad arguments
2018-09-22 21:51:01 +03:00
Alex Root Junior
7a55c040ee
Write docs and small fixes.
2018-09-07 21:24:13 +03:00
Alex Root Junior
06fbe0d9cd
Remove context util.
2018-06-25 01:31:57 +03:00
Oleg A
09f540cc68
Update Chat method and get_link method fix
2018-05-25 00:21:30 +03:00
Oleg A
b109523cda
Add .get_url() method
...
Use this method to get chat link.
Private chat returns user link.
Other chat types return either username link (if they are public) or invite link (if they are private).
2018-05-23 00:10:34 +03:00
Oleg A
0331460aba
Chat.invite_link cache
...
Once you get invite link for chat object - it will be cached
2018-05-22 01:41:59 +03:00
Alex Root Junior
d0dc3fab8c
WTF is going on? Fixed chat actions util.
2018-03-28 20:46:55 +03:00
Alex Root Junior
531b2a4df7
Hashable TelegramObject
2018-02-23 13:19:23 +02:00
Suren Khorenyan
3c99b171f6
Minor typos fixes
2018-02-11 12:50:28 +03:00
Alex Root Junior
47a865aa5f
More usable ChatType checker. Allow to use message or chat instances.
2018-01-27 08:15:34 +02:00
Alex Root Junior
8490306096
Refactor types.
2018-01-24 02:29:48 +02:00
Alex Root Junior
0295aed615
Relative imports and reformat code (auto)
2017-12-10 02:40:59 +02:00
Alex Root Junior
394ef8981b
await chat actions.
2017-11-21 20:32:02 +02:00
Alex Root Junior
61e7ff9a47
Change timeout calculator in ChatActions helper.
2017-11-17 23:02:12 +02:00
Alex Root Junior
a2534dd6ad
Make more easy helper for chat actions.
2017-11-16 00:33:38 +02:00
Alex Root Junior
8b28ba8fc4
Add more filters.
2017-11-15 23:42:14 +02:00
Alex Root Junior
44a24b243c
Make some types hashable.
2017-10-22 17:18:44 +03:00
Alex Root Junior
afd76cce9f
Update types to 3.4 Bot API
2017-10-22 16:55:33 +03:00
Alex Root Junior
84c8548ceb
New types (In process...)
2017-10-12 16:43:23 +03:00
Alex Root Junior
00cc42c216
Remove old code. (2)
2017-09-27 09:07:14 +03:00
Alex Root Junior
62417da6a7
Get mention in private chats.
2017-08-23 22:55:40 +03:00
Alex Root Junior
c8349112d0
Bot API 3.3.
2017-08-23 22:51:27 +03:00
Alex Root Junior
b65f181402
More correct names for writing styles in HelperMode
2017-08-15 04:32:11 +03:00
Alex Root Junior
9e894cf06b
I think it will always be valid. (remove Deserializable.check_json)
2017-07-29 03:24:50 +03:00
Alex Root Junior
03c5bfca5f
Use anywhere Helper.
2017-07-25 01:43:35 +03:00
Alex Root Junior
5b87708049
Provide some actions from data types.
2017-07-12 00:16:29 +03:00
Alex Root Junior
0ae4f6d948
Small fix
2017-07-11 23:41:40 +03:00
Alex Root Junior
4e093680c4
Update to Bot API 3.1
2017-07-11 23:08:20 +03:00
Alex Root Junior
595caaa458
Mooore doc's.
2017-06-04 14:37:34 +03:00
Alex Root Junior
5019a4f00b
Remove bad comments.
2017-06-02 03:03:26 +03:00
Alex Root Junior
07c7c1f32a
Refactoring.
2017-06-02 03:01:28 +03:00
Alex Root Junior
716865695c
Configure Deserializable object. (Set bot for types) and stop using __slots__
2017-05-26 05:21:32 +03:00
Alex Root Junior
0d6af5bc8d
Rename data -> raw_data
2017-05-26 03:51:21 +03:00
Alex Root Junior
44bf906110
Rel import
2017-05-26 03:28:46 +03:00
Alex Root Junior
e244d0214f
Define chat actions
2017-05-21 18:54:20 +03:00
Alex Root Junior
4f7bdfa885
Remove bot entity from types.
2017-05-21 17:04:09 +03:00
Alex Root Junior
b3a13ab6b5
Update Chat. Add full_name and mention
2017-05-19 23:22:29 +03:00
Alex Root Junior
44c928ed47
Add chat
2017-05-19 22:11:27 +03:00