Pieter van den Ham
f9cbcf9b65
Redesigned message handlers
2015-09-08 10:44:31 +02:00
pieter
cf61577e3e
Added a string representation (__str__) for JsonDeserializable
2015-09-01 21:55:02 +02:00
pieter
3c8faa155f
Created util.py to clean up __init__.py and apihelper.py and updated README accordingly
...
Fixed failing send_document_by_id and send_photo_by_id
2015-08-31 11:49:03 +02:00
Pieter van den Ham
6f34a22c4b
Added an incremental sleep when an error is encountered while polling
2015-08-31 02:14:14 +02:00
97Pedrito
c33c116488
Integrated blocking into polling + updated docs
2015-08-30 18:53:18 +02:00
eternnoir
4ed7be19ad
Avoid no hnadler found.
2015-08-23 22:52:20 +08:00
eternnoir
ee4061561e
Fix #61
2015-08-21 22:58:48 +08:00
97Pedrito
596df2ef2c
Extended error descriptions
...
They should provide more information about the origin of the failure.
2015-08-19 21:30:44 +02:00
eternnoir
b17831b726
Update Comment.
2015-08-19 18:27:35 +08:00
eternnoir
1517979bf2
Voice bug fix.
2015-08-19 18:25:08 +08:00
eternnoir
c3300af656
New audio,voice supported.
2015-08-19 18:08:01 +08:00
Raúl Jornet Calomarde
b25435f29a
Replaced mine_type by mime_type
2015-08-08 23:26:47 +02:00
eternnoir
821a63e3a7
Support new sendVideo API method.
2015-08-01 10:12:15 +08:00
eternnoir
b745088a05
Let thumb option in Sticker. Api chamged.
2015-08-01 09:55:17 +08:00
eternnoir
9f6a3bfb26
next_step_handler done.
2015-07-30 11:02:08 +08:00
eternnoir
a82fece950
Add method.
2015-07-30 09:23:15 +08:00
eternnoir
9219404a9a
Merge branch 'sgomez-fix-video-type' into develop
2015-07-26 20:15:57 +08:00
Sergio Gómez
83ab8a39c9
Fix video type class
2015-07-26 11:19:20 +02:00
pieter
20e3f731f7
Added split_string to apihelper.py
...
Added a warning to send_message to not exceed 5000 characters per message.
Changed send_message to use HTTP POST instead of GET, to stretch the maximum character limit a little more.
2015-07-25 21:31:58 +02:00
pieter
b484baea37
Fix doc error.
2015-07-24 13:56:47 +02:00
pieter
2647777b2b
Implemented register_for_reply. Closes #26
2015-07-24 13:52:48 +02:00
pieter
b468e8c943
Moved extract_command and is_command to apihelper.py.
2015-07-24 13:09:27 +02:00
eternnoir
0932e603fb
Fix python3 Exception message attribute not found.
2015-07-23 09:14:20 +08:00
eternnoir
ba1693dcf0
Bug fix.
2015-07-22 14:02:16 +08:00
eternnoir
99b82b6219
Add logger.
2015-07-20 09:56:17 +08:00
eternnoir
968d30e246
Merge branch 'master' into develop
2015-07-18 17:35:46 +08:00
Nathanael Farley
edddab8956
Changed __stop_polling from bool to threading.Event().
2015-07-18 10:27:16 +01:00
eternnoir
6bdc313fa6
Message add forward_from forward_date reply_to_message support.
2015-07-17 14:40:49 +08:00
eternnoir
621b191e8d
Fix python3 can not send file by string bug.
...
bug #40
2015-07-17 09:38:28 +08:00
eternnoir
185b3e007e
Polling interval support
...
issue #38
2015-07-15 11:19:29 +08:00
eternnoir
aeeb94d386
Fix api's document change.
2015-07-15 11:02:30 +08:00
eternnoir
6c8d30b063
Add process_new_message public method for webhook.
...
issue #36
2015-07-14 13:28:39 +08:00
eternnoir
c1bb900d91
send file, photo ...etc. by ID support. #35
2015-07-14 13:24:32 +08:00
eternnoir
913f01dfe8
Edit confused notice.
2015-07-13 09:07:07 +08:00
eternnoir
7144c79efe
Add none_stop flag for polling method.
2015-07-13 09:07:07 +08:00
FrankWang
f6a0037f8d
Fix thread pool high cpu usage.
2015-07-08 21:00:46 +08:00
eternnoir
a82f4d780f
Support python3 queue
2015-07-04 20:25:02 +08:00
eternnoir
da176b770c
Create ThreadPool when creat_thread flag is True.
2015-07-04 19:51:06 +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
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
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