Search plugin: Or browse by category:

tg-message-sender summary

Plugin Name: tg-message-sender
Version: 0.1.0
Author: @spigell
Realease Date: 2017-11-30 04:34:27
Short Description: send messages to your telegram chat
Category: misc
Plugin web page: https://github.com/Spigell/tg-message-sender
Other versions: not available
Download link: tg-message-sender-v0.001000.tar.gz
Latest version link: https://sparrowhub.org/info/tg-message-sender


      

tg-message-sender documentation

tg-message-sender doc

SYNOPSIS

Outthentic plugin.

Simple script to sending messages to telegram chat

INSTALL

$ sparrow plg install tg-message-sender

USAGE

manually

$ sparrow plg run tg-message-sender --param id=12345567 --param token=XXX:YYY
$ sparrow plg run tg-message-sender --param id=12345567 --param token_file=/home/spigell/telegram_token 

via Sparrowdo

$ cat sparrowfile

task-run  %(
  task        => 'greetings',
  plugin      => 'tg-message-sender',
  parameters  => %( 
    message   => 'I am Alive!',
    id        => '1111111',
    token     => "XXX:YYY"
  )
);

Parameters

message

Your message. Default is 'Hello!'

id

id of your chat.

token

Your token for chat.

token_file

file with your token.

See also

getting started with telegram API

sparrowdo

sparrow