summarize

package
v0.23.0 Latest Latest
Warning

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

Go to latest
Published: Dec 10, 2023 License: MIT Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewHandlers

func NewHandlers() func(NewHandlersParams) *Handlers

func NewModules

func NewModules() fx.Option

Types

type Handlers

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

func (*Handlers) Handle

func (h *Handlers) Handle(c *tgbot.Context) (tgbot.Response, error)

func (*Handlers) HandleChannelPost

func (h *Handlers) HandleChannelPost(c *tgbot.Context) (tgbot.Response, error)

func (*Handlers) Install

func (h *Handlers) Install(dispatcher *tgbot.Dispatcher)

type NewHandlersParams

type NewHandlersParams struct {
	fx.In

	Logger   *logger.Logger
	SMR      *smr.Model
	SmrQueue *smrqueue.Queue
}

Jump to

Keyboard shortcuts

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