processor

package
v0.0.0-...-768bafe Latest Latest
Warning

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

Go to latest
Published: Nov 21, 2025 License: MIT Imports: 12 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,
	mcpService *mcp.MCP,
	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, 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