JuniorJPDJ
634bc3a8bd
Allow event's func to be async ( #1461 )
...
Fixes #1344 .
2020-05-16 09:58:37 +02:00
penn5
c45f2e7c39
Handle flood waits of 0 seconds more gracefully ( #1460 )
2020-05-13 18:50:56 +02:00
Lonami Exo
393da7e57a
Expose missing embed_links param in edit_permissions
2020-05-09 17:35:26 +02:00
Lonami Exo
4393ec0b83
Support dice autocast and update docs on send_file for dice
2020-05-05 09:28:37 +02:00
Lonami Exo
db16cf5548
Update to layer 113
2020-05-01 14:10:58 +02:00
Komron Aripov
0f1f655e5d
Fix some missing things in the docs listing other libraries ( #1445 )
2020-04-29 15:42:59 +02:00
Lonami Exo
c43e2a0a3a
Return produced service message with pin_message
...
Fixes #1394 .
2020-04-29 10:29:14 +02:00
Lonami Exo
74bced75b4
Check if the conversation was cancelled on send methods
...
Fixes #1411 .
2020-04-28 21:02:27 +02:00
Lonami Exo
7ea4686d6c
Handle FloodWaitError in client.download_media
...
Fixes #1426 . Not entirely happy with the new indirection layer,
but the original __call__ method is already a mess anyway and
the additional cost of an extra call should be neglible compared
to the actual IO.
2020-04-28 20:49:57 +02:00
Lonami Exo
7f3aa43ad4
Rely on types.UpdateChatPinnedMessage for chat unpins
...
Fixes #1405 , probably.
2020-04-27 21:16:45 +02:00
Lonami Exo
71ed1564cb
Add a new .dice property to Message
2020-04-27 20:43:09 +02:00
Ali Gasymov
202a8a171b
Update links to other MTProto libraries ( #1442 )
2020-04-27 20:12:49 +02:00
Lonami Exo
bfa46f47ed
Register application/x-tgsticker to mimetypes
2020-04-26 13:42:16 +02:00
Lonami Exo
eb58e60dd1
Fix string formatting on events.Raw with bad input param
2020-04-26 13:42:16 +02:00
TishSerg
a16c60c886
Fix action 'song' should alias 'audio' ( #1444 )
2020-04-26 11:00:00 +02:00
Lonami Exo
c487340f8e
Bump to v1.13.0
2020-04-25 16:28:13 +02:00
Lonami Exo
dcc450267f
Document new EMOTICON_INVALID error
2020-04-24 12:38:51 +02:00
Lonami Exo
a353ae3b65
Update to layer 112
2020-04-24 12:17:33 +02:00
Lonami Exo
c37dc69592
Fix downloading thumb was using name inferred for video
2020-04-23 21:01:29 +02:00
Lonami Exo
0c8a90f2a3
Fix delete_messages(None, ...) not working
2020-04-23 20:40:23 +02:00
Lonami Exo
67a9718f9e
Bump to v1.12.0
2020-04-20 15:12:00 +02:00
Lonami Exo
01cf4967a5
Clarify send_read_acknowledge behaviour and add new error
2020-04-13 15:03:13 +02:00
ov7a
79fb1a54cb
Switch to blocking connect when using proxy ( #1432 )
...
Until a better fix is found, this should help proxy users.
2020-04-12 14:28:40 +02:00
Lonami Exo
c0e523508b
Update raw API method usability mapping
2020-04-06 17:44:22 +02:00
Lonami Exo
8ea5fae61b
Add some missing layer 111 raw API methods
2020-04-06 10:09:11 +02:00
Lonami Exo
d0f937bcb6
Don't disconnect borrowed senders immediately ( #1364 )
2020-04-05 12:34:33 +02:00
Arne Beer
3729fde572
Fix editing of inline messages in some cases ( #1427 )
2020-04-03 18:37:46 +02:00
Lonami Exo
15f30ed942
Update documentation with some fixes and MongoDB sessions
...
Closes #1403 and #1406 .
2020-04-01 19:56:17 +02:00
Dmitry D. Chernov
0ec612d71a
utils: Style fix and simplify a bit the VALID_USERNAME_RE
2020-03-31 19:18:57 +10:00
YouTwitFace
1669d80082
Remove call to _cache_media
( #1419 )
...
Fixes #1418
2020-03-29 10:15:53 +02:00
Lonami Exo
65d8205eef
Update to layer 111
2020-03-28 10:01:31 +01:00
Lonami Exo
3ab9986fc7
Slightly better flow in _file_to_media
2020-03-14 12:16:52 +01:00
Lonami Exo
ccfd7a1015
Don't ignore thumb in send_file(input file)
...
Fixes #1404
2020-03-14 12:12:40 +01:00
Lonami Exo
68438f4621
Don't store refs to files in cache
...
File cache has been unused since file_reference were introduced,
there's no point saving them to cache if they're never queried.
Fixes #1400 .
2020-03-11 10:07:21 +01:00
Lonami Exo
e3d8109110
Fix a doc typo and update projects using the lib
2020-03-11 10:02:19 +01:00
painor
0e0052888f
Expose key and iv parameter in downloads/uploads ( #1397 )
2020-03-04 16:12:34 +01:00
Lonami Exo
1ec38aa5b2
Update and clarify some docs
...
cc #1388 , #1396
2020-02-28 11:50:16 +01:00
Lonami Exo
e451abbf20
Avoid another MemoryError
2020-02-28 10:42:23 +01:00
Lonami Exo
673a2ecd5d
Document two new errors
2020-02-25 15:52:22 +01:00
Lonami Exo
e9c5e719f1
Minor docs update, bump v1.11.3
2020-02-24 13:15:56 +01:00
Lonami Exo
9a86447b6e
Fix get(_input)_users in ChatAction with no service msg
2020-02-24 13:07:13 +01:00
Pascal Jürgens
0814a20ec4
Fix macOS version parsing (again), bump v1.11.2
...
#1393
2020-02-21 20:37:24 +01:00
Lonami Exo
8aa15174ab
Fix check in macOS ( #1369 ), bump v1.11.1
2020-02-21 12:48:43 +01:00
Lonami Exo
64752d89fc
Fix 1.11 changelog
2020-02-21 11:41:18 +01:00
Lonami Exo
f21abcd529
Update to v1.11
2020-02-20 20:57:17 +01:00
Lonami Exo
1e94fe25fa
Log requests that trigger struct.error
...
The exception hardly provides any valuable information.
This will hopefully help troubleshooting why the error happens.
2020-02-20 13:40:08 +01:00
Lonami Exo
7ffb87170b
Update some URLs
...
Some were out of date, some were examples pointing to a personal
link, which were replaced with generic examples.
2020-02-20 11:50:15 +01:00
Lonami Exo
3d32e16235
Fix within surrogate detection
2020-02-20 10:53:28 +01:00
Lonami Exo
3a6c955c90
Add examples to all events
2020-02-20 10:18:26 +01:00
Lonami Exo
9f73c35621
Fix unparsing of entities that are together
2020-02-20 09:43:37 +01:00