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

add short description to example and readme files

This commit is contained in:
vixfwis
2020-12-17 15:34:36 +03:00
parent 75a18e5869
commit 4e61bc3a8b
2 changed files with 17 additions and 2 deletions

6
examples/webhook_examples/webhook_twisted_echo_bot.py Executable file → Normal file
View File

@@ -1,6 +1,12 @@
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
# This is an example echo bot using webhook with Twisted network framework.
# Updates are received with Twisted web server and processed in reactor thread pool.
# Relevant docs:
# https://twistedmatrix.com/documents/current/core/howto/reactor-basics.html
# https://twistedmatrix.com/documents/current/web/howto/using-twistedweb.html
import logging
import telebot
import json