close

參考

 

import telegram

token1='your token'
bot = telegram.Bot(token=token1)
chat_id = bot.getUpdates()[-1].message.chat_id
bot.sendMessage(chat_id=chat_id, text="I'm TEST.")

arrow
arrow
    全站熱搜
    創作者介紹
    創作者 slinbody 的頭像
    slinbody

    495884965

    slinbody 發表在 痞客邦 留言(0) 人氣()