bot_scraping_youtube_views.py 文件源码

python
阅读 20 收藏 0 点赞 0 评论 0

项目:telegramBots 作者: medialab-prado 项目源码 文件源码
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")
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号