Commit Graph

  • 9bb8fe55da Remove unused import and class Dan 2018-05-11 12:50:48 +0200
  • 9078639243 Add send_gif method Dan 2018-05-11 12:41:18 +0200
  • e1e0029cc5 Rename media type 1 to chat_photo Dan 2018-05-11 11:57:05 +0200
  • 696a86791f Add GIF filter Dan 2018-05-11 11:56:48 +0200
  • 84f9c2145c Add support for GIF files Dan 2018-05-11 11:56:27 +0200
  • 31635327ca Add missing comma Dan 2018-05-10 18:13:27 +0200
  • 30c6741ec6 Update Str class Dan 2018-05-10 15:52:53 +0200
  • 89af1d0827 Fix unparse not taking surrogates into account Dan 2018-05-10 15:25:01 +0200
  • d41464e12e Small pattern fix Dan 2018-05-10 15:11:13 +0200
  • efeade88c1 Cleaner markdown Dan 2018-05-10 15:07:03 +0200
  • dc47d8e386 Add custom Str and use it for texts and captions. This would allow usages like message.text.markdown which will return the unparsed markdown text Dan 2018-05-10 14:47:15 +0200
  • b334b06117 Add markdown unparse method Dan 2018-05-10 14:46:14 +0200
  • d16219e187 Add MEDIA_CAPTION_TOO_LONG error Dan 2018-05-10 12:19:27 +0200
  • ee5cfa740a Update develop version Dan 2018-05-09 21:41:20 +0200
  • cc9aeb290a Don't process empty messages Dan 2018-05-09 21:40:24 +0200
  • 3419b0b98e Merge branch 'mixin' into develop Dan 2018-05-09 20:30:22 +0200
  • 14f23d388c Clean get_history Dan 2018-05-09 20:27:29 +0200
  • 781edda56a Handle get_messages flood wait Dan 2018-05-09 19:50:57 +0200
  • a1c3e40800 Make parse_messages accept a list of messages Dan 2018-05-09 19:29:23 +0200
  • 65c67aaf57 Move download_media Dan 2018-05-09 13:36:33 +0200
  • 8cc7cdba9a Remove text submodule Dan 2018-05-09 13:08:16 +0200
  • 662d49d885 Add get_history.py Dan 2018-05-09 13:06:32 +0200
  • 06e6579091 Update some inconsistent docstrings Dan 2018-05-09 13:04:02 +0200
  • 07965850bf Fix some other method docstrings Dan 2018-05-09 12:47:11 +0200
  • 746a0d0595 Fix send_contact and send_document docstrings Dan 2018-05-09 12:44:43 +0200
  • e6070cbc87 Fix send_audio docstrings Dan 2018-05-09 12:43:38 +0200
  • f92b74328f Fix send_chat_action docstrings Dan 2018-05-09 12:38:09 +0200
  • 63b4f909df Split location parameter into lat and long Dan 2018-05-09 12:33:51 +0200
  • 5be87a0dec Add Filters.bot Dan 2018-05-08 18:08:51 +0200
  • 5782fb4224 Add get_history method Dan 2018-05-07 21:56:15 +0200
  • c0890d8cdb Make get_me return the new type Dan 2018-05-07 16:45:05 +0200
  • 4f14dd7abe Remove the new parameter in export_chat_invite_link Dan 2018-05-07 16:40:50 +0200
  • 3386fd040a Fix style Dan 2018-05-07 16:38:11 +0200
  • 78ccb93bc1 Add TimeoutError on possible raises Dan 2018-05-07 16:37:54 +0200
  • bef0a24408 Small fixes Dan 2018-05-07 15:55:41 +0200
  • 8454d438be Refactor the project by using Mixin classes This will cut client.py down from ~4k to ~1k SLOC and also makes the whole project tidier and more organized. Dan 2018-05-07 14:30:55 +0200
  • f5521370bb Add progress_args to download_media as well Dan 2018-05-06 15:45:42 +0200
  • 00420aec92 Use the already computed channel_id Dan 2018-05-06 15:06:32 +0200
  • e270c7d5f8 Remove unpack_dispatch_and_ack method Dan 2018-05-06 14:55:41 +0200
  • 7f27c43b30 Set develop version Dan 2018-05-06 13:59:15 +0200
  • b0eee21730
    Update examples README.md Dan 2018-05-06 13:20:29 +0200
  • 735dfb6a0c Add callback_query_handler.py example Dan 2018-05-06 13:03:37 +0200
  • e8b708b35d Fix examples links Dan 2018-05-06 12:53:29 +0200
  • 07c37cd94c Add send_bot_keyboards.py example Dan 2018-05-06 12:51:48 +0200
  • b35b1a8e74 Update examples Dan 2018-05-06 11:56:25 +0200
  • ef9ce19a8b Add HISTORY_GET_FAILED error Dan 2018-05-06 10:58:45 +0200
  • 9f3f4099d5 Handle timeouts when getting answers from inline bots Dan 2018-05-05 19:42:38 +0200
  • 553e7f714c Add get_chat method Dan 2018-05-05 18:42:28 +0200
  • 68986171ef Add photo_id Dan 2018-05-05 18:11:14 +0200
  • ef45288419 Change chat photo media id Dan 2018-05-05 16:51:01 +0200
  • 7a79e5a0c4 Add media type 1 Dan 2018-05-04 18:37:36 +0200
  • c58db10e9f Update to v0.7.3 v0.7.3 Dan 2018-05-03 15:48:05 +0200
  • 14b6ced6e2 Remove unused import Dan 2018-05-03 15:47:02 +0200
  • cd9f2223e7 Some little fixes in case of ChatForbidden. Thanks @i-Naji Dan 2018-05-03 15:45:57 +0200
  • afc2a2e35d Use weakref proxy instead of ref Dan 2018-05-03 15:44:55 +0200
  • 58952a7d98 Temporarily remove the debug feature Dan 2018-05-02 23:06:22 +0200
  • 02ec86f4b2 Respect users' logger level, don't set to WARNING Dan 2018-05-02 22:36:56 +0200
  • 074d98c209 Update to v0.7.2 v0.7.2 Dan 2018-05-02 16:07:43 +0200
  • 32336a9bda Fix links Dan 2018-05-02 16:00:48 +0200
  • 3d3c1e2c0e Use __name__ instead of .split(".")[-1] Dan 2018-05-02 00:36:39 +0200
  • f29b8bb7e4 Cache the session right after they start. Related to #68 @EriHoss is right, the session can know how to clean itself in case for some reason it fails to start, hence it makes much more sense to cache sessions right after they start. Also, clear the media_sessions dict when stopping to get rid of closed sessions. Dan 2018-05-01 21:08:47 +0200
  • 1dc43064fb Add a weakref to client instead Dan 2018-05-01 20:40:47 +0200
  • 1b48f850bf Add new sessions to the media_sessions dict before starting them Dan 2018-05-01 20:25:35 +0200
  • db14aa288d Add missing remove_handler method Dan 2018-05-01 19:52:45 +0200
  • 202662584b Fix typo in file name Dan 2018-05-01 19:52:34 +0200
  • 83febf2e0c Cache media sessions. Related to #40. Fixes #68 Dan 2018-05-01 18:15:33 +0200
  • 943691fd18 Remove useless attribute Dan 2018-05-01 11:52:14 +0200
  • 11aa46665e
    Merge pull request #69 from EriHoss/stop_getfile_sessions Dan 2018-05-01 11:45:51 +0200
  • 11d0eb6ea1 Make sure Session is always stopped upon exceptions in Client.get_file Eric Blundell 2018-05-01 01:39:58 -0500
  • 20146ded28 Show only the type name (class) Dan 2018-04-30 20:40:32 +0200
  • 2e81a2369d Make download_media hint string as acceptable type Dan 2018-04-30 20:25:45 +0200
  • 35e1a76cef Fix pycharm warnings Dan 2018-04-30 19:53:03 +0200
  • 47d5889612 Make ChatAction.from_string() static Dan 2018-04-30 19:44:26 +0200
  • a32e496fe3
    Merge pull request #67 from JosXa/chataction-enum Dan 2018-04-30 19:39:33 +0200
  • fcb4c6d07b
    Update client.py Dan 2018-04-30 19:37:59 +0200
  • 9b9c7ced77
    Update chat_action.py Dan 2018-04-30 19:34:59 +0200
  • 4d81e6894d Make optional word italic Dan 2018-04-30 19:30:16 +0200
  • 95bcfd9b26 Document reply_markup parameter Dan 2018-04-30 19:28:16 +0200
  • bfe6632de4 Fix index out of range for new messages Dan 2018-04-30 19:21:58 +0200
  • a7650c457d Add progress_args parameter Dan 2018-04-30 19:09:57 +0200
  • 33dd708831 enumeration "class" JosXa 2018-04-30 16:36:18 +0200
  • 5b492bae9d Docstring JosXa 2018-04-30 16:32:21 +0200
  • abf89688ed Also allow strings for send_chat_action JosXa 2018-04-30 16:28:43 +0200
  • e2d80a6087 Made ChatAction an Enum JosXa 2018-04-30 16:11:50 +0200
  • 72e95fd322 Made ChatAction an Enum JosXa 2018-04-30 16:03:18 +0200
  • e6b4f0e743 Make delete_messages accept iterables Dan 2018-04-30 14:25:11 +0200
  • b41c009962 Make forward_messages accept iterables Dan 2018-04-30 14:24:05 +0200
  • 59ab1591d2 Make get_users accept iterables Dan 2018-04-30 14:22:13 +0200
  • 8f8e1cfa25 Make get_messages accept iterables Dan 2018-04-30 14:18:13 +0200
  • 53b0736975 Make add_handler return (handler, group) tuple Dan 2018-04-30 13:31:11 +0200
  • deed74840a Make send_message return the correct Message type Dan 2018-04-30 13:13:30 +0200
  • e2224054d2 Merge branch 'remove-handler-and-locks' of https://github.com/JosXa/pyrogram into JosXa-remove-handler-and-locks Dan 2018-04-30 10:30:34 +0200
  • f824e69b5a
    Update client.py Dan 2018-04-30 10:15:34 +0200
  • bb607e56be Added locks for modifying and iterating handlers Added remove_handler method Made add_handler return a (handler, group) tuple JosXa 2018-04-30 00:15:24 +0200
  • de332471df Join net worker threads before stopping. Fixes #62 Dan 2018-04-29 20:30:32 +0200
  • 33c417942c Clear thread lists when stopping. Related to #62 Dan 2018-04-29 20:20:34 +0200
  • 68cd19baa4 Update docs Dan 2018-04-29 19:48:19 +0200
  • 2c253b2fbc Cleanup docstrings and add some entries to the docs Dan 2018-04-29 19:24:06 +0200
  • d3472fd052 Add CallbackQuery to docs Dan 2018-04-29 19:06:35 +0200
  • 4eed293933 Document on_callback_query Dan 2018-04-29 18:46:35 +0200