Commit Graph

  • 94ce3b06eb Add missing raw API fields to Message and re-order them Lonami Exo 2020-10-18 13:10:37 +02:00
  • 1311b9393c Move alternative libraries to the wiki Lonami Exo 2020-10-16 11:00:14 +02:00
  • 5952a40c6d Update iter_messages to support fetching channel comments Lonami Exo 2020-10-16 10:39:02 +02:00
  • 4e1f582b17 Call sign_in during sign_up if needed to send the code Lonami Exo 2020-10-15 11:43:35 +02:00
  • 3ff09f7b91 Use inline result mime to infer the result type Lonami Exo 2020-10-15 11:04:54 +02:00
  • 312dac90a3 Improve inline result documentation with more examples Lonami Exo 2020-10-15 10:42:40 +02:00
  • 9c5b9abb93 Fix sending of documents in inline results Lonami Exo 2020-10-15 10:40:41 +02:00
  • 7c3bbaca2a Support not including the media from inline results in the msg Lonami Exo 2020-10-15 10:40:19 +02:00
  • 15f7c27bce Fix .photo()/.document() inline results excluding media from msg Lonami Exo 2020-10-15 09:27:37 +02:00
  • 7de1c0e237 Document two new RPC errors (#1591) Andrew Lane 2020-10-13 04:50:05 -04:00
  • adf52a1b74 Expose entity parameter in client.inline_query Lonami Exo 2020-10-11 16:57:38 +02:00
  • d0faaa2ead Fix internal get_me() was not expecting network errors (#1594) vegeta1k95 2020-10-11 09:33:05 +02:00
  • 61b0f09e1d Fix iter_messages(from_users='me') Lonami Exo 2020-10-09 21:14:31 +02:00
  • e28fbc6678 Fix ChatAction check for self-user joining a chat Lonami Exo 2020-10-07 10:39:02 +02:00
  • 026c992395 Don't try to reconnect when authkey is invalid Lonami Exo 2020-10-07 10:17:31 +02:00
  • 5722ba8306 Revert add_admins property logic since it differs from the rest Lonami Exo 2020-10-07 09:44:17 +02:00
  • d2756cf68f Add support for local_ip address binding (#1587) Stefan 2020-10-07 10:03:19 +02:00
  • ce71b3293b Support Message.click() for polls (#1583) khoben 2020-10-07 14:21:33 +07:00
  • 05af5d0d74 Avoid redundant code in ParticipantPermissions Lonami Exo 2020-10-06 11:13:52 +02:00
  • cf1645b598 Improve documentation for ParticipantPermissions Lonami Exo 2020-10-06 11:06:37 +02:00
  • 7f61b92f81 Add anonymous permission to edit_admin and get_permissions Lonami Exo 2020-10-06 10:43:00 +02:00
  • ce120cba13 Fix get_permissions in chats and when using self user (#1584) Nick80835 2020-10-05 13:21:07 -04:00
  • 09f4c5c708 Only reset auth_key on error -404 Lonami Exo 2020-10-05 14:08:21 +02:00
  • 185a93a105 Expect BufferError during automatic reconnect Lonami Exo 2020-10-05 14:07:11 +02:00
  • 20606b3a71 Fix from_users filter not accounting for None from_id Lonami Exo 2020-10-05 14:01:50 +02:00
  • cb92a40156 Add additional asserts to debug issue with peer empty channels Lonami Exo 2020-10-05 13:58:04 +02:00
  • 52a247c156 Update documentation to include the new friendly method Lonami Exo 2020-10-05 10:52:42 +02:00
  • bb3ccca333 Fix Python 3.5 compatibility issue Lonami Exo 2020-10-05 10:50:47 +02:00
  • 180105a965 Follow PEP 518 Lonami Exo 2020-10-05 10:47:28 +02:00
  • 3e188d0344 Add missing check for permissions.is_creator (#1578) apepenkov 2020-10-03 18:16:10 +03:00
  • fc765f6014 Add new get_permissions method (#1575) kolay 2020-10-03 17:59:54 +03:00
  • bf29cddbc9 Add parameter to pass raw entities when sending message (#1577) Tulir Asokan 2020-10-02 23:06:48 +03:00
  • 4321153b06 Correctly emulate old to_id behaviour Lonami Exo 2020-10-02 10:23:04 +02:00
  • e24c49f5be Fix patching of message.out for self-chat Lonami Exo 2020-10-02 10:22:38 +02:00
  • 53920a1568 Remove handling chat peer discrepancy in NewMessage Lonami Exo 2020-10-02 10:04:51 +02:00
  • 18f70b3bac Improve PEER_ID_INVALID description Lonami Exo 2020-10-01 21:27:03 +02:00
  • 5c93ea8019 Fix from_id/sender_id value on message updates Lonami Exo 2020-10-01 21:22:27 +02:00
  • 572229e536 Add aliases to access new msg fields with old names Lonami Exo 2020-10-01 20:37:07 +02:00
  • 522681f463 Handle UserEmpty in utils.get_peer Lonami Exo 2020-10-01 14:02:54 +02:00
  • 5c5cee16d9 Lower log severity when receiving empty messages Lonami Exo 2020-10-01 13:22:38 +02:00
  • 67b87a0ea0 Evict old cached usernames in case of collision Lonami Exo 2020-10-01 13:20:29 +02:00
  • 233daafd96 Fix global search would fail if last message had no peer Lonami Exo 2020-10-01 13:18:54 +02:00
  • 4683e83287 Add set -e to update-docs.sh Lonami Exo 2020-10-01 12:19:20 +02:00
  • 668dcd52ca Update global search to properly use offset_rate Lonami Exo 2020-10-01 12:06:51 +02:00
  • 8ce7e776c1 Add option to raise last error instead of generic ValueError (#1571) Tulir Asokan 2020-10-01 12:53:17 +03:00
  • d5e4398ace Adapt the rest of the library to layer 119 Lonami Exo 2020-10-01 12:22:55 +02:00
  • 62737c1caf Partially upgrade to layer 119 Lonami Exo 2020-10-01 09:17:18 +02:00
  • 10b2b60415 Fix requests were not re-enqueued if sending failed Lonami Exo 2020-09-29 21:07:38 +02:00
  • c864ef7e16 Refetch msg if fileref expires while downloading docs Lonami Exo 2020-09-24 10:03:28 +02:00
  • 75fbd28d3e Add a workaround for sometimes-missing photos from channels Lonami Exo 2020-09-22 11:08:17 +02:00
  • 2c9d43d600 Move most of the code in assistant to the plugins repo Lonami Exo 2020-09-17 11:27:50 +02:00
  • 219b4ecb77 Abstract away treating a file as a stream Lonami Exo 2020-09-14 16:20:44 +02:00
  • 9ec5707c32 Add more info on invalid sticker error (#1558) Daniil 2020-09-13 17:29:48 +03:00
  • 1d6fd7898a Consider all reconnect attempts as retrying (#1557) yash-dk 2020-09-13 13:13:01 +05:30
  • 2a114917f1 Fix AlbumHack in combination with events.Raw (#1555) apepenkov 2020-09-10 17:25:44 +03:00
  • 1afb5b95e3 Update init params to match those of tdesktop (#1549) Tanya Degurechaff 2020-09-10 12:52:25 +00:00
  • 8cbaacabdb Add missing word in docs (#1538) daaawx 2020-09-10 14:51:31 +02:00
  • 1ed0f75c49 Support extracting metadata from bytes and stream objects (#1547) Allerter 2020-09-08 02:50:37 +04:30
  • 02b8f1d007 Document STICKER_DOCUMENT_INVALID error (#1537) Daniil 2020-08-29 12:41:50 +03:00
  • daec282cdf Update to layer 117 Lonami Exo 2020-08-24 12:56:20 +02:00
  • 0c9d0db730 Update to v1.16.4 v1.16.4 Lonami Exo 2020-08-24 12:54:56 +02:00
  • 06f3dc3053 Revert "Update to layer 117" Lonami Exo 2020-08-24 12:53:43 +02:00
  • 1a9accbe5d Fix warning when using formatted phones in start (#1532) penn5 2020-08-24 09:53:29 +01:00
  • bde38fb748 Improve description for FILE_ID_INVALID (#1531) Pascal Jürgens 2020-08-23 19:39:29 +02:00
  • bc799fd82c Remove usage of the main group username in the docs Lonami Exo 2020-08-23 11:45:45 +02:00
  • accb2142e7 Document new known RPC error Lonami Exo 2020-08-23 11:37:59 +02:00
  • 26ff92caa9 Update to layer 117 Lonami Exo 2020-08-15 12:54:05 +02:00
  • 73109eb819 Add a workaround for channels that claim have no photos but do Lonami Exo 2020-08-13 15:13:29 +02:00
  • e00496aa63 Update to v1.16.2 v1.16.2 Lonami Exo 2020-08-11 23:15:57 +02:00
  • e19aa44d5c Sort thumbs to ensure -1 is largest Lonami Exo 2020-08-11 23:14:31 +02:00
  • 0cefc73448 Support both str and VideoSize as thumb on download_media Lonami Exo 2020-08-11 22:31:12 +02:00
  • 3c56a6db4d Update to v1.16.1 v1.16.1 Lonami Exo 2020-08-10 16:19:31 +02:00
  • 9a0d6b9931 Don't set force_file on force_document with images Lonami Exo 2020-08-10 16:09:39 +02:00
  • ddeefff431 Add a warning when trying to connect to a different account Lonami Exo 2020-08-08 17:47:58 +02:00
  • 958698bba7 Remove square bracket around IPv6 addresses (#1517) conetra 2020-08-08 11:16:01 +00:00
  • 1d71cdc9e0 Support autocast of polls into input media when possible Lonami Exo 2020-08-07 16:03:50 +02:00
  • 241c6c4ac8 Auto-retry on interdc call (rich) error Lonami Exo 2020-08-03 12:35:25 +02:00
  • cb6ffeaabd Slightly improve docs heuristics for video files Lonami Exo 2020-07-28 19:46:50 +02:00
  • 34861ad1bc Update to v1.16 v1.16.0 Lonami Exo 2020-07-28 18:12:24 +02:00
  • 012cae051b Add a script to update online documentation Lonami Exo 2020-07-26 13:50:48 +02:00
  • f18ab08334 Add new friendly method to get channel stats Lonami Exo 2020-07-26 13:45:30 +02:00
  • b1ea7572dd Document new rpc errors in layer 116 Lonami Exo 2020-07-26 13:27:45 +02:00
  • e12f6c747f Extend use of force_document to work on files Lonami Exo 2020-07-26 13:03:59 +02:00
  • 95ea2fb40c Remove uses of gif external Lonami Exo 2020-07-26 12:59:10 +02:00
  • 57b38b24dd Update to layer 116 Lonami Exo 2020-07-26 12:55:29 +02:00
  • ec8bb8a06a Document PRIVACY_TOO_LONG Lonami Exo 2020-07-25 18:42:12 +02:00
  • 1c3e7dda01 Avoid explicitly passing the loop to asyncio Lonami Exo 2020-07-25 18:39:35 +02:00
  • de17a19168 Improve upload_file by properly supporting streaming files Lonami Exo 2020-07-15 14:35:42 +02:00
  • bfb8de2736 Update upload file size limit to 2GB (#1499) Shrimadhav U K 2020-07-06 23:41:40 +05:30
  • e44926114a Bump to v1.15 v1.15.0 Lonami Exo 2020-07-04 13:29:19 +02:00
  • 326f70b678 Support clicking on buttons asking for phone/location Lonami Exo 2020-07-04 13:12:22 +02:00
  • 7b852206f1 Fix click timeout error is now different Lonami Exo 2020-07-04 12:30:15 +02:00
  • ab594ed0cb Remove unused imports and variables Lonami Exo 2020-07-04 12:18:39 +02:00
  • 0f8119c400 Fix typo in docs (#1493) KnorpelSenf 2020-06-24 14:30:41 +02:00
  • ba4f4c1f78 Fix url property in QRLogin (#1494) Tulir Asokan 2020-06-24 15:11:54 +03:00
  • e0c3143763 Update documentation with new errors and further clarifications Lonami Exo 2020-06-22 13:21:45 +02:00
  • fc07e6bba7 Document some RPC errors for channels.editCreator Lonami Exo 2020-06-07 09:50:33 +02:00
  • 3e511484c7 Support pathlib.Path on download_file Lonami Exo 2020-06-06 21:07:22 +02:00
  • 4b933069f1 Add hacks to properly handle events.Album from other DCs Lonami Exo 2020-06-06 21:01:02 +02:00
  • faf7263d8f Handle RPC errors on auto-get_difference Lonami Exo 2020-06-06 14:04:14 +02:00