Skip to content
This repository has been archived by the owner on Jan 26, 2019. It is now read-only.

jroimartin/tgbot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

77 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

tgbot

DEPRECATED: This Telegram bot was created before bots were officially supported.

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