Commit Graph

  • a62627534e Get rid of client.loop Lonami Exo 2022-01-16 13:51:23 +01:00
  • 6eadc8aed8 Simplify accepted values in forward, delete and mark read Lonami Exo 2022-01-16 13:03:00 +01:00
  • 1e779a91b7 Add progress_callback to download_profile_photo Lonami Exo 2022-01-16 12:42:00 +01:00
  • dc0f978b59 Support await on any client.action Lonami Exo 2022-01-16 12:40:09 +01:00
  • a3513d5232 Remove broken force_sms Lonami Exo 2022-01-16 12:19:07 +01:00
  • a95393648f Remove custom enum parsing Lonami Exo 2022-01-16 12:06:42 +01:00
  • 8c9ee3f731 Document new known errors Lonami Exo 2022-01-16 12:01:18 +01:00
  • 3ad6d86cf5 Update to layer 137 Lonami Exo 2022-01-16 11:48:30 +01:00
  • fe941cb940 Address immutability issues on connect Lonami Exo 2022-01-15 13:41:17 +01:00
  • f5f0c84553 Completely overhaul connections and transports Lonami Exo 2022-01-15 13:33:50 +01:00
  • 02703e3753 Fix circular import regarding ignore_takeout Lonami Exo 2022-01-15 13:18:53 +01:00
  • 7524b652c8 Unify setting session state Lonami Exo 2022-01-15 11:22:33 +01:00
  • be0da9b183 Update takeout to use less hacks Lonami Exo 2022-01-09 14:41:10 +01:00
  • 2db0725b98 Fix generating error names in TL ref Lonami Exo 2022-01-09 14:41:04 +01:00
  • 691160bd92 Remove 3.7 workarounds Lonami Exo 2022-01-09 13:03:02 +01:00
  • be6508dc5d Use frozen dataclasses for session types Lonami Exo 2022-01-09 13:01:16 +01:00
  • 7ea30961ae Bump minimum required Python version to 3.7 Lonami Exo 2022-01-09 13:00:45 +01:00
  • 721c803af9 Stop opening webbrowser on clicking URL buttons Lonami Exo 2022-01-09 12:23:06 +01:00
  • 232e76e73a Stop setting the sender to be the channel when missing Lonami Exo 2022-01-09 12:20:58 +01:00
  • 010ee0813a Rename send_read_acknowledge Lonami Exo 2021-10-16 14:01:56 +02:00
  • 1b15a34f69 Remove parse_mode from the client Lonami Exo 2021-10-16 13:59:33 +02:00
  • e2132d5f7c Change the way thumb size selection works Lonami Exo 2021-10-16 13:56:38 +02:00
  • 03de901b7f Add enum for typing action Lonami Exo 2021-10-16 12:40:25 +02:00
  • dbe66bf805 Remove TLObject.to_json Lonami Exo 2021-10-16 11:55:18 +02:00
  • b566e59036 Add stringify back to custom Message Lonami Exo 2021-10-16 11:53:29 +02:00
  • 8de375323e Cleanup events code Hackintosh 5 2021-12-11 12:31:38 +00:00
  • 8d1379f3d4 Remove _finish_init from chataction.py penn5 2021-12-11 10:56:49 +00:00
  • d3ef3c69c8 Remove _finish_init from newmessage.py penn5 2021-12-11 10:55:09 +00:00
  • dea424fdec Fix typo in messages.py penn5 2021-12-11 10:47:40 +00:00
  • f9643bf737 Add missing async when downloading from URL (#3222) Reinier Romero Mir 2021-12-01 14:28:55 -05:00
  • bda4259815 Bump to v1.24 v1.24.0 Lonami Exo 2021-12-01 19:08:47 +01:00
  • c9ecd61f7e Fix peer ID check to work with higher IDs Lonami Exo 2021-12-01 19:03:38 +01:00
  • 9c796e8d73 Fix typo, add errors, and update to 133 again (#3157) Shrimadhav U K 2021-12-01 23:30:29 +05:30
  • a5dce81d0f Actually fill parameters in Message._as_input Lonami Exo 2021-10-12 18:01:34 +02:00
  • 72fc8f6808 Continue work on Message sending overhaul Lonami Exo 2021-10-12 17:59:30 +02:00
  • 3853f98e5f Begin work into making Message a viable way to send them Lonami Exo 2021-10-09 12:01:45 +02:00
  • 5a8c066ff7 Fix generated RpcError were no longer formatting the value Lonami Exo 2021-09-28 21:07:15 +02:00
  • 1c15375ea4 Fix get_participants was monkey-patching User Lonami Exo 2021-09-28 21:06:00 +02:00
  • 197a1ca996 Fix some modules were public when they should not have been Lonami Exo 2021-09-26 19:58:42 +02:00
  • a9e1a574ae Fix limit was no longer defaulting to empty tuple Lonami Exo 2021-09-26 18:37:09 +02:00
  • 6f602a203e Fix custom.Forward not using the new __slots__ Lonami Exo 2021-09-26 18:33:03 +02:00
  • e3b1dc2059 Make to_dict dynamic Lonami Exo 2021-09-26 18:30:08 +02:00
  • 86c47a2771 Use __slots__ in all generated classes Lonami Exo 2021-09-26 17:52:16 +02:00
  • 8bd4835eb2 Remove build_reply_markup from the client Lonami Exo 2021-09-25 20:42:51 +02:00
  • 6fec2a68c5 Use a proper markdown parser Lonami Exo 2021-09-25 20:33:25 +02:00
  • 1762f554df Make events subpackage private Lonami Exo 2021-09-24 21:11:50 +02:00
  • 5a44510e2d Forward client calls to impl in a more straightforward manner Lonami Exo 2021-09-24 20:46:33 +02:00
  • ce292b36ab Fix GROUP check in EntityCache Lonami Exo 2021-09-24 20:12:23 +02:00
  • debde6e856 Completely overhaul errors to be generated dynamically Lonami Exo 2021-09-24 20:07:34 +02:00
  • cfe47a0434 Correct privacy on sessions module Lonami Exo 2021-09-19 18:24:16 +02:00
  • 26f6c62ce4 Init update state cache to empty in init Lonami Exo 2021-09-19 18:17:37 +02:00
  • 3b1660669e Remove self input user and bot cache from client Lonami Exo 2021-09-19 18:16:12 +02:00
  • cc3d4145d8 Update and persist session state on successful login Lonami Exo 2021-09-19 18:15:09 +02:00
  • 3f13357d0f Fix SQLiteSession.set_state did not always clear old state Lonami Exo 2021-09-19 18:02:08 +02:00
  • 016347474a Populate current user on connection if it's not yet saved Lonami Exo 2021-09-19 18:01:01 +02:00
  • 35a6d1e294 Fix SessionState did not store takeout_id Lonami Exo 2021-09-19 17:59:35 +02:00
  • 545e9d69ce Cache session_state and all_dcs right after connect Lonami Exo 2021-09-19 17:51:05 +02:00
  • 93dd2a186a Refresh DC info on connection Lonami Exo 2021-09-19 17:41:40 +02:00
  • 58c0a5bc24 Make IPv4 mandatory in session files Lonami Exo 2021-09-19 17:30:31 +02:00
  • d60ebbe6ea Fix _get_peer was relying on old utils.resolve_id Lonami Exo 2021-09-19 17:21:11 +02:00
  • 9479e215fb Fix remaining upgraded uses of the session to work correctly Lonami Exo 2021-09-19 17:08:51 +02:00
  • d33402f02e Fix _update_loop could get stuck in an infinite loop with no feedback Lonami Exo 2021-09-19 17:08:34 +02:00
  • 81b4957d9b Update code to deal with the new sessions Lonami Exo 2021-09-19 16:38:11 +02:00
  • 1f5722c925 Add missing session/types file Lonami Exo 2021-09-19 16:37:53 +02:00
  • 29d3c3fd7c Fix outdated LAYER usage in _create_exported_sender Lonami Exo 2021-09-19 15:56:28 +02:00
  • 684f640b60 Completely overhaul sessions Lonami Exo 2021-09-19 13:45:19 +02:00
  • 0b54fa7a25 Make edit_message parameters more consistent Lonami Exo 2021-09-18 16:54:54 +02:00
  • 4321b97e98 No longer run send_code_request from sign_in Lonami Exo 2021-09-18 16:36:11 +02:00
  • 431a9309e3 Remove mark from peer_id Lonami Exo 2021-09-18 16:29:45 +02:00
  • 9f3bb52e4e Possibly fix _get_response_message for UpdateMessagePoll Lonami Exo 2021-09-18 16:10:01 +02:00
  • 48c14df957 Remove client.download_file Lonami Exo 2021-09-18 16:05:07 +02:00
  • e524a74b84 Remove client.disconnected property Lonami Exo 2021-09-18 15:41:04 +02:00
  • bf61dd32af Change the way iter_participants filters are specified Lonami Exo 2021-09-18 14:16:19 +02:00
  • 8114fb6c9b Stop checking fwd_from or not out in message.edit Lonami Exo 2021-09-18 13:34:21 +02:00
  • af81899bdc Don't automatically start the client via async-with Lonami Exo 2021-09-18 13:30:39 +02:00
  • ba8cdc80da Officially remove resolve_invite_link Lonami Exo 2021-09-18 13:10:31 +02:00
  • 9af8ec8cce Officially remove bot_file_id support Lonami Exo 2021-09-18 13:04:13 +02:00
  • 3d36bb7b93 Change the way connection modes are specified Lonami Exo 2021-09-18 12:49:44 +02:00
  • 783c1771ab Fix remaining uses of old types namespace Lonami Exo 2021-09-17 21:05:09 +02:00
  • dc29a95cef Change list of buttons to show up as rows and not cols Lonami Exo 2021-09-17 21:03:47 +02:00
  • 3bc46e8072 Remove broken CdnDecrypter Lonami Exo 2021-09-17 20:55:27 +02:00
  • b3c23e343a Return deleted count from delete_messages Lonami Exo 2021-09-17 20:36:40 +02:00
  • d81ebe92f7 Remove Wall of Shame Lonami Exo 2021-09-17 20:25:53 +02:00
  • 40ff7c6bdf Document default behaviour of limit Lonami Exo 2021-09-17 20:19:23 +02:00
  • 6e9ad9e31c Return correct total participant count when a filter is desired Lonami Exo 2021-09-17 20:16:01 +02:00
  • 1036c3cb52 Remove the aggressive hack from get_participants Lonami Exo 2021-09-17 20:13:05 +02:00
  • be3ed894c6 Make changes to the default limit in client.get_list methods Lonami Exo 2021-09-17 20:04:57 +02:00
  • e9f9994f4a Unify client.iter_* methods Lonami Exo 2021-09-17 19:35:10 +02:00
  • 943ad892f7 Address remaining uses of the Request suffix with raw API Lonami Exo 2021-09-13 21:00:31 +02:00
  • eb659b9a58 Fix _write_all_tlobjects call Lonami Exo 2021-09-13 20:43:44 +02:00
  • 334a847de7 Make custom.Message functional Lonami Exo 2021-09-13 20:37:29 +02:00
  • 499fc9f603 Move alltlobjects.py and fix imports Lonami Exo 2021-09-12 16:58:06 +02:00
  • 5fd2a017b2 Fix imports Lonami Exo 2021-09-12 16:23:55 +02:00
  • 01061e0719 Sort migration guide in roughly order of importance Lonami Exo 2021-09-12 16:08:20 +02:00
  • 604c3de070 Move custom and core objects to a new subpackage Lonami Exo 2021-09-12 16:05:56 +02:00
  • c08d724baa Delete _tl.patched backward-compatibility hack Lonami Exo 2021-09-12 15:52:01 +02:00
  • f6c94f4d84 Mention Python 3.5 will no longer be supported Lonami Exo 2021-09-12 15:50:26 +02:00
  • e9b97b5e4a Fix client method calls and reading TLObjects Lonami Exo 2021-09-12 15:46:57 +02:00
  • c84043cf71 Fix calls to private client methods Lonami Exo 2021-09-12 14:09:53 +02:00
  • f222dc167e Fix imports Lonami Exo 2021-09-12 13:27:13 +02:00