event_handler

package
v0.0.0-...-70b817e Latest Latest
Warning

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

Go to latest
Published: Dec 25, 2024 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BotsService

type BotsService interface {
	GetById(id uint) (*models.Bot, error)
	Update(entity *models.Bot) (*models.Bot, error)
}

type ChatsService

type ChatsService interface {
	GetById(id uint) (*models.Chat, error)
	Update(entity *models.Chat) (*models.Chat, error)
}

type EventHandler

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

func NewEventHandler

func NewEventHandler(chatsService ChatsService, botsService BotsService) *EventHandler

func (*EventHandler) HandleMessageCreatedEvent

func (h *EventHandler) HandleMessageCreatedEvent(payload interface{})

Jump to

Keyboard shortcuts

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