bothandlers

package
v0.0.0-...-a992749 Latest Latest
Warning

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

Go to latest
Published: Nov 7, 2023 License: GPL-3.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Handlers

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

func New

func New(s *botservice.Service) *Handlers

func (*Handlers) AddCommands

func (bh *Handlers) AddCommands(c *fiber.Ctx) error

func (*Handlers) CreateBot

func (bh *Handlers) CreateBot(c *fiber.Ctx) error

func (*Handlers) DeleteBot

func (bh *Handlers) DeleteBot(c *fiber.Ctx) error

func (*Handlers) DeleteWebhook

func (bh *Handlers) DeleteWebhook(c *fiber.Ctx) error

func (*Handlers) EditBot

func (bh *Handlers) EditBot(c *fiber.Ctx) error

func (*Handlers) GetAllBots

func (bh *Handlers) GetAllBots(c *fiber.Ctx) error

func (*Handlers) GetBotById

func (bh *Handlers) GetBotById(c *fiber.Ctx) error

func (*Handlers) GetCommands

func (bh *Handlers) GetCommands(c *fiber.Ctx) error

func (*Handlers) GetCurrentBot

func (bh *Handlers) GetCurrentBot(c *fiber.Ctx) error

func (*Handlers) GetKey

func (bh *Handlers) GetKey(c *fiber.Ctx) error

func (*Handlers) GetWebhook

func (bh *Handlers) GetWebhook(c *fiber.Ctx) error

func (*Handlers) RefreshKey

func (bh *Handlers) RefreshKey(c *fiber.Ctx) error

func (*Handlers) RemoveCommand

func (bh *Handlers) RemoveCommand(c *fiber.Ctx) error

func (*Handlers) SaveWebhook

func (bh *Handlers) SaveWebhook(c *fiber.Ctx) error

Jump to

Keyboard shortcuts

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