Skip to main content
Join the official 2019 Python Developers SurveyStart the survey!

send message tencent message

Project description

#引用模块

from tencent_message import tencent_message

#如果需要设定模板,contect也可以是字典类型

class q_message(tencent_message):

def template_message(self,contect):

template=f”“”{contect} 运行错误,请核对/”“” return template

#初始化短信应用

q_message1=q_message(appdid=”111111”,appkey=”1111111”,sign=”123131”)

#发送短信 q_message1.send_message(“11414124”,”测试错误”)

Project details


Release history Release notifications

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for tencent_message, version 0.0.3
Filename, size File type Python version Upload date Hashes
Filename, size tencent_message-0.0.3.tar.gz (1.8 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page