Skip to content

A Command Line Interface for Telegram's BotFather

License

Notifications You must be signed in to change notification settings

JosXa/botfather-cli

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

botfather-cli

A Command Line Interface for Telegram BotFather written in Python3.6.

Installation

  1. python3 setup.py install
  2. This utility uses TgIntegration (and thus Pyrogram). Create a file .botfather in your home directory with the following contents:
[pyrogram]
api_id=...
api_hash=...

Replace the ellipses (...) with appropriate values as described in Telegram API Keys.

Usage

$ botfather --help
Usage: botfather [OPTIONS] COMMAND [ARGS]...

Options:
  --help  Show this message and exit.

Commands:
  deletebot
  newbot
  revoke
  setabouttext
  setcommands
  setdescription
  setname
  switch
  token

Multiple Telegram Accounts

Using $ botfather switch, you can make use of multiple Telegram sessions, so that you can spread your bots across multiple accounts and circumvent the 20 bots per account limit. These sessions will be stored in a ~/.botfather-sessions directory.

About

A Command Line Interface for Telegram's BotFather

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages