Skip to content

massbots/pkg

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🤖 Telebot Tools

go get go.massbots.xyz/telebot

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