app.py 文件源码

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

项目:infilcheck 作者: jonnykry 项目源码 文件源码
def sms_alert(gif_url, user_id):
    # Get User Phone Number
    current_user = User.query.filter_by(id=user_id).first()
    # Create Twilio Message
    message = client.sms.messages.create(to=current_user.phone, from_=twilio_caller,
                                            body="Intruder! Visit\n" + request.host + " \nfor more information",
                                            media_url=['https://demo.twilio.com/owl.png', 'https://demo.twilio.com/logo.png'])
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号