Skip to main content

A small program for sending telegram message in quick

Project description

Build and deploy

rm -fr dist/*
python -m build
python twine upload dist/* -u __token__ -p {token}

Usage of simple sending

python -m xethhung12_tg_msg \
    --receiver-id {receiver-id} \
    --bot-token {bot-token} \
    --msg {message} 
    # --silent [if want the program close normally, eception still print out but return in normal return code]

Usage of sending through STDIN

python -m xethhung12_tg_msg \
    --receiver-id {receiver-id} \
    --bot-token {bot-token} \
    --from-stdin {stdin input} 
    # --silent [if want the program close normally, eception still print out but return in normal return code]

Project details


Download files

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

Source Distribution

xethhung12_tg_msg-0.0.9.tar.gz (3.3 kB view hashes)

Uploaded Source

Built Distribution

xethhung12_tg_msg-0.0.9-py3-none-any.whl (3.5 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page