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

146 Commits

Author SHA1 Message Date
_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
robox
6c770d81f9 Extend examples with aiohttp 2017-01-30 01:54:49 +06:00
i32ropie
b6fee07089 Updated from ReplyKeyboardHide() methode to ReplyKeyboardRemove() 2017-01-20 10:55:34 +01:00
Andrey Mishakin
be87e4b2b9 Fix error in webhook flask example 2017-01-04 21:50:09 +03:00
Roman Shchekin
653c892b33 Example of inline bot fixed 2016-07-17 15:54:26 +03:00
FrankWang
3dcd59c22e Fix example 2016-07-11 21:29:25 +08: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
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
agentik-007
1da5d1e0e2 Update webhook_flask_echo_bot.py 2016-05-16 14:31:36 +03:00
Ubuntu
5906d632d6 Fix the bug that the return of request.get_data() is not string. 2016-05-02 11:07:23 +00:00
eternnoir
ee52241cc2 Update inline example. 2016-04-14 17:43:45 +08:00
eternnoir
b8f251140d Fix thumb_url must have value. 2016-01-05 22:23:00 +08:00
eternnoir
805e3554de Update readme. 2016-01-05 21:54:47 +08:00
eternnoir
8278eef7f3 Add inline bot example. 2016-01-05 14:58:19 +08:00
FrankWang
969c5e76ef Fix bytes not string. 2015-10-18 22:03:29 +08:00
Sergio Conde Gómez
d6552eb4c6 Add webhook examples 2015-10-06 12:06:23 +02:00
pieter
61b4ca8a37 Added download_file and created an example 2015-09-18 20:54:22 +02:00
Kondra007
b1e659da28 Check if field is None
A slight change, still not very good though. Something like `{!s}{!s}{!s}.format(....)` seems a better aproach
2015-09-03 18:06:54 +03:00
pieter
4526c4f8a7 First TeleBot bot bug fix: wrong group chat id comparison (str and int) 2015-09-01 23:29:01 +02:00
pieter
efc98c084f Added TeleBot bot source 2015-09-01 23:20:24 +02:00
97Pedrito
d118e9edcc Remove the deprecated time.sleep calls.
Reformatted detailed_example to follow Python naming conventions & PEP-8 conventions
2015-08-30 19:31:48 +02:00
FrankWang
8abd3fe140 Update text. 2015-07-30 11:40:54 +08:00
eternnoir
d546a4f1e9 Add step handler example. 2015-07-30 11:30:16 +08:00
Leandro Späth
e5a17caa9f Updated detailed example to use message handlers
Now using message handlers instead of the listener for almost everything (except console output)
2015-07-12 15:50:50 +02:00
LeoDJ
efdf35796d Detailed example 2015-07-12 00:41:34 +02:00
LeoDJ
bbf8b5d5f9 Added todo comment 2015-07-12 00:36:39 +02:00
LeoDJ
30e3fbaa1a Created detailed example
Using almost every command, this API has to offer
2015-07-12 00:29:45 +02:00
pieter
0a2d1394b2 Created a deep-linking example.
(Source: my answer at http://stackoverflow.com/questions/31042219/how-to-have-authentication-in-a-telegram-bot)
2015-07-04 02:32:43 +02:00
eternnoir
645c0b7fb4 Fix example echo bot command list bug. 2015-07-03 15:04:11 +08:00
pieter
21231a3f01 PEP-8 clean-up. 2015-07-02 23:47:05 +02:00
pieter
47ce846ce1 Added TeleBot#reply_to(message, text)
Added examples dir and an EchoBot sample.
2015-07-02 23:38:11 +02:00