Documentation ¶
Index ¶
- type SendMessageHandler
- func (h *SendMessageHandler) HandleRestoreMessageFromChannel(c *fiber.Ctx, req wire.MessageRestoreFromChannelRequestWire) error
- func (h *SendMessageHandler) HandleRestoreMessageFromWebhook(c *fiber.Ctx, req wire.MessageRestoreFromWebhookRequestWire) error
- func (h *SendMessageHandler) HandleSendMessageToChannel(c *fiber.Ctx, req wire.MessageSendToChannelRequestWire) error
- func (h *SendMessageHandler) HandleSendMessageToWebhook(c *fiber.Ctx, req wire.MessageSendToWebhookRequestWire) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SendMessageHandler ¶
type SendMessageHandler struct {
// contains filtered or unexported fields
}
func New ¶
func New( bot *bot.Bot, pg *postgres.PostgresStore, accessManager *access.AccessManager, actionParser *parser.ActionParser, planStore store.PlanStore, ) *SendMessageHandler
func (*SendMessageHandler) HandleRestoreMessageFromChannel ¶
func (h *SendMessageHandler) HandleRestoreMessageFromChannel(c *fiber.Ctx, req wire.MessageRestoreFromChannelRequestWire) error
func (*SendMessageHandler) HandleRestoreMessageFromWebhook ¶
func (h *SendMessageHandler) HandleRestoreMessageFromWebhook(c *fiber.Ctx, req wire.MessageRestoreFromWebhookRequestWire) error
func (*SendMessageHandler) HandleSendMessageToChannel ¶
func (h *SendMessageHandler) HandleSendMessageToChannel(c *fiber.Ctx, req wire.MessageSendToChannelRequestWire) error
func (*SendMessageHandler) HandleSendMessageToWebhook ¶
func (h *SendMessageHandler) HandleSendMessageToWebhook(c *fiber.Ctx, req wire.MessageSendToWebhookRequestWire) error
Click to show internal directories.
Click to hide internal directories.