types

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Jan 21, 2024 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ParseSlice added in v0.2.4

func ParseSlice(s string) ([]string, error)

Types

type Data

type Data struct {
	Bot     *tgbotapi.BotAPI
	Updates tgbotapi.UpdatesChannel
}

type Interval added in v0.2.4

type Interval struct {
	Min float64
	Max float64
}

type Reload added in v0.2.4

type Reload struct {
	FileName   string
	DataStruct any
	IfOkay     func(Utils)
	IfFail     func(Utils)
}

type Utils

type Utils struct {
	Config     *config.Config
	Logger     *logrus.Logger
	TimeFormat string
}

type WriteMessageData added in v0.2.0

type WriteMessageData struct {
	Bot            *tgbotapi.BotAPI
	ChatID         int64
	ReplyMessageID int
	Text           string
}

Jump to

Keyboard shortcuts

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