2
0
mirror of https://github.com/pyrogram/pyrogram synced 2025-08-22 01:47:34 +00:00

Commit Graph

  • 30de1e21e3 Update README.md master Dan 2024-12-23 21:20:42 +01:00
  • f5788f350d Update .github templates Dan 2024-12-23 21:19:55 +01:00
  • dc7379f5eb Update MANIFEST.in Dan 2024-12-23 21:16:42 +01:00
  • f67ce7833b Update Makefile Dan 2024-12-23 21:16:06 +01:00
  • efac17198b Update Pyrogram to v2.0.106 v2.0.106 Dan 2023-04-30 20:24:00 +02:00
  • 2ff67c72aa Move the CDN DC IPv6 to the correct mapping Dan 2023-04-30 20:23:42 +02:00
  • d9d68529aa Update Pyrogram to v2.0.105 v2.0.105 Dan 2023-04-30 19:55:05 +02:00
  • e24d5b1cf5 Add RSA public keys & IP addresses for some CDN DCs Dan 2023-04-30 19:54:39 +02:00
  • cea21ad6d0 Update Pyrogram to v2.0.104 v2.0.104 Dan 2023-04-21 14:56:56 +02:00
  • bb678a4fb6 Update API schema to Layer 158 Dan 2023-04-21 14:56:12 +02:00
  • 68c7bd6e12 Update Pyrogram to v2.0.103 v2.0.103 Dan 2023-04-03 16:29:32 +02:00
  • 8cff5594c0 Update API schema to Layer 155 Dan 2023-04-03 16:29:04 +02:00
  • abed55aea9 Update Pyrogram to v2.0.102 v2.0.102 Dan 2023-03-12 17:52:37 +01:00
  • 0a90d54010 Separate cases between Channel and ChannelForbidden Dan 2023-03-12 17:52:03 +01:00
  • fb3f9acc18 Update Pyrogram to v2.0.101 v2.0.101 Dan 2023-03-11 16:45:56 +01:00
  • a3a4a0204c Update chat username parsing in case of multiple usernames Dan 2023-03-11 16:45:32 +01:00
  • d6476ce57e Update Pyrogram to v2.0.100 v2.0.100 Dan 2023-02-26 11:09:21 +01:00
  • 787eabd940 Update send_inline_bot_result return type hint Dan 2023-02-26 11:08:27 +01:00
  • 96ffc7efcd Update Pyrogram to v2.0.99 v2.0.99 Dan 2023-02-11 10:09:03 +01:00
  • 2e82fcecff
    Add missing has_spoiler parameter to reply_{animation,photo,video} Jins Mathew 2023-02-11 12:08:29 +03:00
  • f040aefc9f Update bug_report.yml Dan 2023-02-11 10:03:09 +01:00
  • 53cb3f29c7 Update Pyrogram to v2.0.98 v2.0.98 Dan 2023-02-10 12:44:07 +01:00
  • 5c5dce6620
    Update API schema to Layer 152 (#1207) Nick 2023-02-10 12:34:43 +01:00
  • 22e2b7ff62 Update bug_report.yml Dan 2023-02-10 12:30:08 +01:00
  • cfbc848dcf Update Pyrogram to v2.0.97 v2.0.97 Dan 2023-01-12 18:26:08 +01:00
  • 245b7e653d Tweak Session timeouts Dan 2023-01-12 18:25:42 +01:00
  • 283246a6b8 Change connection mode Dan 2023-01-12 18:25:10 +01:00
  • 82b8c7792e Allow to specify a limit to concurrent transmissions Dan 2023-01-12 18:19:15 +01:00
  • 2a7110e257 Update Pyrogram to v2.0.96 v2.0.96 Dan 2023-01-09 15:22:36 +01:00
  • a58e19827a Sort the lists of known errors Dan 2023-01-09 15:22:10 +01:00
  • d53e1c235b Lower the logging level of some log calls Dan 2023-01-09 15:19:55 +01:00
  • 043734f02b
    Add BUTTON_USER_PRIVACY_RESTRICTED to the list of known errors (#1193) Mahesh 2023-01-09 19:32:20 +05:30
  • f9a9673011 Update Pyrogram to v2.0.95 v2.0.95 Dan 2023-01-08 17:22:42 +01:00
  • 24018532c8 Add INVITE_REQUEST_SENT to known errors Dan 2023-01-08 17:22:15 +01:00
  • 388c534e1f
    Add BOT_ONESIDE_NOT_AVAIL to known errors (#1073) Nick 2023-01-08 17:20:36 +01:00
  • aa2f189225 Update Pyrogram to v2.0.94 v2.0.94 Dan 2023-01-08 17:11:22 +01:00
  • 8441ce2f47 Limit the amount of concurrent transmissions Dan 2023-01-08 17:11:02 +01:00
  • b19764d5dc Update Pyrogram to v2.0.93 v2.0.93 Dan 2022-12-31 19:02:20 +01:00
  • 6752af8796 Add error messages for transport errors Dan 2022-12-31 19:01:42 +01:00
  • 526aaa0f9d Update Pyrogram to v2.0.92 v2.0.92 Dan 2022-12-30 20:18:23 +01:00
  • a09c5a3b98 Set has_media_spoiler only in case of Photo, Video or Animation media Dan 2022-12-30 20:16:25 +01:00
  • fbd62f9596 Update Pyrogram to v2.0.91 v2.0.91 Dan 2022-12-30 18:07:55 +01:00
  • 2de8f1921c Fix resolving peers for users with multiple usernames This currently makes it work for the first available username only Dan 2022-12-30 18:07:15 +01:00
  • 3b0dee7dd5 Update Pyrogram to v2.0.90 v2.0.90 Dan 2022-12-30 15:56:19 +01:00
  • 1e6209da3b Add support for email sign in codes Fixes #1183 Dan 2022-12-30 15:55:52 +01:00
  • 5d3abd3ab0 Update Pyrogram to v2.0.89 v2.0.89 Dan 2022-12-30 15:14:42 +01:00
  • e8bd639634 Add media spoiler support for other relevant methods - send_media_group() - edit_message_media() - edit_inline_media() Dan 2022-12-30 15:12:42 +01:00
  • 50d87bf5e9 Add the field is_persistent to the class ReplyKeyboardMarkup Dan 2022-12-30 15:10:53 +01:00
  • a116ea42c8 Add the field has_spoiler to relevant InputMedia* classes - InputMediaPhoto - InputMediaVideo - InputMediaAnimation Dan 2022-12-30 15:10:20 +01:00
  • 06996d24ff Add media_spoiler filter Dan 2022-12-30 15:09:21 +01:00
  • c707a4baae Add the parameter has_spoiler to relevant send_* media methods - send_photo() - send_video() - send_animation() Dan 2022-12-30 15:08:55 +01:00
  • ef29b3c519 Add the field has_media_spoiler to the class Message Dan 2022-12-30 15:06:51 +01:00
  • e0dda5ab26
    Update API schema to Layer 151 (#1182) Nick 2022-12-30 14:10:37 +01:00
  • fbf722d265 Update Pyrogram to v2.0.88 v2.0.88 Dan 2022-12-29 23:35:06 +01:00
  • cf1e31c413 Apply security checks to each message in the container Dan 2022-12-29 23:33:58 +01:00
  • 7ee47b220d Update Pyrogram to v2.0.87 Dan 2022-12-28 17:44:25 +01:00
  • d890e5346c Clear stored_msg_ids on session stop Dan 2022-12-28 17:44:02 +01:00
  • 82c81c10bd Update Pyrogram to v2.0.86 v2.0.86 Dan 2022-12-28 00:22:19 +01:00
  • 1daa05a35c Raise and handle send errors in order to immediately act upon Dan 2022-12-28 00:21:05 +01:00
  • 5ca422b314 Create a future result before sending its request Dan 2022-12-28 00:19:28 +01:00
  • 2dca5aeac2 Handle proxy socket connections using thread executors Dan 2022-12-28 00:14:04 +01:00
  • 1fa6f3b924 Update Pyrogram to v2.0.85 v2.0.85 Dan 2022-12-27 22:24:21 +01:00
  • cf06939a55 Workaround proxy sockets not timing out properly Dan 2022-12-27 22:23:05 +01:00
  • 52effe19d5 Update Pyrogram to v2.0.84 v2.0.84 Dan 2022-12-27 14:56:34 +01:00
  • dc3b8a5e01 Tweak file upload settings Multiple sessions as used in the current implementation were causing a variety of network related issues. Use one session only instead. Multiple workers within the same session are fine as long as they are not too many, otherwise the server will start replying with -429 (too many requests). Setting the queue size to 1 helps in having a more linear upload progress. Dan 2022-12-27 14:55:07 +01:00
  • 9bf742abc0 Introduce back some previously reverted changes Dan 2022-12-27 13:40:42 +01:00
  • 03d60cdfe6 Update Pyrogram to v2.0.83 v2.0.83 Dan 2022-12-26 22:30:14 +01:00
  • bff583ed75 Revert some of the latest changes Dan 2022-12-26 22:26:55 +01:00
  • a81b8a2254 Update Pyrogram to v2.0.82 v2.0.82 Dan 2022-12-26 20:12:20 +01:00
  • 235dde2251 Update exception message Dan 2022-12-26 20:11:58 +01:00
  • 916be08116 Update Pyrogram to v2.0.81 v2.0.81 Dan 2022-12-26 16:48:30 +01:00
  • 8b87c6ace3 Update tcp.py Dan 2022-12-26 16:48:03 +01:00
  • ab45707f0f Update requirements.txt Dan 2022-12-26 16:47:37 +01:00
  • 6b54467a0d Update Pyrogram to v2.0.80 v2.0.80 Dan 2022-12-26 16:38:58 +01:00
  • 01cd8bb57f Optimize log calls Dan 2022-12-26 16:38:12 +01:00
  • d298c62c6d Update session.py Dan 2022-12-26 16:34:49 +01:00
  • 7182a7cff7 Update connection.py Dan 2022-12-26 16:29:05 +01:00
  • dd4e41f63f Make the use of proxies an optional dependency Dan 2022-12-26 16:28:06 +01:00
  • 6aae3a9c77 Always use non-blocking sockets Dan 2022-12-26 16:25:22 +01:00
  • 9ee1807e42 Don't raise write() and close() exceptions Dan 2022-12-26 16:23:57 +01:00
  • 7e5d593544 Keep lang_code lowercase Dan 2022-12-26 16:19:26 +01:00
  • 9eaaf105c1 Update requirements.txt Dan 2022-12-26 16:18:41 +01:00
  • 3d5e9d841f Update Pyrogram to v2.0.79 v2.0.79 Dan 2022-12-25 15:28:26 +01:00
  • ce8c242eb4 Revert to triggering a reconnection when skipping invalid packets Dan 2022-12-25 15:14:12 +01:00
  • b23e34494e Add messages for mismatched checks Dan 2022-12-25 15:08:02 +01:00
  • ae028ab4b6 Switch back to local system time synchronization perf_counter will stop counting when the system goes to sleep, causing the generation of invalid message ids after waking up which in turn put the client into a never ending reconnecting loop due to check mismatches caused by the time not being synced anymore. It's also unclear whether perf_counter stays in sync during long runs. Dan 2022-12-25 14:55:40 +01:00
  • 13094f1d8b Update Pyrogram to v2.0.78 v2.0.78 Dan 2022-12-25 10:31:40 +01:00
  • 4c32a15cfd Remove unneeded threading.Lock Dan 2022-12-25 10:30:56 +01:00
  • 87ae79e0e2 Remove special cases for older Python versions Dan 2022-12-25 10:29:00 +01:00
  • dbf2e471b5 Fix usages of removed attributes Dan 2022-12-25 10:26:30 +01:00
  • b3825c209e Update Pyrogram to v2.0.77 v2.0.77 Dan 2022-12-24 17:53:49 +01:00
  • c7d362990f Add back a reference to the loop Dan 2022-12-24 17:53:24 +01:00
  • 13e8c41991 Update Pyrogram to v2.0.76 v2.0.76 Dan 2022-12-24 17:32:02 +01:00
  • f12005b5d0 Use Python's standard sockets in case of no proxy Dan 2022-12-24 17:30:23 +01:00
  • deb560a051 Remove unused variables Dan 2022-12-24 17:26:40 +01:00
  • 91160bf834 Update Pyrogram to v2.0.75 v2.0.75 Dan 2022-12-24 17:15:23 +01:00
  • 1cb17152f8 Keep a timeout while connecting and set non-blocking afterwards Also fix an await to None value Dan 2022-12-24 17:15:10 +01:00
  • f30510ab7d Update Pyrogram to v2.0.74 v2.0.74 Dan 2022-12-24 16:15:37 +01:00
  • 84d60b56b3 Switch to non-blocking sockets & use a send queue Dan 2022-12-24 16:15:07 +01:00
  • f350691c69 Update Pyrogram to v2.0.73 v2.0.73 Dan 2022-12-23 20:41:31 +01:00