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

Latest commit

 

History

History
46 lines (31 loc) · 675 Bytes

README.md

File metadata and controls

46 lines (31 loc) · 675 Bytes

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