8000 GitHub - jroimartin/tgbot: Telegram bot
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
This repository was 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

About

Telegram bot

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •  
0