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

92 Commits

Author SHA1 Message Date
the31k
96569cbdac Fix typo 2017-07-19 15:44:10 +03:00
the31k
feec19b7f4 Use per-thread requests sessions
Reason is requests.Session is not thread-safe
See: https://github.com/requests/requests/issues/2766
2017-07-19 01:50:12 +03:00
eternnoir
4979589faf Fix not require args. #369 2017-07-02 21:08:36 +08:00
eternnoir
5f8ed347a1 Add missing arg until_date for kickChatMember. 2017-07-01 11:11:25 +08:00
eternnoir
514880fe22 Merge remote-tracking branch 'origin/proxySupport' 2017-07-01 11:06:05 +08:00
Evgeny Petrov
662a834138 Added missing arguments to restrict_chat_member method 2017-06-30 20:16:51 +03:00
Evgeny Petrov
25a37db2bb Bot API v3.1 2017-06-30 19:47:09 +03:00
eternnoir
6af3067a12 Add proxy to readme. 2017-06-28 17:44:07 +08:00
Ihor Polyakov
3713b093b6 json.dumps(allowed_updates) before sending request 2017-06-22 10:35:13 +07:00
eternnoir
a8e60b28e0 Fix requirement params. 2017-05-25 11:14:08 +08:00
eternnoir
cf287af549 Add payment method. PEP8. Refactor. 2017-05-25 10:56:58 +08:00
Kylmakalle
3a10c90799 Payments methods 2017-05-24 01:23:52 +03:00
eternnoir
5ed333492b All payment type done. 2017-05-21 21:45:12 +08:00
Kylmakalle
443d81d4db FIX: Can't edit file bytes 2017-05-19 18:08:07 +03:00
Kylmakalle
6cda8d052c VideoNote support
Send and recieve round video messages.
Support for send_video_note metod and video_note content type.
2017-05-19 17:19:15 +03:00
Kylmakalle
f7cfb98b60 Added option to delete messages.
Added option to delete messages.

Some bots do not support this method now, waiting for an official api
release.
2017-05-07 17:37:03 +03:00
Ihor Polyakov
662c69e09c RecursionError fix during sending files 2017-04-02 14:56:53 +07:00
Alex Kuznitsin
f7fc538bd8 Non-ASCII chars for filename. Telegram doesn't accept rfc2231 styled filename. Using utf-8 directly. 2017-01-30 17:40:18 +03:00
Nicholas Guriev
9fe8565d53 Use session to ensure persistent connection to api.telegram.org 2016-12-17 09:03:00 +03:00
eternnoir
a06551daaf Add delete webhook. 2016-12-06 11:52:16 +08:00
eternnoir
eadff07f79 Add allowed_updates to get_updates. 2016-12-06 11:44:30 +08:00
eternnoir
b5e27d0fea Add max_connections and allowed_updates to set_webhook. 2016-12-06 11:42:15 +08:00
Evgeny Petrov
c99bb16619 Updated set_game_score
• New field `force`
• Changed `edit_message` to `disable_edit_message`
2016-11-21 09:28:32 +03:00
Evgeny Petrov
856af72599 Added cache_time to answer_callback_query 2016-11-21 09:19:59 +03:00
Evgeny Petrov
6f8ebbae89 Added setGameScore and getGameHighScores
1. https://core.telegram.org/bots/api#setgamescore
2. https://core.telegram.org/bots/api#getgamehighscores
2016-10-26 16:19:04 +03:00
eternnoir
d1498979d4 Merge branch 'JrooTJunior-master' into feature-20161003update 2016-10-20 20:09:07 +08:00
Alex Root Junior
702763edd6 Get webhook info
https://core.telegram.org/bots/api#getwebhookinfo
2016-10-20 10:52:38 +03:00
Evgeny Petrov
7e94810ece Added Caption field to sendAudio & sendVoice 2016-10-11 22:51:20 +03:00
eternnoir
740d7f44cf Add url param in answer inline query. 2016-10-08 21:55:28 +08:00
eternnoir
b8e5c43598 Add send game method. 2016-10-08 20:36:48 +08:00
eternnoir
d2e7f4d8f2 Add 2.1 new method. 2016-06-07 19:00:44 +08:00
eternnoir
ce24aa25f2 Fix #179. 2016-06-02 13:25:50 +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
eternnoir
84257b6ba9 Fix typo. 2016-04-23 01:21:45 +08:00
eternnoir
16d4c64b00 Remove duplicated method. 2016-04-19 08:13:37 +08:00
eternnoir
e913635755 fix next_offset is empty will not set bug. 2016-04-17 23:28:47 +08:00
eternnoir
7490f63f25 Add send_contact 2016-04-16 15:07:52 +08:00
eternnoir
22ab50989e Add answer_callback_query. 2016-04-16 14:53:41 +08:00
eternnoir
228683aeda Add new param for anser inline query. 2016-04-14 15:32:08 +08:00
eternnoir
4fe4061a0f All Updating messages methods done. 2016-04-14 15:17:53 +08:00
eternnoir
f873658aac Fix edit message error. 2016-04-14 15:06:46 +08:00
eternnoir
13327c371a Add editMessageText. 2016-04-14 15:03:07 +08:00
eternnoir
4dc7af71a0 Add bot2.0 new methods. 2016-04-14 14:48:26 +08:00
eternnoir
209764a5d7 Add connect timeout. Fix #108 2016-04-14 14:34:37 +08:00
eternnoir
c1247249c7 Add send venu method. 2016-04-14 13:55:28 +08:00
eternnoir
292191038f Add disable_notification 2016-02-27 11:17:35 +08:00
Igor Starikov
e851f37712 answer_inline_query made POST
The default GET produces `414 Request-URI Too Large` response.
2016-02-14 00:08:37 +05:00
eternnoir
94f1bbd402 Almost done. 2016-01-05 14:07:47 +08:00
ivan tkachenko
413f081b19 style unification for method_url in apihelper.py. 2015-11-08 10:30:09 +08:00
Pieter
1e6361dd57 Fix #83
Added a `encode('utf8')` statement to support non-ASCII symbols in error log messages.
2015-10-06 22:36:57 +02:00