14 lines
287 B
Python
14 lines
287 B
Python
|
#!/usr/bin/env python3
|
||
|
|
||
|
import config
|
||
|
from telegram.ext import Updater, MessageHandler, Filters
|
||
|
|
||
|
|
||
|
def message_handling(bot, update):
|
||
|
pass
|
||
|
|
||
|
|
||
|
updater = Updater(token=config.api_key)
|
||
|
dispatcher = updater.dispatcher
|
||
|
dispatcher.add_handler(MessageHandler(Filters.text, message_handling))
|