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

473 Commits

Author SHA1 Message Date
Max
527351385b + Don't check filters against NoneType values;
+ More flexibility for subclassing:
	- __exec_task is protected now(was private)
	- _test_message_handler and _test_filter are class members
	  now(used to be static methods)
+ More flexibility on extention of message_handler(**kwargs for
additional parameters)
2016-06-13 16:47:15 +03:00
Max
1b47e5cc62 code duplication lessened 2016-06-13 14:24:27 +03:00
Max
eb4d58bec1 little optimization on handler dictionary building: code duplication lessened 2016-06-13 14:15:15 +03:00
eternnoir
57486b18cd Remove download count from readme. 2016-06-07 20:04:19 +08:00
eternnoir
25ad3f055f Update version.
Change log:
- Added new methods: getChat, leaveChat, getChatAdministrators,
  getChatMember, getChatMembersCount.
- New fields: edited_message in Update, edit_date in Message, user in
  MessageEntity. New value text_mention for the type field in
MessageEntity.
2016-06-07 19:57:40 +08:00
eternnoir
cdb6d6760d Add some comment. 2016-06-07 19:44:30 +08:00
eternnoir
5bd8e9d3f5 Update readme. 2016-06-07 19:40:35 +08:00
eternnoir
fab2f324d0 Fix test case. 2016-06-07 19:34:46 +08:00
eternnoir
9bf4be2caf fix test case. 2016-06-07 19:32:12 +08:00
eternnoir
d701fd6e1d Merge remote-tracking branch 'origin/feature-changes20160522' into api2.1 2016-06-07 19:30:01 +08:00
eternnoir
8e3c9d8d24 Add edited message handler. 2016-06-07 19:29:12 +08:00
eternnoir
0b9f91c6fb Add new method test case. 2016-06-07 19:16:17 +08:00
eternnoir
468a535257 Fix de_json. 2016-06-07 19:08:52 +08:00
eternnoir
d2e7f4d8f2 Add 2.1 new method. 2016-06-07 19:00:44 +08:00
FrankWang
ddd3664329 Merge pull request #192 from alejandrocq/comedoresugrbot
Add ComedoresUGRbot to bots list.
2016-06-06 01:32:45 +08:00
Alejandro Castilla
9e397c41cf ComedoresUGRbot added to bots list. 2016-06-05 19:20:17 +02:00
FrankWang
b528b0bcf0 Merge pull request #191 from Ledokol/uni-json
unicode strings for check_json
2016-06-05 18:36:36 +08:00
Pavel K
2f20d70e89 unicode strings for check_json 2016-06-04 21:18:09 +05:00
FrankWang
ac740e4755 Change public link to invite link. 2016-06-03 17:21:33 +08:00
FrankWang
2cf8ffcbc0 Update group link. 2016-06-03 14:45:25 +08:00
FrankWang
87ad4a62ff Merge pull request #187 from GabrielRF/master
Added Send2KindleBot
2016-06-03 00:06:10 +08:00
Gabriel R F
6b255deed7 Added Send2KindleBot
Also added description of urlprobot and lmgtfy_bot
2016-06-02 12:04:04 -03:00
eternnoir
ce24aa25f2 Fix #179. 2016-06-02 13:25:50 +08:00
FrankWang
a0f25089e0 Merge pull request #177 from qwidim/master
heroku webhook example
2016-06-02 13:17:12 +08:00
FrankWang
1bfdf7cf35 Merge pull request #173 from dmcelectrico/master
Added optional connection (aka sending) timeouts to methods that may …
2016-05-31 02:11:31 +08:00
FrankWang
5b1de9f339 Merge pull request #181 from PowerInside/patch-1
Fix inline demo code in readme.md
2016-05-29 22:29:21 +08:00
Mohammed Irfan
e956800e34 Fix inline demo code in readme.md 2016-05-29 19:25:36 +05:30
FrankWang
b9a57f630a Merge pull request #178 from Kondra007/patch-5
Update Readme.md
2016-05-26 11:02:30 +08:00
Kondra007
851d76888b Update Readme.md
Added `user` to attributes list
2016-05-26 00:44:39 +03:00
Dmitry
05f1c87c7d Update webhook_flask_heroku_echo.py 2016-05-25 19:25:46 +06:00
Dmitry
59b19fbbc1 Update webhook_flask_heroku_echo.py 2016-05-25 19:15:13 +06:00
Dmitry
e87907f0b8 Update webhook_flask_heroku_echo.py 2016-05-25 01:44:09 +06:00
Dmitry
d84aa796c0 Add files via upload 2016-05-25 01:42:25 +06:00
eternnoir
8c20f63022 Add user to MessageEntity. 2016-05-23 11:12:20 +08:00
eternnoir
f9c7497c5c Merge branch 'Kondra007-patch-3' into feature-changes20160522 2016-05-23 11:05:14 +08:00
Diego Muñoz Callejo
3413669a23 Added optional connection (aka sending) timeouts to methods that may upload big chunks of data: send_audio, send_voice, send_document, send_sticker and send_video. 2016-05-22 18:35:20 +02:00
Kondra007
1a45b4844a Fixed Travis build (again)
Yeah, I'm really sorry for all this errors, maybe tired a little bit.
2016-05-22 15:47:44 +03:00
Kondra007
8a9d89591b Fixed Travis build errors 2016-05-22 15:44:04 +03:00
Kondra007
234dd8cf9f Edited edit_date field
It's integer, not `Message`
2016-05-22 13:55:54 +03:00
Kondra007
6a98d27f1a Added edited_message to Update object
As of Bot API update 2.1, Update object now has optional edited_message field.
2016-05-22 13:35:21 +03:00
Kondra007
04df139efb Added edit_date to Message object
As of Bot API update 2.1, `Message` object now has optional `edit_date` field.
2016-05-22 13:32:53 +03:00
FrankWang
747f14216b Merge pull request #166 from Kondra007/patch-1
Changed "Process_new_message" to "Process_new_update"
2016-05-20 23:23:10 +08:00
Kondra007
aee9255568 Changed "Process_new_message" to "Process_new_update"
This way all types of queries (Message, Inline query, Callback query) are supported.
2016-05-20 17:40:22 +03:00
eternnoir
fbaf88c237 Update version. 2016-05-20 14:41:00 +08:00
eternnoir
3ebc47de8b Add missing title in InlineQueryResultVenue. #165 2016-05-20 14:39:34 +08:00
Pieter van den Ham
8017c8d919 Fix failing build for python 3.3, 3.4 and pypy3 2016-05-19 10:18:00 +02:00
Pieter van den Ham
2545724a6f Fix #164 2016-05-19 10:02:59 +02:00
FrankWang
b8770e2c04 Merge pull request #163 from agentik-007/patch-1
Update webhook_flask_echo_bot.py
2016-05-17 08:41:34 +08:00
agentik-007
1da5d1e0e2 Update webhook_flask_echo_bot.py 2016-05-16 14:31:36 +03:00
Mr.Gigabyte
bc73f345b2 Update README.md 2016-05-15 09:40:56 +08:00