Last updated:
0 purchases
puzh 1.1.2
puzh is a simple wrapper package for the puzh.it api. It supports
python 3.x.
You can easily push messages to the telegram @puzhbot.
Install
$ pip install puzh
Usage
# Simple usage
import puzh
puzh.it('*Hi* ✌', token='secret_token')
# Advanced usage
from puzh import Puzh
puzh = Puzh('secret_token')
puzh.it('*Hi* ✌')
API
puzh.it(*objects, token=None, silent=False, sep=' ')
Push a message to the telegram @puzhbot. Using silent=True will send
the message silently. Users will receive a notification without sound.
Messages can be formatted using Markdown.
Multiple arguments will be separated by sep, a space by default.
The method is executed asynchronously, if it fails, it will swallow any exception silently.
For personal and professional use. You cannot resell or redistribute these repositories in their original state.
There are no reviews.