Skip to content

A number of useful tools for telebot Go framework.

Notifications You must be signed in to change notification settings

go-telebot/monitor

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🤖 Telebot Tools

go get github.com/go-telebot/pkg

This repository holds a number of useful tools for Telebot V3 framework.

Monitor is a middleware, which collects and stores important and representative analytics of the bot, records almost every incoming update in the highly efficient and fast ClickHouse storage. It also allows a developer to log its own custom data with JSON-formatted payload.

Integration

mon, err := monitor.New(monitor.Config{...})

b.OnError = mon.OnError()
b.Use(mon.Middleware())

// And you're ready to go!

Telegraph is a simple package to upload files to Telegraph.

Usage

telegraph.UploadFile("image.png")
telegraph.Upload(reader)

About

A number of useful tools for telebot Go framework.

Resources

Stars

Watchers

Forks

Languages