Kyle2142
d3feaeedb2
Prevent caption=None from crashing ( #1071 )
2018-12-20 10:50:16 +01:00
Lonami Exo
7100b75598
Update to layer 89
...
This breaks edit_2fa
2018-12-18 16:37:07 +01:00
Lonami Exo
09f994c105
Except TypeError on empty access hash from 5018879
thoroughly
2018-12-18 08:39:36 +01:00
Lonami Exo
6839bfcc2d
Redirect to first term when pressing enter on docs search
2018-12-16 10:40:31 +01:00
Lonami Exo
e71c556ca7
Use pathlib.Path in setup.py
2018-12-15 13:26:18 +01:00
Lonami Exo
da5c171346
Skip core types when parsing .tl files
...
This avoids the need to comment then every time the file changes.
2018-12-15 12:38:56 +01:00
Lonami Exo
5018879f84
Raise TypeError in get_input_peer if access_hash is None
...
When auto-casting to input peers if the access hash is now None,
the ID will be used to look-up a cached access hash which will
solve some common pitfalls (using full entities when only the
input variant should and could be used).
2018-12-15 12:23:14 +01:00
Lonami Exo
7ee7b43547
Be explicit that phone numbers only work if in your contacts
2018-12-15 12:04:36 +01:00
Lonami Exo
932d3bd033
Improve autogenerated examples with more cases and synonyms
2018-12-15 11:47:52 +01:00
Lonami Exo
34879a4b35
Use decodeURI when loading GET parameters
2018-12-15 11:36:54 +01:00
Lonami Exo
027d08cec7
Slightly smarter search generated docs
2018-12-15 11:36:54 +01:00
Lonami
52b179dba8
Never check channel constructor when generating objects
2018-12-14 17:31:15 +01:00
Sister Midnight
f3013c6817
Fix ConnectionHttp SSL socket wrap ( #1064 )
2018-12-10 14:43:48 +01:00
Lonami Exo
c48d41d99d
Expect ConnectionError in the send loop
2018-12-06 16:27:09 +01:00
Lonami Exo
f9fc433c0f
Better catch_up behaviour when invalid states are present
2018-12-06 16:07:11 +01:00
Lonami Exo
40730e7862
Fix aaee092
to correct entities' offsets on stripping
2018-12-06 12:33:15 +01:00
Lonami Exo
424079aa12
Fix pts initialized as -1 not being considered
2018-12-04 21:07:18 +01:00
Lonami Exo
0b89d9d3f9
Update to v1.4.3
2018-12-04 14:09:17 +01:00
Lonami Exo
50b77d881d
Clarify who can use methods in the documentation
2018-12-03 16:17:37 +01:00
Lonami Exo
e4cfd964d5
Use an enum for methods' usability
2018-12-03 15:56:38 +01:00
Lonami Exo
4901447ad6
Remove now unused code to fetch errors from remote host
2018-12-03 15:53:08 +01:00
Lonami Exo
01848de7e2
Move error capture names to errors.csv
2018-12-03 11:08:20 +01:00
Lonami Exo
4d8f078ad9
Fix _document_by_attribute calls using cond
2018-12-03 08:49:24 +01:00
Lonami Exo
b8912ea0aa
Add two MEDIA_*_INVALID to known errors
2018-11-30 21:54:00 +01:00
Lonami Exo
8eca29be25
Make use of the new method info when generating docs
2018-11-30 21:48:15 +01:00
Lonami Exo
f05109f186
Update code generator to parse CSV files
2018-11-30 21:39:13 +01:00
Lonami Exo
f646863149
Replace error and method data with CSV files
2018-11-30 21:38:36 +01:00
Lonami Exo
ed1bcb509f
Use InputMessageReplyTo in get_reply_message
...
This lets bots access to messages other bots sent through replies.
2018-11-29 14:21:49 +01:00
Lonami Exo
9a6f4d35f2
Fix crash on get_messages(ids=InputMessageReplyTo)
2018-11-29 14:19:56 +01:00
Lonami Exo
10b9b4b969
Handle TimeoutError on automatic reconnect
2018-11-29 13:11:34 +01:00
Lonami Exo
4a8a85d7a6
Refetch ChatAction service message to get input users
2018-11-28 18:59:49 +01:00
Lonami Exo
16dd47f5ec
Update to v1.4.2
2018-11-24 20:53:28 +01:00
Lonami Exo
d2e995ef95
Change code to recv and handle disconnections
2018-11-24 20:53:28 +01:00
Lonami Exo
09b16f96fc
Better behaviour for send_read_acknowledge
2018-11-24 20:53:28 +01:00
painor
7e168cb4fb
Remove invalid mentions from message entities ( #1049 )
2018-11-24 19:39:05 +01:00
udf
5b2cfffedc
make utils.get_peer_id raise with message about InputPeerSelf
2018-11-23 16:39:31 +01:00
udf
9362f03fd5
fix utils.get_peer not raising in some cases
2018-11-23 16:39:31 +01:00
Lonami Exo
d214c78bd0
Add missing @property decorator
2018-11-19 12:06:18 +01:00
Lonami Exo
aaee092a46
Locally strip outgoing message text respecting entities
2018-11-19 10:15:56 +01:00
Lonami Exo
d854babf22
Make HTML parser yield the correct offset and lengths
2018-11-19 09:20:13 +01:00
Lonami Exo
d6ec883cd9
Ignore iter_messages from_user unless it's a User
2018-11-19 08:55:49 +01:00
Lonami Exo
8ed3ddba31
Clarify iter_participants filter parameter in the docs
2018-11-19 08:38:31 +01:00
Lonami Exo
207d5ebdcb
Avoid packing more than 1024 messages in a single container
2018-11-19 08:29:44 +01:00
Lonami Exo
f90dd76f4c
New assistant command and check if hastebin is down
2018-11-15 17:54:51 +01:00
Lonami Exo
0f7c2b891a
Fix get entity by exact name since 2ca8ddb
2018-11-15 17:23:47 +01:00
Lonami Exo
924b59d735
Actually fix cancelling custom conversations from f6bc80b
2018-11-12 08:21:18 +01:00
Lonami Exo
dfab8f5e20
Avoid caching event loop in telethon.sync
...
This would cause issues when creating and setting a different
event loop from a different thread since it would use the old
loop and not the new one, solved by explicitly getting the
loop every time, although this has a slight performance hit.
2018-11-10 11:34:26 +01:00
Lonami Exo
f046d1f0a3
Fix deadlock on unexpected disconnections
2018-11-10 11:23:19 +01:00
Lonami Exo
f6bc80bc6b
Fix cancellation of custom conversation events from d474458
2018-11-08 10:08:41 +01:00
Lonami Exo
cdbd1f6193
Fix valid auth_key never being saved after switching DC
2018-11-03 18:53:26 +01:00