Skip to content

sergiodmn/tgbot

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

71 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

tgbot

Description

Telegram bot

Usage

$ tgbot
usage: tgbot config

Config format

The following snippet shows a typical config file. A complete example can be found at doc/global.cfg.

TgBin = "/path/to/telegram-cli"
TgPubKey = "/path/to/tg-server.pub"
MinOutput = "/path/to/minoutput.lua"
Chat = "ChatName"

[Echo]
Enabled = true

[Quotes]
Enabled = true
Endpoint = "https://example.com:8001/"
User = "user"
Password = "s3cr3t"

...

Installation

go get github.com/jroimartin/tgbot

Requirements

Releases

No releases published

Packages

No packages published

Languages

  • Go 96.1%
  • Lua 3.9%