Manuel1510
0a8103b6e8
Replace messages.getPeerDialogs with channels.getFullChannel ( #1305 )
2019-10-27 18:48:41 +01:00
YouTwitFace
b862f215c5
Ignore channel-only permissions in megagroups ( #1292 )
2019-10-11 18:04:41 +02:00
Tanner Collin
72dd36bc17
Allow edit_admin on yourself ( #1285 )
2019-09-29 09:19:44 +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
7de01a5f94
Fix resending code with empty phone hash ( fix #1283 )
2019-09-27 10:41:01 +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
5c72e1286e
Let delete_dialog work for bot accounts without erroring
2019-09-10 21:38:46 +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
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
e1905d0d7a
Avoid using telethon.sync in the examples
2019-08-13 23:33:39 +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
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
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
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
Lonami Exo
5498d14e54
Fix default edit_permissions and clarify documentation
2019-07-23 10:14:31 +02:00
Lonami Exo
ae620db0c5
Better document MESSAGE_ID_INVALID
2019-07-20 11:15:29 +02:00
Lonami Exo
cbcbda5276
Minor documentation and type hint updates
2019-07-17 12:37:16 +02:00
Lonami Exo
649e9a7b0c
Check for empty message after applying parse mode
2019-07-17 12:06:23 +02:00
Lonami Exo
cca50ef842
Improve flood wait log message
2019-07-17 12:04:53 +02:00
Lonami Exo
944fb10733
Add missing return self on action/download ctx managers
2019-07-13 21:21:29 +02:00
painor
ae1c1b3912
Improve permission-related errors ( #1231 )
2019-07-10 23:19:50 +02:00
st7105
c4c263a85b
Use flush() only if it exists ( #1227 )
2019-07-09 11:40:05 +02:00
Lonami Exo
97e4d83593
Rename and clarify docs for edit_permissions
2019-07-06 19:31:33 +02:00
Lonami Exo
8e36bb4c4d
Link Python keywords with Python's documentation
2019-07-06 12:11:00 +02:00
painor
2d2afc5280
Add edit_admin and edit_restrictions ( #1210 )
2019-07-05 10:48:21 +02:00
Lonami
0d9e639f4f
Support asynchronous progress_callback's
2019-07-04 15:34:51 +02:00
Lonami Exo
a7a7c4add2
Pass all Updates when building events
2019-06-30 16:34:34 +02:00
Lonami Exo
aa2b3daccc
Factor out setting entities to events
2019-06-30 16:34:34 +02:00
Lonami Exo
9322c37a94
Document iteration order
2019-06-28 20:44:06 +02:00
Lonami Exo
84c4fcdec6
Fix entities weren't being passed to Draft
2019-06-28 20:34:30 +02:00
Lonami Exo
81e628b9f7
Fix explicit reverse=True with ids= not working
2019-06-28 20:27:36 +02:00
Lonami Exo
b6b4ea669d
Remove messy subclassing in the TelegramClient
...
Since it was easy to cause MRO inconsistencies, and it's
not really needed now that self is type hinted as the client.
2019-06-24 17:48:46 +02:00
Lonami Exo
1a056899d7
Fix caption when using send_file for albums / mixed documents
2019-06-15 16:59:16 +02:00
Lonami Exo
51de0bd2da
Update documentation with intersphinx and better summaries
2019-06-11 11:09:22 +02:00
Lonami Exo
31a26c0a0a
Fix iter_dialogs missing dialogs once and for all
2019-06-11 10:04:36 +02:00
Lonami Exo
b8a38baaf6
Expose ignore_pinned in iter_dialogs
2019-06-11 09:55:13 +02:00
Lonami Exo
4c3e467d25
Add a method to cancel_all conversations ( #1183 )
2019-06-03 19:41:22 +02:00
Lonami
9d6150da37
Fix downloading contacts to path ( #1197 )
2019-06-03 15:44:43 +02:00
Lonami Exo
e47f3ec1d6
Clarify some aspects of the documentation
2019-06-01 16:28:20 +02:00