transform

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Aug 1, 2025 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Service

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

Service предоставляет методы для преобразования и замены текста

func New

func New(
	telegramRepo telegramRepo,
	storageService storageService,
	messageService messageService,
) *Service

New создает новый экземпляр сервиса для работы с текстовыми трансформациями

func (*Service) Transform

func (s *Service) Transform(formattedText *client.FormattedText, withSources bool,
	src *client.Message, dstChatId int64, engineConfig *domain.EngineConfig,
)

Transform преобразует содержимое сообщения

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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