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 | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file pywe-template-message-1.0.0.tar.gz
.
File metadata
- Download URL: pywe-template-message-1.0.0.tar.gz
- Upload date:
- Size: 3.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | a60891f7c9068d4a1d00b6998a54fdbb0c124fbc9a6aa9a0e72eeeb554f3f035 |
|
MD5 | 4092266b0d15aff6d7449f31bc45e2ce |
|
BLAKE2b-256 | 423594e3c5fff84a3b254922e01f7da793328031b4df109b9111f88c428aae66 |
File details
Details for the file pywe_template_message-1.0.0-py2.py3-none-any.whl
.
File metadata
- Download URL: pywe_template_message-1.0.0-py2.py3-none-any.whl
- Upload date:
- Size: 5.1 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 40896ba6b75b3b15fa527559c742493069e46ccc8ee80217b7440f264b30b189 |
|
MD5 | 0cce745d0456a8f88bb6661c52a1d463 |
|
BLAKE2b-256 | ed6b8bd33a5f164a67644d242a3f80999ee9e326e6e847382cba8966afcefecf |