bedilbek
932ac9477b
Add ENABLE_MIDDLEWARE=False in apihelpers to keep backward compatibility
2020-04-11 13:02:50 +05:00
Badiboy
59810b5e2a
Merge pull request #620 from nev3rfail/send_animation
...
Added reduced version of sendAnimation (no width/height/thumb).
2020-01-03 17:12:29 +03:00
Badiboy
2efb33fc29
Merge branch 'master' into patch-1
2020-01-03 16:45:43 +03:00
Badiboy
e3b126807e
Merge pull request #713 from dtalkachou/patch-1
...
Correct work with empty base_url in make_request
2020-01-03 01:33:27 +03:00
Badiboy
86644c05f7
Merge pull request #539 from Badiboy/master
...
"timeout" parameter for send_message
Fix kick_chat_member return type
HTML symbols not replaced
2020-01-03 00:50:24 +03:00
Dzianis Talkachou
68db599790
Delete duplicate string
2019-11-23 21:25:29 +03:00
Dmitry Sokolov
a749acde15
Update apihelper.py #2
...
Merge Fixes # 684
2019-11-05 17:37:53 +03:00
FrankWang
575fb9da7f
Merge branch 'master' into patch-1
2019-10-30 21:24:43 +08:00
Innokentiy Min
1a30a9a249
Fixed #578
2019-10-30 14:02:00 +03:00
Dmitry Sokolov
6fb9e18385
Update apihelper.py
...
Hi, to indicate a third-party api-url (reverse proxy) added conditions.
Perhaps not the most elegant solution, but this functionality is very lacking.
apihelper.API_URL = "http://reverseproxy.example.com/bot{0}/{1} "
2019-08-12 17:09:52 +03:00
Tiger 1
9624b45314
add Poll, sendPoll, stopPoll
2019-06-06 21:47:08 +03:00
Victor Koropetskyi
1a58731fb7
Add 'method' parameter to methods that edit message
2019-02-23 16:15:20 +02:00
Artem M
99df992a66
Added the method sendAnimation, which can be used instead of sendDocument to send animations, specifying their duration.
2019-02-15 18:46:18 +00:00
Badiboy
ad4be5c0ae
Merge branch 'master' of https://github.com/eternnoir/pyTelegramBotAPI
2018-10-19 13:40:14 +03:00
Ramzan Bekbulatov
8636b282d7
Merge branch 'master' into analyzer-fixes
2018-09-07 18:07:37 +03:00
uburuntu
bab9f7bbb9
enh: reset requests.Session feature
...
Need for proxy changing and other reconnection stuff
2018-09-06 12:48:08 +03:00
uburuntu
feec1dde56
fix: little style fixes
2018-08-17 12:49:37 +03:00
uburuntu
cf69a06ab8
enh: make code better and enhance test case
2018-08-10 16:48:09 +03:00
uburuntu
8ac6e664c5
new: InputMediaAnimation, InputMediaAudio, InputMediaDocument, editMessageMedia
...
Added support for editing the media content of messages: added the method editMessageMedia and new types InputMediaAnimation, InputMediaAudio, and InputMediaDocument.
2018-08-09 19:16:38 +03:00
Badiboy
27d442fabf
timeout for send_message
...
Add optional "timeout" parameter to send_message (the same as exists in all other send_*).
Equal rights for all send functions! :)
2018-07-24 00:33:13 +03:00
eternnoir
8f55460924
Fix cache time is zero.
2018-04-26 09:53:55 +08:00
khabibr
99ff104a3f
Update apihelper.py
...
Correct files downloading when proxy used.
2018-04-24 16:48:39 +06:00
Benny
5dd88f8223
fix issue #403 : UnicodeEncodeError when sending a non-ASCII file in Python 2.7
2018-04-18 15:00:05 +08:00
sviat9440
e761e1e1d9
Update apihelper.py
2018-03-25 14:54:28 +03:00
sviat9440
ff3cbaf45b
Update apihelper.py
2018-03-25 13:21:55 +03:00
heyyyoyy
518c49f23a
fixing formatting of caption in the method send_document
2018-02-16 18:29:29 +03:00
heyyyoyy
903b1dfd50
added parse_mode in edit_message_caption
2018-02-16 14:19:35 +00:00
heyyyoyy
2e199a5684
Bot Api 3.6
2018-02-14 20:27:55 +00:00
heyyyoyy
2637e29dbe
Updated sendMediaGroup method
2018-01-15 16:08:50 +03:00
JekaFST
8aa8fa5986
Fix for SendLocation with live period
...
Fix for payload['live_perion'] typo -> payload['live_period']
2017-12-05 00:21:05 +03:00
eternnoir
b2f376a906
Remove debug message. Add content_type
2017-11-30 23:34:07 +08:00
eternnoir
2493b200a4
Add provider_data to sendInvoice.
2017-11-29 13:53:39 +08:00
eternnoir
e1a3ccadb7
Add sendMediaGroup method.
2017-11-29 13:45:25 +08:00
eternnoir
46c803bf55
Fix shipping_options bug. #414
...
Update version.
2017-11-13 10:14:10 +08:00
Evgeny Petrov
5f8d99664e
Bot API 3.4: new methods for live locations, new objects.
2017-10-22 19:50:51 +03:00
eternnoir
dcddedcd24
Fix file dic.
2017-08-06 15:35:43 +08:00
eternnoir
2e743b4b86
Add v3.2 method.
2017-08-06 15:22:23 +08:00
eternnoir
af70313721
New method for v3.2
2017-08-06 14:25:25 +08:00
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