Skip to content

Tabrizian/ceit93bot-cli

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ceit93bot-cli

This library will help you manage your telegram channel without having to install telegram on your computer.

Prerequisites

  • A telegram bot with API token from the @botfather.
  • Above telegram bot should be adminstrator of the channel that you want to control.

Installation

Installation is pretty simple:

With yarn:

yarn global add ceit93bot-cli

With npm:

npm install -g ceit93bot-cli

Now you should only configure it:

tcli config --bot-username @YOUR_BOT_USERNAME  
tcli config --bot-hash YOUR_BOT_API_KEY  
tcli config --channel @YOUR_CHANNEL_ID

Usage

Currently only sending messages and documents are supported

Sending message

tcli send --message "Hello World from CLI :)"

Sending documents

tcli send --file document.pdf

About

Manage your telegram channel directly from CLI.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published