telbot

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Apr 7, 2023 License: GPL-3.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func UserIdMiddleware

func UserIdMiddleware(next tele.HandlerFunc) tele.HandlerFunc

Types

type BotHandler

type BotHandler struct {
	// contains filtered or unexported fields
}

func NewBotHandler

func NewBotHandler() *BotHandler

func (*BotHandler) Hi

func (b *BotHandler) Hi(c tele.Context) error

func (*BotHandler) Register

func (b *BotHandler) Register(c tele.Context) error

func (*BotHandler) Start

func (b *BotHandler) Start()

func (*BotHandler) Sub

func (b *BotHandler) Sub(c tele.Context) error

func (*BotHandler) TrafficUsage

func (b *BotHandler) TrafficUsage(c tele.Context) error

Jump to

Keyboard shortcuts

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