Tanner Collin
72dd36bc17
Allow edit_admin on yourself ( #1285 )
2019-09-29 09:19:44 +02:00
Lonami
07b0583069
Bump to v1.10.6
2019-09-28 09:44:01 +02:00
penn5
88d8424474
Fix kick_participant in channels ( #1284 )
...
Presumably some server-side change made insta-unbanning no longer work.
2019-09-28 09:38:41 +02:00
Lonami Exo
5e6ff67d01
Make allow_cache do nothing for now, bump v1.10.5 ( #1272 )
2019-09-27 15:12:17 +02:00
Lonami Exo
a360d74a4c
Mention pomegranate under projects using the library
2019-09-27 10:41:01 +02:00
Lonami Exo
7de01a5f94
Fix resending code with empty phone hash ( fix #1283 )
2019-09-27 10:41:01 +02:00
Lonami
6da8d1a0ec
Less confusing error for getting marked ID of PeerChannel(0)
...
Fixes #1282 .
2019-09-24 19:01:46 +02:00
Lonami Exo
d1ddfd09b6
Update missing links in the documentation summary
2019-09-24 16:19:56 +02:00
Andrebcd4
40aa46e72a
Sleep automatically on slow mode error too ( #1279 )
2019-09-24 11:37:41 +02:00
Lonami Exo
4f6e5c5f5a
Remove another debug print, bump v1.10.4
2019-09-21 18:21:09 +02:00
penn5
8d5a7c6ffb
Remove debugging print ( #1276 )
2019-09-21 17:54:45 +02:00
davtur19
b76bed3a40
Update errors' description ( #1266 )
2019-09-16 19:40:29 +02:00
Lonami
75ca28df49
Parse t.me/@<user> URLs as valid usernames
2019-09-16 11:36:35 +02:00
Lonami Exo
c1774276c2
Fix handling of ChannelForbidden in input peer, bump v1.10.3
2019-09-12 22:30:47 +02:00
Lonami Exo
9c06f29aaf
Don't cache entities with min flag set, bump v1.10.2
...
Since layer 102, there are two access_hash. One with the min flag,
and one without it. This was causing channel invalid errors.
access_hash with min flag set can only be used to fetch files such
as profile pictures.
access_hash with min flag unset can be used under all circumstances.
Previously, the library did not distinguish between these, so it was
caching the hash that could hardly be used for anything.
With this change, only the "full" access_hash is stored, which will
work for any methods.
See also: https://core.telegram.org/api/min
2019-09-12 19:19:46 +02:00
Lonami Exo
5c72e1286e
Let delete_dialog work for bot accounts without erroring
2019-09-10 21:38:46 +02:00
Lonami Exo
0bf4c4ae75
Add v1.10.1 to .nix files
2019-09-10 21:38:46 +02:00
davtur19
95ba02a9d3
Add new known errors ( #1265 )
2019-09-10 21:09:43 +02:00
Lonami Exo
47956ddbca
Fix events.Album and minor docs nit, bump to v1.10.1
2019-09-09 19:21:03 +02:00
Lonami Exo
b4046017a7
Bump nix expressions to 1.10
2019-09-08 12:01:17 +02:00
Lonami Exo
8ded667a6b
Update to v1.10
2019-09-08 11:33:19 +02:00
Lonami Exo
6e9d799103
Actually fix message.document for webpages (57049d follow-up)
2019-09-08 11:06:54 +02:00
Lonami Exo
67183ff9e8
Improve method signatures in the docs
2019-09-08 10:56:35 +02:00
Lonami Exo
dab237e758
Support sending scheduled messages
2019-09-06 13:45:31 +02:00
Lonami Exo
9dd73cd494
Update to layer 105
2019-09-06 13:10:27 +02:00
Lonami Exo
57049de23a
Fix message.document for webpages
2019-09-06 13:09:07 +02:00
Lonami Exo
d5faf5e8aa
Support getting more than 100 messages by ID
2019-08-26 12:16:46 +02:00
painor
61bc8f7fa3
Fix-up #1259 missing import ( #1261 )
2019-08-25 21:29:17 +02:00
painor
bd7ab23a8f
Support async progress_callback in upload_file ( #1259 )
2019-08-19 21:11:13 +02:00
Lonami Exo
42874de2b2
Fix start() and sign_up() flow for layer 104
2019-08-16 19:19:42 +02:00
Lonami Exo
00b0319397
Update to layer 104
2019-08-14 00:03:24 +02:00
Lonami Exo
f2a236eb57
Split scheme back into two files
2019-08-13 23:45:17 +02:00
Lonami Exo
e1905d0d7a
Avoid using telethon.sync in the examples
2019-08-13 23:33:39 +02:00
Lonami Exo
61c0e63bbe
Avoid unnecessary await in Conversation
2019-08-13 18:11:02 +02:00
Lonami Exo
e24dd3ad75
Prevent double-connect causing double-reads later
...
Which leads to "RuntimeError: readexactly() called while another
coroutine is already waiting for incoming data" being raised,
and causing everything to break or halt.
2019-08-11 19:05:11 +02:00
Lonami
48a70308b5
Update docstring for send_read_acknowledge
2019-08-11 10:23:45 +02:00
Lonami Exo
969a36c2a8
Update docs for silent parameter
...
Since it now also works in private chats to "not disturb friends"
(see https://telegram.org/blog/silent-messages-slow-mode ).
2019-08-10 09:06:05 +02:00
Lonami Exo
f5de2cd9a0
Fix logging bug on disconnect
2019-08-08 09:32:18 +02:00
Lonami Exo
c0e4d6c8b6
Slightly simplify BinaryReader
...
There was no need for the BufferedReader, since everything
is already in memory. Further, the stream parameter was never
used, so it was also unnecessary. The check for None when
reading length was also unnecessary, since we could just pass
-1 to begin with.
2019-08-07 10:33:46 +02:00
Lonami Exo
45d82f2a85
Fix issues with to/from ID in private chats with multiple clients
...
This should address #1218 .
2019-08-07 00:46:19 +02:00
Lonami Exo
b1eed82b7f
Fix use of newer file IDs and add two new errors
2019-08-06 23:25:58 +02:00
Lonami Exo
b719a2a432
Remove unwanted html.unescape() call
2019-08-04 10:09:23 +02:00
Lonami Exo
8a933afc5d
Support iterating over specific drafts more easily
2019-08-01 20:15:32 +02:00
Lonami Exo
d3221a508a
Add kick_participant
2019-08-01 19:21:01 +02:00
Phil Jones
e1355ae5d8
Improve Quart example ( #1229 )
2019-08-01 19:15:04 +02:00
binares
2b277dd558
Fix (de)serialization of negative timestamps ( #1241 )
2019-08-01 18:47:38 +02:00
Lonami Exo
2ace4fde41
Fix Forward had its client set to None ( #1247 )
2019-07-31 11:04:08 +02:00
bb010g
13e9119573
Create Nix package expressions ( #1246 )
2019-07-30 15:31:53 +02:00
Lonami Exo
de85c34462
Handle connection error when fetching difference in updates
2019-07-23 21:12:08 +02:00
Lonami Exo
5a225d1668
Fix a dialog's message could be wrong in rare cases
2019-07-23 12:44:19 +02:00