def handle(msg):
content_type, chat_type, chat_id = telepot.glance(msg)
print(content_type, chat_type, chat_id)
if content_type == 'text':
#bot.sendMessage(chat_id, msg)
bot.sendMessage(6579175, numero_view)
if content_type == 'new_chat_member':
bot.sendMessage(chat_id, "wellcome to this awesome group!")
if content_type == 'left_chat_member':
bot.sendMessage(chat_id, "Sayonara baby")
bot_scraping_youtube_views.py 文件源码
python
阅读 20
收藏 0
点赞 0
评论 0
评论列表
文章目录