bot

package
v0.0.0-...-d904837 Latest Latest
Warning

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

Go to latest
Published: Sep 23, 2023 License: MIT Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Bot

type Bot struct {
	*tgb.Router
	*Deps
}

func New

func New(deps *Deps) (*Bot, error)

func (*Bot) T

func (bot *Bot) T(user *domain.User) *i18n.Localizer

type Deps

type Deps struct {
	Bundle  *i18n.Bundle
	Logger  *zerolog.Logger
	Service service.Service
}

Jump to

Keyboard shortcuts

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