Commit Graph

  • aa6d3430ae Properly handle bot timeouts when clicking buttons Lonami Exo 2018-06-11 10:20:22 +0200
  • f86f52d960 Fix async_generator's and missing awaits Lonami Exo 2018-06-10 22:00:55 +0200
  • 8be6adeab4 Make use of the async_generator module Lonami Exo 2018-06-10 21:50:28 +0200
  • 15ef302428 Implement _switch_dc/fix missing first request Lonami Exo 2018-06-10 21:30:16 +0200
  • 4a491e45ce Fix broken debug call Lonami Exo 2018-06-10 21:02:22 +0200
  • d462b04a9c Add async/await on tl.custom Lonami Exo 2018-06-10 20:29:57 +0200
  • 1bde72d375 Make the TelegramClient aggregate all client methods Lonami Exo 2018-06-10 19:05:36 +0200
  • fb8b052754 Separate update requests from the TelegramClient Lonami Exo 2018-06-10 13:58:21 +0200
  • ac2e59b472 Separate auth requests from the TelegramClient Lonami Exo 2018-06-10 12:57:36 +0200
  • 4ff0756ffc Separate download requests from the TelegramClient Lonami Exo 2018-06-10 12:04:23 +0200
  • 317b7053a0 Separate parse message methods from uploads Lonami Exo 2018-06-10 11:30:51 +0200
  • 83a024656c Rename client.files as client.uploads Lonami Exo 2018-06-09 22:14:51 +0200
  • ad29f2f5b7 Separate chat requests from the TelegramClient Lonami Exo 2018-06-09 22:13:00 +0200
  • 1e91e5a83c Separate dialogs methods from the TelegramClient Lonami Exo 2018-06-09 22:09:02 +0200
  • 4bd20f1ce2 Separate file and message methods from TelegramClient Lonami Exo 2018-06-09 22:05:06 +0200
  • bb9b9796e0 Separate user methods from the base client Lonami Exo 2018-06-09 21:22:54 +0200
  • 4b147f0153 Move clients to a new package Lonami Exo 2018-06-09 21:11:35 +0200
  • d76b27058f Warn on invoke and clean TelegramClient Lonami Exo 2018-06-09 21:10:23 +0200
  • 3e151a1b7a Make TelegramBareClient able to invoke requests Lonami Exo 2018-06-09 21:03:48 +0200
  • 7e68274f26 Keep consistent structure and remove done TODO Lonami Exo 2018-06-09 15:42:10 +0200
  • acd6025731 Use put_nowait and avoid double await Lonami Exo 2018-06-09 15:26:13 +0200
  • 485ce5ca3b Ignore padding on server messages instead warning Lonami Exo 2018-06-09 14:23:42 +0200
  • be279ce3f5 Make TLMessage always have a valid TLObject Lonami Exo 2018-06-09 13:48:27 +0200
  • f7e8907c6f Create RpcResult class and generalise core special cases Lonami Exo 2018-06-09 13:11:49 +0200
  • 2071ecf8c5 should have used tuple oops Jeff 2018-06-09 18:00:09 +0800
  • 1e66cea9b7 Reuse some more code from MTProtoState Lonami Exo 2018-06-09 11:36:59 +0200
  • adfe861e9f Create a self-contained MTProtoState Lonami Exo 2018-06-09 11:34:01 +0200
  • cc5753137c Clean-up TelegramBareClient - unnecessary? Lonami Exo 2018-06-08 21:52:59 +0200
  • a63580c350 Private methods are not public API Lonami Exo 2018-06-08 21:18:15 +0200
  • 6766c4eea9 Make heavy use of logging Lonami Exo 2018-06-08 21:13:14 +0200
  • e36517845a Retry on connection/security errors Lonami Exo 2018-06-08 20:50:53 +0200
  • 9a51679dab probably less hacky? Jeff 2018-06-09 02:50:07 +0800
  • 92b606a3e8 Automatically reconnect on connection reset Lonami Exo 2018-06-08 20:41:48 +0200
  • 32ecc57172 add docs index for bots methods Jeff 2018-06-08 17:39:36 +0800
  • 43f7c11bbb
    Merge pull request #1 from LonamiWebs/master Jeff 2018-06-08 16:43:52 +0800
  • f5a7a8da45 Not need to save (salt is out of DB) Andrey Egorov 2018-06-08 01:33:11 +0300
  • 5c917fb425 Except timeout error and retry Lonami Exo 2018-06-07 18:01:18 +0200
  • f72ddbdd5a Implement retry and fail cases in authenticator Lonami Exo 2018-06-07 17:20:45 +0200
  • df895a94ab Create auth_key if not present Lonami Exo 2018-06-07 16:32:12 +0200
  • a940e2e9a2 Process entities and add a handler for updates Lonami Exo 2018-06-07 14:32:22 +0200
  • c7e4ae8672 Send acks Lonami Exo 2018-06-07 14:16:47 +0200
  • 805bf00dee Support sending multiple requests at once Lonami Exo 2018-06-07 14:02:55 +0200
  • 884dbe2d1f Use a custom Queue to simplify the _send_loop Lonami Exo 2018-06-07 13:51:19 +0200
  • 382355a22f Collapse multiple requests into a single container Lonami Exo 2018-06-07 13:33:32 +0200
  • a3687b8bb5 Complete all methods under MTProtoSender and document them Lonami Exo 2018-06-07 11:51:09 +0200
  • 0418f7e375 Fix get_entities_text and allow filtering by type Lonami Exo 2018-06-07 10:46:32 +0200
  • 56b09c0c9d Properly set future results Lonami Exo 2018-06-07 10:30:20 +0200
  • 9477c75fce Fix basic requests sending and receiving Lonami Exo 2018-06-06 21:42:48 +0200
  • e469258ab9 Create a new MTProtoSender structure and its foundation Lonami Exo 2018-06-06 20:41:01 +0200
  • 4bdc28a775 Show invalid bot methods in the docs Lonami Exo 2018-06-06 17:35:06 +0200
  • c7d7977951 Fetch invalid bot methods from pwrtelegram Lonami Exo 2018-06-06 17:03:49 +0200
  • ed5c44a260 Support deleting more than 100 messages at once Lonami Exo 2018-06-05 21:27:49 +0200
  • 30ad06f29a Fix events.Raw not having ._set_client Lonami Exo 2018-06-04 18:35:46 +0200
  • 3db104c7bc to_bytes() named argument 'length' removed for PyPy (#834) Vaschuk Maxim 2018-06-04 13:34:52 +0300
  • e09cd73ce4 to_bytes() named argument 'length' removed (to work with PyPy) max 2018-06-04 13:33:48 +0300
  • 2e43fb3217 More nasty hacks to fix events.NewMessage attrs Lonami Exo 2018-06-03 17:09:36 +0200
  • fe3172b2c9 Fix accept TOS must be called after sign up (#824) Lonami Exo 2018-06-03 16:47:19 +0200
  • 997f2b62ce Fix EventCommon/custom.Message conflicting properties Lonami Exo 2018-06-03 16:41:13 +0200
  • 8c8a0153ef Revert 9db9d1e's count and fix typo Lonami Exo 2018-06-03 15:20:32 +0200
  • ab9d10c569 Update to v0.19.1 v0.19.1 Lonami Exo 2018-06-03 14:20:50 +0200
  • c2b8f8a1d6 Support editing media Lonami Exo 2018-06-03 13:49:19 +0200
  • 2fb5215f5f Fix parsers misbehaving with None text Lonami Exo 2018-06-03 13:48:43 +0200
  • 92b6e857a4 Separate file_to_media logic from send_file Lonami Exo 2018-06-03 13:37:18 +0200
  • e93b8f2b13 Update to layer 80 and accept TOS on sign_up (#824) Lonami Exo 2018-06-03 13:26:17 +0200
  • b2ed6caff4 Fix setattr for events.NewMessage/custom.Message Lonami Exo 2018-06-03 13:00:07 +0200
  • 0a3151175d Fix infinite recursion on setattr custom.Message Lonami Exo 2018-06-03 12:29:30 +0200
  • 81c61a0a2e Handle MessagesNotModified on iter_messages Lonami Exo 2018-06-03 12:03:02 +0200
  • 8d7c7a19c0 Add some setters for custom.Message Lonami Exo 2018-06-03 11:53:18 +0200
  • 8b16023566 Allow setting a per-client default parse mode Lonami Exo 2018-06-03 11:29:48 +0200
  • 12812ea542
    Merge pull request #830 from LonamiWebs/new-message Lonami 2018-06-02 12:53:05 +0200
  • f7222407de Document custom.Message Lonami Exo 2018-06-02 12:52:38 +0200
  • 5c76af34aa Fix copy-paste typo Lonami Exo 2018-06-02 12:38:03 +0200
  • afbba219d5 Fix copy-paste typo Lonami Exo 2018-06-02 12:38:03 +0200
  • 6dcd0911a7 Move events.NewMessage properties to custom.Message Lonami Exo 2018-06-02 12:30:25 +0200
  • 97b0a0610e Support get_messages(ids=) without entity Lonami Exo 2018-06-02 12:09:21 +0200
  • e2ce55871e Replace custom.Message's class on creation Lonami Exo 2018-06-01 21:20:34 +0200
  • 9db9d1ed5c Implement __bytes__ and use count instead sum Lonami Exo 2018-05-31 22:39:32 +0200
  • 2191fbf30b Fix custom.Message.click not having buttons Lonami Exo 2018-05-31 14:09:43 +0200
  • a1c511429e Port NewMessage.edit/delete to custom.Message Lonami Exo 2018-05-31 14:01:42 +0200
  • 66d5443fcd Add custom.Message.fwd_from_entity Lonami Exo 2018-05-31 13:56:33 +0200
  • 58f621ba82 Make custom.Message more consistent with previous patches Lonami Exo 2018-05-31 13:50:08 +0200
  • 9e4854fcce Use custom.Message in events Lonami Exo 2018-05-31 13:30:22 +0200
  • b241d80958 Return custom.Message from the TelegramClient Lonami Exo 2018-05-31 12:52:03 +0200
  • 5aed494aac Fix custom.Message special methods Lonami Exo 2018-05-31 12:50:08 +0200
  • 192b7af136 Lazily load user/input user on Message Lonami Exo 2018-05-31 12:24:25 +0200
  • aa70436441 Add a custom Message class Lonami Exo 2018-05-31 10:32:32 +0200
  • 68bb8e8b91 Add is_user/group/channel and title to Dialog Lonami Exo 2018-05-30 19:20:27 +0200
  • cb75092ba1 Merge branch 'master' into asyncio Lonami Exo 2018-05-30 19:02:55 +0200
  • ae87d452c8 Clean-up docs and merge some imports Lonami Exo 2018-05-30 18:55:01 +0200
  • 85089353f2 Fix asyncio docs Lonami Exo 2018-05-30 18:36:37 +0200
  • 780c66c619 Allow getting messages by their ID Lonami Exo 2018-05-28 19:33:23 +0200
  • 6c20f8a2c7 Set is private/group=True for messages deleted out of channels Lonami Exo 2018-05-28 18:27:44 +0200
  • a1b22e0911 Support incoming=False to indicate outgoing=True Lonami Exo 2018-05-28 18:25:01 +0200
  • 2c9d3d2fed Better handling of video notes (#803) ferferga 2018-05-24 12:28:10 +0200
  • fb89e15341 Remove if Lonami Exo 2018-05-24 12:27:41 +0200
  • 6726eab045 Clean-up DocsWriter Lonami Exo 2018-05-24 11:48:15 +0200
  • c4c41645e7 Improved modular JS for the docs (#813) trgwii 2018-05-24 11:22:52 +0200
  • 2797130324 Port good code to autogenerated pages Lonami Exo 2018-05-24 11:21:39 +0200
  • e5ff534e2e Update examples Lonami Exo 2018-05-24 10:58:42 +0200
  • 03f0044ef8 Change default iter/get messages limit Lonami Exo 2018-05-24 10:40:44 +0200