bot

package
v0.0.0-...-5ab0ce7 Latest Latest
Warning

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

Go to latest
Published: Apr 18, 2023 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Bot

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

func NewBot

func NewBot(tgbot *tgbotapi.BotAPI, ombiClients map[int64]ombi.OmbiClient, posterBasePath string, storage storage.Storage) *Bot

func (*Bot) Start

func (bot *Bot) Start(fromUpdateId int)

type InlineButtonData

type InlineButtonData struct {
	InlineButtonType InlineButtonType `json:"t"`
	Index            int              `json:"i"`
	ResultsUuid      uuid.UUID        `json:"r"`
}

type InlineButtonType

type InlineButtonType int

Jump to

Keyboard shortcuts

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