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

183 Commits

Author SHA1 Message Date
abdullaev388
93b97fc3fe I18N middleware example was added 2022-02-19 18:47:36 +05:00
abdullaev388
5337d4838d asyncio_middlewares.py was created && BaseMiddleware class was replaced to asyncio_middlewares.py 2022-02-19 16:02:14 +05:00
abdullaev388
0d85a34551 an example for i18n class was added 2022-02-19 15:07:46 +05:00
Badiboy
0ef8d04ed2
Merge pull request #1449 from abdullaev388/master
new advanced TextFilter was added && An example demostrating TextFilt…
2022-02-16 12:48:29 +03:00
abdullaev388
3a86916e72 example of TextFilter starts_with and ends_with usage simultaneously 2022-02-16 12:43:23 +05:00
Badiboy
f689d90815
Merge pull request #1455 from Badiboy/master
Fix timer_bot.py
2022-02-15 19:55:32 +03:00
Badiboy
966f2e7ef7
Fix timer_bot.py 2022-02-15 19:55:12 +03:00
abdullaev388
8c3d1e608c new TextFilter examples were added 2022-02-12 21:53:40 +05:00
abdullaev388
5f7ccc8c9b created async TextFilter 2022-02-12 17:33:29 +05:00
abdullaev388
5b1483f646 removed TextFilterKey in example, instead TextMatchFilter was modified 2022-02-12 17:07:59 +05:00
abdullaev388
3cd86d0e93 token. again. 2022-02-12 15:31:54 +05:00
abdullaev388
a893fbc358 async advanced callback_data example was added 2022-02-12 15:30:04 +05:00
abdullaev388
6fd2a38fe9 An asyncio example demostrating TextFilter usage 2022-02-12 15:12:30 +05:00
abdullaev388
2e5590b566
token removed :) 2022-02-12 14:11:16 +05:00
abdullaev388
733bb2ebbb new advanced TextFilter was added && An example demostrating TextFilter usage 2022-02-12 13:35:52 +05:00
abdullaev388
0c8e94d2c6 advanced usage of callbackdata was added 2022-02-10 13:43:19 +05:00
abdullaev388
b9436821e0 callbackdata examples were separated into a directory 2022-02-10 13:33:44 +05:00
Badiboy
4166fb229e Code base cleanup 2022-01-24 22:38:35 +03:00
_run
c350ea0ced Comment fixes 2022-01-24 21:34:50 +04:00
_run
588b5c4d89 Fix parameter for example 2022-01-24 21:28:56 +04:00
_run
91d0877c61 Fix parameter name to fit 2022-01-24 21:28:10 +04:00
_run
8045ad56ea States Update 2022-01-24 21:24:56 +04:00
Artem Lavrenov
7eb759d1fd remove unused import 2022-01-21 22:25:06 +03:00
Artem Lavrenov
a07bf86c30 add default None for get_my_commands parameters scope and language_code sync\async, add examples for bot.set_my_commands 2022-01-21 21:50:33 +03:00
Artem Lavrenov
40465643b9 Add timer_bot sync and async example 2022-01-21 12:32:23 +03:00
_run
a51ff0f100
Fix readme typos 2022-01-03 16:30:49 +04:00
_run
a96bc802bc
Update README.md 2022-01-03 16:28:24 +04:00
_run
df8f34e726 Create webhook_fastapi_echo_bot.py 2022-01-03 16:16:19 +04:00
_run
096d58ae71 Update admin_filter_example.py 2021-12-12 15:13:07 +05:00
_run
e92946301f Asyncio.run back 2021-12-12 15:07:30 +05:00
Badiboy
7588c9fb9f
infinity_polling 2021-12-10 21:32:57 +03:00
zeph1997
cebfbb83fa Merge branch 'master' of https://github.com/zeph1997/pyTelegramBotAPI 2021-12-11 02:28:41 +08:00
zeph1997
5a06d8021b changed markup.add row from hardcoded index to *row 2021-12-11 02:28:19 +08:00
zeph1997
a75841aa8e
Merge branch 'eternnoir:master' into master 2021-12-11 02:11:44 +08:00
zeph1997
e76649bb49 Create reply_keyboard_markup_example.py
Example to show how to use ReplyKeyboardMarkup as well as a template for a QWERTY keyboard
2021-12-11 02:11:15 +08:00
_run
fb52137bff 2 new examples 2021-12-04 21:54:26 +05:00
_run
3035763277 Update send_file_example.py 2021-12-04 21:22:00 +05:00
_run
51eabde320 Update 2021-12-04 21:11:51 +05:00
_run
411c7e915a No asyncio.run() 2021-11-28 01:04:49 +05:00
_run
a9b422783f Middlewares, new file, and examples 2021-11-27 23:41:39 +05:00
abdullaev
9c8ea29fc6 token removed :) 2021-11-23 18:15:52 +05:00
abdullaev
714ae7d67f CallbackData class added 2021-11-23 18:01:51 +05:00
_run
3a6073e3a0 Update custom_states.py 2021-11-06 13:08:49 +05:00
_run
fc347ae166 Update custom_states.py 2021-11-06 13:06:43 +05:00
_run
8dcfa0c282 Little fix for states 2021-11-06 12:52:41 +05:00
_run
953e2286b8 Bot API 5.4 2021-11-06 12:15:28 +05:00
_run
98044d6faa File support for states
File support. Now states can be saved in pickle file
2021-10-13 18:34:36 +05:00
_run
bf8736e17e Critical fix 2021-10-01 23:29:59 +05:00
_run
2e4280a947 Update of state handlers
No need to create state handlers
2021-10-01 15:56:54 +05:00
Badiboy
062fababf2 polling should leave our world. :) 2021-09-28 19:17:09 +03:00
_run
beb4f8df44 Update register_handler.py 2021-09-25 17:15:33 +05:00
_run
92ac5a4166 States, and some minor improvements 2021-09-25 17:12:32 +05:00
_run
716323e56a Register_XXX_Handler 2021-09-22 22:46:19 +05:00
_run
cd92d95f91 Create admin_filter_example.py 2021-09-22 22:37:57 +05:00
bim-ba
aba2a9e179
Improve readabilty of "elif-zone" 2021-09-19 17:41:07 +03:00
bim-ba
c5c4d081ea Added new example: anonymous chat-bot 2021-09-18 19:46:53 +03:00
coder2020official
86a0a8cd68 Little fixes and example
Fixed is_forwarded custom filter & created example
2021-09-14 15:00:27 +05:00
Badiboy
4ced4d29f5 Update custom filters readme and examples 2021-09-12 19:36:23 +03:00
coder2020official
7d5e9e5111 Added file custom_filters
Added file with custom filters. Updated the examples
2021-09-12 20:22:26 +05:00
coder2020official
1ceec3cb54 Update custom_filters.py 2021-09-12 19:38:54 +05:00
coder2020official
5f8c75816e Some useful filters
Created useful filters that can be used in message handlers.
Created some examples on using them.
2021-09-12 19:34:43 +05:00
coder2020official
4e37662ab3 upd 2021-09-12 00:30:56 +05:00
coder2020official
e89acc8ba6 Update custom_filters.py 2021-09-12 00:27:04 +05:00
coder2020official
5d611ea7f3 upd 2021-09-12 00:24:52 +05:00
coder2020official
5c80f11261 Updated __init__.py 2021-09-12 00:21:35 +05:00
_run
f4ef2366b6 Update skip_updates_example.py 2021-08-16 22:03:17 +04:00
_run
3e7da0fd18 Update skip_updates_example.py 2021-08-16 14:49:45 +04:00
_run
beeb60aab8 skip_updates 2021-08-15 11:40:13 +04:00
_run
3e4a6cd702 Create chat_member_example.py 2021-08-14 18:46:45 +04:00
Badiboy
96e0be8942 Heroku example update 2021-03-28 11:54:46 +03:00
Tim Gates
93b86307d9
docs: fix simple typo, perfomance -> performance
There is a small typo in examples/webhook_examples/README.md.

Should read `performance` rather than `perfomance`.
2020-12-25 09:47:40 +11:00
Badiboy
2534dc5925 Exception if middleware is used but not enabled. 2020-12-24 19:55:24 +03:00
vixfwis
4e61bc3a8b add short description to example and readme files 2020-12-17 15:34:36 +03:00
vixfwis
75a18e5869 add webhook example for Twisted framework 2020-12-15 15:02:41 +03:00
bedilbek
56cbc2ff93 Add examples to better understand middleware handler 2020-04-11 13:03:52 +05:00
Badiboy
760ea5a2f0 Design updates from #711
Significant design updated from
https://github.com/eternnoir/pyTelegramBotAPI/pull/711
2020-01-08 20:06:40 +03:00
Badiboy
5cd97ebc96 Update detailed_example.py
Vulgarity replaced.
2020-01-03 19:24:10 +03:00
Badiboy
b999fea2ac
Merge pull request #703 from voskresla/patch-1
Using Azure Functions for serverless bots.
2020-01-03 16:59:09 +03:00
Stepan
e644ed910a
Using Azure Functions for serverless bots.
Simple echo bot using Azure Functions as webhook.
2019-10-13 23:49:43 +03:00
Christian Clauss
9e30cfbda6
Use ==/!= to compare str, bytes, and int literals
Identity is not the same thing as equality in Python.
2019-08-12 22:47:59 +02:00
SetazeR
7dc9abffc6
remove unnecessary f-strings 2019-04-16 07:38:50 +07:00
FrankWang
8005ca2f6c
Update example for api server check webhook alive. 2018-12-29 23:49:10 +08:00
FrankWang
a946b79839
Merge pull request #586 from khode-mohsen/patch-2
Update deep_linking.py
2018-10-19 10:08:05 +08:00
FrankWang
4eeca78f2f
Merge pull request #585 from khode-mohsen/patch-1
Update echo_bot.py
2018-10-19 10:07:55 +08:00
khode-mohsen
76fc8fbe5e
Update deep_linking.py
add '#!/usr/bin/python' for direct execute
2018-10-19 03:47:19 +03:30
khode-mohsen
584955962e
Update echo_bot.py
add '#!/usr/bin/env' for direct execute
2018-10-19 03:38:03 +03:30
Ramzan Bekbulatov
8636b282d7
Merge branch 'master' into analyzer-fixes 2018-09-07 18:07:37 +03:00
SetazeR
d9ace2adc8 fix typo + add inline keyboard example 2018-09-05 12:34:19 +07:00
uburuntu
36621bb22a fix: some intendation 2018-08-17 13:01:03 +03:00
uburuntu
99466017c5 enh: optimize imports 2018-08-17 12:54:26 +03:00
uburuntu
feec1dde56 fix: little style fixes 2018-08-17 12:49:37 +03:00
uburuntu
65a272b901 fix: python 2/3 compatibility in examples 2018-08-17 12:47:44 +03:00
Waffle
13df7b5908 Add enable_save_next_step_handlers and load_next_step_handlers methods to step_example/
Update: examples/step_example.py
2018-05-26 17:21:39 +03:00
fojetin
b5a217013a
Fix #253 #231 #485 2018-04-30 15:41:12 +03:00
Dmytro Striletskyi
bc067662dc Make the Heroku example actual 2018-02-16 17:52:37 +02:00
George
556a04ca8b Added file opening mode 2017-06-16 02:57:12 +03:00
FrankWang
4b165ba3f1 Merge pull request #305 from MonsterDeveloper/patch-2
Added option to disable CherryPy logging
2017-06-02 16:13:56 +08:00
Kylmakalle
754ca77394 Add payments bot example 2017-05-25 21:00:48 +03:00
Andrew Developer
2c631b2973 Added webhook example with Tornado 2017-03-23 15:34:33 +03:00
Andrew
401a848927 Added option to disable CherryPy logging 2017-03-07 21:43:14 +03:00