processor

package
v0.0.0-...-32dd017 Latest Latest
Warning

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

Go to latest
Published: Apr 25, 2026 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Processor

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

func New

func New(
	l logger.Logger,
	baseService *baseservices.BaseServices,
	agentService *agent.Agent,
	botService *bot.Bot,
) *Processor

func (*Processor) HandleCallbackQuery

func (s *Processor) HandleCallbackQuery(ctx context.Context, query *telego.CallbackQuery) error

HandleCallbackQuery handles callback queries from inline buttons.

func (*Processor) HandleCommand

func (s *Processor) HandleCommand(ctx context.Context, chatID int64, userID int64, command string) error

HandleCommand handles bot commands like /start, /menu, etc.

func (*Processor) ProcessNewRequest

func (s *Processor) ProcessNewRequest(ctx context.Context, userID int64, data string) (string, error)

Jump to

Keyboard shortcuts

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