telegram

package
v0.0.0-...-96f1f9d Latest Latest
Warning

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

Go to latest
Published: May 4, 2024 License: MIT Imports: 5 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
}

func NewService

func NewService(
	userProvider provider.UserProvider,
	cacheProvider provider.CacheProvider,
) *Service

func (*Service) CreateUserByTelegramID

func (s *Service) CreateUserByTelegramID(ctx context.Context, telegramID int64, name, surname string) (*domain.User, error)

func (*Service) GetUserByTelegramID

func (s *Service) GetUserByTelegramID(ctx context.Context, telegramID int64) (*domain.User, error)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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