Lonami Exo
26ff92caa9
Update to layer 117
2020-08-15 12:54:05 +02:00
Lonami Exo
73109eb819
Add a workaround for channels that claim have no photos but do
2020-08-13 15:13:29 +02:00
Lonami Exo
e00496aa63
Update to v1.16.2
2020-08-11 23:16:09 +02:00
Lonami Exo
e19aa44d5c
Sort thumbs to ensure -1 is largest
...
Closes #1519 .
2020-08-11 23:14:31 +02:00
Lonami Exo
0cefc73448
Support both str and VideoSize as thumb on download_media
2020-08-11 22:31:12 +02:00
Lonami Exo
3c56a6db4d
Update to v1.16.1
2020-08-10 16:19:31 +02:00
Lonami Exo
9a0d6b9931
Don't set force_file on force_document with images
...
Otherwise, Telegram won't analyze the image and won't add it the
DocumentAttributeImageSize, causing some bots like t.me/Stickers
to break.
Closes #1507 .
2020-08-10 16:09:39 +02:00
Lonami Exo
ddeefff431
Add a warning when trying to connect to a different account
...
Closes #1172 , and also fixed a typo.
2020-08-08 17:49:00 +02:00
conetra
958698bba7
Remove square bracket around IPv6 addresses ( #1517 )
2020-08-08 13:16:01 +02:00
Lonami Exo
1d71cdc9e0
Support autocast of polls into input media when possible
...
Closes #1516 .
2020-08-07 16:03:50 +02:00
Lonami Exo
241c6c4ac8
Auto-retry on interdc call (rich) error
2020-08-03 12:35:25 +02:00
Lonami Exo
cb6ffeaabd
Slightly improve docs heuristics for video files
2020-07-28 19:46:50 +02:00
Lonami Exo
34861ad1bc
Update to v1.16
2020-07-28 18:12:24 +02:00
Lonami Exo
012cae051b
Add a script to update online documentation
2020-07-26 13:50:48 +02:00
Lonami Exo
f18ab08334
Add new friendly method to get channel stats
2020-07-26 13:45:30 +02:00
Lonami Exo
b1ea7572dd
Document new rpc errors in layer 116
2020-07-26 13:45:19 +02:00
Lonami Exo
e12f6c747f
Extend use of force_document to work on files
...
This allows .webp files to be sent as documents and not stickers.
2020-07-26 13:03:59 +02:00
Lonami Exo
95ea2fb40c
Remove uses of gif external
...
Since it has been removed in layer 116.
2020-07-26 12:59:10 +02:00
Lonami Exo
57b38b24dd
Update to layer 116
2020-07-26 12:55:29 +02:00
Lonami Exo
ec8bb8a06a
Document PRIVACY_TOO_LONG
2020-07-25 18:42:12 +02:00
Lonami Exo
1c3e7dda01
Avoid explicitly passing the loop to asyncio
...
This behaviour is deprecated and will be removed in future versions
of Python. Technically, it could be considered a bug (invalid usage
causing different behaviour from the expected one), and in practice
it should not break much code (because .get_event_loop() would likely
be the same event loop anyway).
2020-07-25 18:39:35 +02:00
Lonami Exo
de17a19168
Improve upload_file by properly supporting streaming files
2020-07-15 14:35:42 +02:00
Shrimadhav U K
bfb8de2736
Update upload file size limit to 2GB ( #1499 )
...
Source: https://t.me/tginfo/2656
Closes #1498 .
2020-07-06 20:11:40 +02:00
Lonami Exo
e44926114a
Bump to v1.15
2020-07-04 13:29:43 +02:00
Lonami Exo
326f70b678
Support clicking on buttons asking for phone/location
...
Closes #1492 .
2020-07-04 13:29:43 +02:00
Lonami Exo
7b852206f1
Fix click timeout error is now different
2020-07-04 13:29:43 +02:00
Lonami Exo
ab594ed0cb
Remove unused imports and variables
2020-07-04 13:29:43 +02:00
KnorpelSenf
0f8119c400
Fix typo in docs ( #1493 )
2020-06-24 14:30:41 +02:00
Tulir Asokan
ba4f4c1f78
Fix url property in QRLogin ( #1494 )
2020-06-24 14:11:54 +02:00
Lonami Exo
e0c3143763
Update documentation with new errors and further clarifications
2020-06-22 13:21:45 +02:00
Lonami Exo
fc07e6bba7
Document some RPC errors for channels.editCreator
2020-06-07 09:50:33 +02:00
Lonami Exo
3e511484c7
Support pathlib.Path on download_file
...
Fixes #1379 .
2020-06-06 21:07:22 +02:00
Lonami Exo
4b933069f1
Add hacks to properly handle events.Album from other DCs
...
Fixes #1479 .
2020-06-06 21:01:02 +02:00
Lonami Exo
faf7263d8f
Handle RPC errors on auto-get_difference
...
Closes #1428 .
2020-06-06 14:04:14 +02:00
Lonami Exo
db3e7656e0
Handle AssertionError when cancelling tasks
...
Fixes #1478 .
2020-06-06 13:54:19 +02:00
Lonami Exo
20a6d7b26b
Document several new RPC errors
2020-06-06 13:47:56 +02:00
Lonami Exo
3f74f83964
Move qrlogin with the rest of custom types
2020-06-06 13:47:56 +02:00
Lonami Exo
bc03419902
Move doc page of projects using Telethon to the wiki
...
New URL: https://github.com/LonamiWebs/Telethon/wiki/Projects-using-Telethon
2020-06-06 13:47:56 +02:00
penn5
8557effe13
Fix docs in InlineQuery ( #1425 )
2020-06-06 13:47:46 +02:00
Lonami Exo
c904b7ccd8
Add a friendly method for QR login
...
Closes #1471 .
2020-06-05 21:58:59 +02:00
Lonami Exo
bfa995d52b
Don't crash when receiving updates prior to login
...
Fixes #1467 , and enables #1471 .
2020-06-05 21:17:09 +02:00
Lonami Exo
493f69f195
Update to layer 114
2020-06-05 09:29:15 +02:00
Antoni Mur
6c7cfd79b9
Add Taas to the list of alternatives in other languages ( #1474 )
2020-05-27 19:34:27 +02:00
Lonami Exo
8330635a72
Bump to v1.14.0
2020-05-26 09:31:36 +02:00
Lonami Exo
a46ce053f1
Fix another crash for return value when sending albums
2020-05-24 19:01:05 +02:00
Lonami Exo
02d0cbcfab
Document FILE_REFERENCE_EMPTY
2020-05-24 18:41:30 +02:00
Lonami Exo
88e7f0da65
Fix return value when fwding msgs if some are missing
...
It was supposed to return None for the spots were it failed to fwd
a message, but instead only those that were present were returned,
because we were iterating over the wrong object (dict and not list).
2020-05-24 18:41:30 +02:00
apepenkov
165950169f
Add payment example ( #1470 )
2020-05-21 13:22:37 +02:00
Lonami Exo
29eb90e503
Fix get_pinned_message in Chat
...
Closes #1458 .
2020-05-17 09:35:44 +02:00
Lonami Exo
856538635d
Document FRESH_CHANGE_PHONE_FORBIDDEN
...
Closes #1464 .
2020-05-17 09:28:30 +02:00