1
0
mirror of https://github.com/eternnoir/pyTelegramBotAPI.git synced 2023-08-10 21:12:57 +03:00
Commit Graph

314 Commits

Author SHA1 Message Date
eternnoir
da176b770c Create ThreadPool when creat_thread flag is True. 2015-07-04 19:51:06 +08:00
eternnoir
b316e699e1 Fix failed testcase. 2015-07-04 17:27:53 +08:00
eternnoir
e095a2ffe9 Message handler support create_threads flag. 2015-07-04 17:20:29 +08:00
eternnoir
3d678707ac Add create_threads flag. 2015-07-04 17:00:42 +08:00
pieter
9b3f5f5ba0 Merge pool-impl branch 2015-07-04 02:42:41 +02:00
pieter
d71fdc633d Merge commit '0a2d139' into develop
Merge into develop
2015-07-04 02:34:05 +02:00
pieter
0a2d1394b2 Created a deep-linking example.
(Source: my answer at http://stackoverflow.com/questions/31042219/how-to-have-authentication-in-a-telegram-bot)
2015-07-04 02:32:43 +02:00
FrankWang
7dae316789 Merge pull request #24 from pevdh/master
Fix TeleBot#extract_command
2015-07-04 03:28:14 +08:00
pieter
bc181572d9 Merge commit '666ab76' into develop
Merge master.
2015-07-03 19:38:03 +02:00
pieter
e061aa051a Fixed API inconsistency (Message.fromUser -> Message.from_user) 2015-07-03 19:34:02 +02:00
pieter
666ab7609d Fix TeleBot#extract_command where the function previously would incorrectly slice /command@botname 2015-07-03 19:28:04 +02:00
pieter
0af4051dfd First implementation attempt 2015-07-03 19:22:26 +02:00
eternnoir
645c0b7fb4 Fix example echo bot command list bug. 2015-07-03 15:04:11 +08:00
eternnoir
15f4188a30 Merge branch 'master' of github.com:eternnoir/pyTelegramBotAPI 2015-07-03 10:34:13 +08:00
eternnoir
c78be84387 Update version. 2015-07-03 10:32:13 +08:00
eternnoir
ae372e1a3e Update Readme. 2015-07-03 10:26:03 +08:00
eternnoir
cff3f778bf fix content_type bug. 2015-07-03 10:14:42 +08:00
eternnoir
6833a16b57 fix sendChatAction return value bug. API's result will be boolean. 2015-07-03 09:58:48 +08:00
eternnoir
8187e6b8fd Add delete_chat_photo and group_chat_created support. 2015-07-03 09:43:26 +08:00
eternnoir
de88217c37 Support chat action in message. 2015-07-03 09:41:11 +08:00
eternnoir
c0d93a3fb9 Remove unuse import. 2015-07-03 09:30:30 +08:00
FrankWang
288bb95553 Merge pull request #22 from pevdh/develop
Added AsyncTeleBot
2015-07-03 08:15:17 +08:00
pieter
886899a3e3 Merged #21 2015-07-03 01:54:53 +02:00
pieter
523c7d433a Added AsyncTeleBot, an Asynchronous version of TeleBot.
All API calls on this class (except for getUpdates, since that is already done in a separate Thread) are piped through AsyncTask.
2015-07-03 01:52:18 +02:00
FrankWang
3d3dbbdf23 Merge pull request #21 from Zerocchi/patch-1
Correcting code error
2015-07-03 07:43:31 +08:00
M Afiq
ce07b5408e Correcting code error 2015-07-03 06:09:58 +08:00
pieter
21231a3f01 PEP-8 clean-up. 2015-07-02 23:47:05 +02:00
pieter
47ce846ce1 Added TeleBot#reply_to(message, text)
Added examples dir and an EchoBot sample.
2015-07-02 23:38:11 +02:00
pieter
e3025f4154 Updated README.md to fit with the current API. 2015-07-02 23:17:48 +02:00
pieter
111ebf5c16 Extended the message_handler decorator.
TeleBot now makes use of the API's getUpdates timeout optional parameter instead of time.sleep. This yields quicker response times.
2015-07-02 22:32:18 +02:00
FrankWang
144fa64604 Merge pull request #20 from pevdh/develop
Some new features and minor improvements.
2015-07-02 21:21:57 +08:00
pieter
bc3e2115ac Made Contact implement JsonDeserializable. 2015-07-02 14:12:10 +02:00
pieter
36ba21643b Resolve merge conflicts. 2015-07-02 13:54:45 +02:00
pieter
86500fc9fa Added some documentation. 2015-07-02 13:43:49 +02:00
FrankWang
b17416e718 Update README.md 2015-07-02 11:53:11 +08:00
eternnoir
77d699bc3a Add python 3 to setup.py. 2015-07-02 11:51:50 +08:00
eternnoir
1e221433f0 Update Version 0.1.9
Change log:
- Support python3
- ReplyKeyboardHide
- Message support contact
2015-07-02 11:30:45 +08:00
eternnoir
1fdf8bd570 Message support contact. 2015-07-02 11:19:38 +08:00
pieter
13133ac5c6 Implemented command decorator. 2015-07-02 04:17:36 +02:00
FrankWang
23574dee59 Merge pull request #18 from pevdh/master
Implemented #17 (with some small adjustments) and ForceReply
2015-07-02 09:21:25 +08:00
pieter
b41330774b Renamed ApiError to ApiException (Subclass of Exception) 2015-07-02 01:18:23 +02:00
pieter
be155afcd8 Deleted last unnecessaty json.dumps 2015-07-02 01:16:17 +02:00
pieter
2f8d1ad4ed PEP 8 clean-up. 2015-07-01 22:34:40 +02:00
pieter
a03769adde Created _make_request and removed check_result in apihelper.py for efficiency and consistency improvements.
Created JsonSerializable (previously Jsonable) and JsonDeserializable.
All relevant classes now subclass JsonDeserializable to eliminate unneeded json -> string -> json conversions.
2015-07-01 22:16:13 +02:00
pieter
b4dc441ffd Update TODO 2015-07-01 19:44:49 +02:00
pieter
949dfc0fb0 Fix unnecessary Thread creation when no new messages arrived. 2015-07-01 19:12:12 +02:00
pieter
0068388872 Implemented #17 (with some small adjustments) and ForceReply
Changed apihelper#convert_markup
Constructed the Jsonable abstract class. All subclasses must override Jsonable#to_json.
Made ReplyKeyboardHide, ReplyKeyboardMarkup and ForceReply a subclass of Jsonable to make things less complicated in convert_markup.
2015-07-01 18:56:21 +02:00
pieter
938c98ced1 Merge branch 'develop' of https://github.com/eternnoir/pyTelegramBotAPI
Merge develop to receive the Python3 compatible version of pyTelegramBotAPI.
2015-07-01 18:29:29 +02:00
pieter
b444565b7b Implemented #17 (with some small adjustments) and ForceReply
Changed apihelper#convert_markup
Constructed the Jsonable abstract class. All subclasses must override Jsonable#to_json.
Made ReplyKeyboardHide, ReplyKeyboardMarkup and ForceReply a subclass of Jsonable to make things less complicated in convert_markup.
2015-07-01 18:29:11 +02:00
pieter
8812765652 Merge branch 'master' of https://github.com/eternnoir/pyTelegramBotAPI
Sync with upstream.
2015-07-01 18:00:17 +02:00