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.
Click to show internal directories.
Click to hide internal directories.