tgbot

command module
v0.0.0-...-062af3e Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 26, 2019 License: BSD-3-Clause Imports: 11 Imported by: 0

README

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

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL