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
Lonami Exo
7c6fe5c4e9
Update to layer 110
2020-02-16 14:03:16 +01:00
Tulir Asokan
95dc775344
Fix errors found by new tests ( #1389 )
2020-02-14 18:35:42 +01:00
Tulir Asokan
c6bd620555
Make RPCError subclasses unpicklable again ( #1387 )
2020-02-14 18:22:17 +01:00
Lonami Exo
8bd60f7cde
Update out-of-date docs
2020-02-11 16:44:25 +01:00
Lonami
ac8009af4a
Fix default DC ID value
2020-02-02 10:01:15 +01:00
Lonami Exo
5f8032584b
Fix _get_response_message for sendMedia(live location)
2020-02-01 15:32:52 +01:00
Lonami Exo
22e645e22f
Update to layer 109
2020-01-23 13:43:20 +01:00
Lonami Exo
dd4c22d02d
Document two new known errors
2020-01-22 14:21:09 +01:00
Lonami Exo
acb8518911
Fix send_message not forwarding some args to send_file
2020-01-22 14:21:09 +01:00
Qwerty-Space
82943bd464
Replace hastbin with deldog ( #1377 )
...
Hopefully it's dead less often.
2020-01-22 12:29:04 +01:00
Lonami Exo
02bdf7d27c
Improve question templates with contact links
2020-01-21 16:17:03 +01:00
Lonami Exo
a2fc7dca79
Handle users=None properly in ChatAction
2020-01-21 10:39:51 +01:00
Lonami Exo
54c8771885
Properly handle #ot command in assistant.py for PMs
2020-01-19 13:33:30 +01:00
Lonami Exo
da9505fa3c
Add some missing words in the docs
2020-01-19 13:25:58 +01:00
Pascal Jürgens
72dc8052b3
Fix crypto imports on macOS Catalina ( #1369 )
2020-01-17 12:24:59 +01:00
Alexhol
76cc076d61
Fix send_file not considering videos for albums ( #1371 )
2020-01-17 11:12:20 +01:00
Lonami Exo
78ee787310
Fix utils._get_extension not working in pathlib objects
...
This was found while testing #1371 .
2020-01-17 11:11:10 +01:00
Lonami Exo
d09f6a50b0
Add extra security checks during authkey gen
2020-01-14 12:12:55 +01:00
Lonami
76cf208619
Document where factorization.py comes from
2020-01-09 12:51:41 +01:00
Lonami Exo
76fa7918a5
Fix get_entity(chat) ( #1367 )
2020-01-08 12:07:58 +01:00
Lonami Exo
3c253734ac
Clear old docs and fix formatting in ConnectionError messages
2020-01-07 12:20:01 +01:00
Lonami Exo
d68d70362b
Handle PeerIdInvalidError in delete_dialog
2020-01-07 12:14:19 +01:00
Lonami Exo
582a61192a
Fix MemoryError on get_input_media(game)
...
Because an integer was being passed where a TLObject was expected,
so the serialization with bytes() was actually requesting that many
bytes as opposed to properly converting the expected object.
2020-01-04 17:52:31 +01:00
Lonami Exo
364afd61e1
Execute get_me() on reconnect
...
This should let Telegram know we still want updates.
Ideally, we would catch up, but that requires more work.
2020-01-04 17:22:53 +01:00
Lonami Exo
0683d9771a
Update to layer 108
2019-12-31 10:43:05 +01:00
Lonami Exo
d196c89825
Fix unparsing malformed entities, bump v1.10.10
2019-12-30 10:19:29 +01:00
Lonami Exo
be8838b5f8
Fix wrong call to determine entity type
2019-12-30 10:56:20 +01:00
Lonami Exo
a142b7de5e
Handle invalid upload of text fd more gracefully
2019-12-27 12:05:27 +01:00
Lonami Exo
bdb74ac235
Support async fd on download/upload ( #1334 )
2019-12-27 12:04:08 +01:00
Lonami Exo
5d7e9f3879
Improve doc page on RPC errors ( #1350 )
2019-12-27 11:27:00 +01:00