bot

package
v0.0.0-...-3ff163a Latest Latest
Warning

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

Go to latest
Published: Mar 8, 2021 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrResultIsEmpty = errors.New("result is empty")

Functions

This section is empty.

Types

type Bot

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

func NewBot

func NewBot(runner runner.NetRunner, raw *tg.Client, logger *zap.Logger) *Bot

func (*Bot) Handler

func (b *Bot) Handler() func(ctx tg.UpdateContext, u *tg.UpdateBotInlineQuery) error

Jump to

Keyboard shortcuts

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