service

package
v0.0.0-...-af5143e Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type WhatsappService

type WhatsappService interface {
	Request(ctx context.Context, userID int, chatID int64) error
	Processor(ctx context.Context, userID int, input string) error
}

WhatsappService is an interface for managing WhatsApp-related actions.

func NewWhatsappService

func NewWhatsappService(botRepo *repository.BotRepository, gsheetRepo *repository.GSheetRepository) WhatsappService

NewWhatsappService creates a new WhatsappService using the provided bot repository.

Jump to

Keyboard shortcuts

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