aboutsummaryrefslogtreecommitdiff
path: root/tgsend
diff options
context:
space:
mode:
authorGuillermo Ramos2019-06-30 13:46:45 +0200
committerGuillermo Ramos2019-06-30 13:46:45 +0200
commit428615368f7c3c69ad415859162a432cf0866458 (patch)
tree0677b7a5657f155cce38129dd7708216fe830dee /tgsend
parent95faae2a4d687a189127621faaeecf17a040c3eb (diff)
downloadtgutils-428615368f7c3c69ad415859162a432cf0866458.tar.gz
Add examples to documentation
Diffstat (limited to 'tgsend')
-rwxr-xr-xtgsend5
1 files changed, 5 insertions, 0 deletions
diff --git a/tgsend b/tgsend
index a889457..0ee318d 100755
--- a/tgsend
+++ b/tgsend
@@ -96,6 +96,11 @@ Show this message
This program will send its standard input to the given Telegram I<chat_ids>, from
the bot identified by I<token>.
+=head1 EXAMPLE
+
+ echo "Hello, word!"
+ | tgsend --token 123456789:abcdefghijklmnopqrstuvwxyzABCDEFGHI 12121212 \
+
=head1 AUTHENTICATION
To get the bot token, this program will check (in order):