Skip to content

FORT-Protocol/telebot

Repository files navigation

@fort-protocol/telebot

Node.js Package

Install

npm i -g @fort-protocol/telebot

or

yarn global add @fort-protocol/telebot

Help

get some help of telebot

telebot -h

get version of telebot

telebot -V

send

telebot send
telebot sendmessage 'hello' chat_id1 chat_id2 -y
telebot sendphoto 'uri' chat_id1 chat_id2 --caption 'hello' -y
telebot sendvideo 'uri' chat_id1 chat_id2 --caption 'hello' -y

if chat_id from stdout, you can use xargs like this

echo 'chat_id1 chat_id2' | xargs telebot sendmessage 'hello' -y