Commit graph

  • 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 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 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
  • c32e1d9444 Document answer_callback_query Dan 2018-04-29 18:37:03 +0200
  • 99a2c54992 Small fixes Dan 2018-04-29 18:36:55 +0200
  • 4918be5d22 Add edit_message_reply_markup method Dan 2018-04-29 18:31:29 +0200
  • ac9a263f3d Add reply_markup argument for edit_message_* methods Dan 2018-04-29 18:31:15 +0200
  • 34d7f3372f Rework delete_messages Dan 2018-04-29 18:13:50 +0200
  • b8996b1147 Remove chat field for now, it can be accessed via message.chat Dan 2018-04-29 17:19:16 +0200
  • d6bdf5f38b Fix typo Dan 2018-04-29 17:04:51 +0200
  • 9c7935702f Add callback query support Dan 2018-04-28 23:48:38 +0200
  • c1459aa22c Add get_users method Dan 2018-04-28 13:24:54 +0200
  • 4f937b2220 Add reply_markup parameter to all send_* methods Dan 2018-04-28 09:53:21 +0200
  • 489bd4ac38 Remove message_parser, move all functions in utils Dan 2018-04-28 09:38:07 +0200
  • dafc574bd5 Remove a stupid comma that made "command" act like a tuple Dan 2018-04-28 09:33:37 +0200
  • 3b314c92fb Move IDs at the bottom Dan 2018-04-28 09:09:44 +0200
  • e066d6740c Revert "Move ids at the top" Dan 2018-04-28 09:05:44 +0200
  • 01034c174a Make get_user_profile_photos return the correct type Dan 2018-04-28 09:04:45 +0200
  • 750caa7471 Fix reply keyboard markup writing Dan 2018-04-28 08:47:32 +0200
  • 18e414e2c1 Add TODO Dan 2018-04-27 20:13:19 +0200
  • e81ef5a757 Users are now able to view keyboards from bots Dan 2018-04-27 20:11:36 +0200
  • f6b0e0e0dc Initial support for Reply Markups Dan 2018-04-27 19:04:16 +0200
  • 0ffad5d18e Cast file_total_parts to int For some reason pycharm is thinking math.ceil() is returning a float Dan 2018-04-27 15:24:27 +0200
  • 83dc5f7a03 Fix proxy failing when omitting optional arguments Dan 2018-04-27 12:46:46 +0200
  • 2874be05ff Limit replies for pinned messages. Related to #61 Dan 2018-04-26 14:17:43 +0200
  • 739779c29d Remove Client objects representation Dan 2018-04-26 12:12:38 +0200
  • dcbce9f9a1 Add client field in Message Dan 2018-04-26 12:10:54 +0200
  • bd0fc27a61 Add support for blocked channels/supergroups. Fixes #56 Dan 2018-04-26 11:09:19 +0200
  • 1fdd2ef7df Add PEER_FLOOD error Dan 2018-04-26 10:54:18 +0200
  • 4cb7733821 Regression fix: limit replies to 1 (Closes #61) Dan 2018-04-26 10:50:30 +0200
  • 0ed38518e1 Some stickers don't have DocumentAttributeImageSize Dan 2018-04-25 18:30:33 +0200
  • e22f7896f8 Add incoming and outgoing filters Dan 2018-04-25 17:44:09 +0200
  • 3e4135c8e1 New "outgoing" field to easily tell in/out messages apart Dan 2018-04-25 15:27:16 +0200
  • 7c2c878333 Add core type hints for generated classes Dan 2018-04-25 12:55:38 +0200