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

Wechat Template Message Module for Python.

Project description

Wechat Template Message Module for Python.

Installation

pip install pywe-template-message

Usage

from pywe_template_message import TemplateMessage, INDUSTRY_LIST, set_industry, get_industry, add_template, get_all_private_template, del_private_template, send_template_message

Method

class TemplateMessage(BaseToken):
    def __init__(self, appid=None, secret=None, token=None, storage=None):
        super(TemplateMessage, self).__init__(appid=appid, secret=secret, token=token, storage=storage)

def set_industry(self, industry_id1, industry_id2, appid=None, secret=None, token=None, storage=None):

def get_industry(self, appid=None, secret=None, token=None, storage=None):

def add_template(self, template_id_short, appid=None, secret=None, token=None, storage=None):

def get_all_private_template(self, appid=None, secret=None, token=None, storage=None):

def del_private_template(self, template_id, appid=None, secret=None, token=None, storage=None):

def send_template_message(self, user_id, template_id, data, url=None, mini_program=None, appid=None, secret=None, token=None, storage=None):

Project details


Release history Release notifications

This version

1.0.0

Download files

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

Files for pywe-template-message, version 1.0.0
Filename, size File type Python version Upload date Hashes
Filename, size pywe_template_message-1.0.0-py2.py3-none-any.whl (5.1 kB) File type Wheel Python version py2.py3 Upload date Hashes View hashes
Filename, size pywe-template-message-1.0.0.tar.gz (3.1 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