BotFather
pip3 install python-telegram-bot
import telegram
tok = 'KEY'
b = telegram.Bot(token = tok)
u = b.getUpdates()
{'id': 138330, 'username': 'H2', 'first_name': 'H2'}
b.sendMessage(chat_id='CHATID', text='응답하라 오바')
https://api.telegram.org/botKEY/sendmessage?chat_id=CHATID&text=hello
최근 댓글