telegram

package
v0.0.0-...-6cba4bc Latest Latest
Warning

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

Go to latest
Published: Mar 23, 2024 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BotAPI

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

func NewBotAPI

func NewBotAPI(bot *tgbotapi.BotAPI) *BotAPI

func (*BotAPI) AllAtOnce

func (b *BotAPI) AllAtOnce(update tgbotapi.Update, qrCodeFilePath string)

func (*BotAPI) GenerateQRCode

func (b *BotAPI) GenerateQRCode(update tgbotapi.Update, qrCodeFilePath string)

func (*BotAPI) HandleCommand

func (b *BotAPI) HandleCommand(update tgbotapi.Update)

func (*BotAPI) HandleUpdate

func (b *BotAPI) HandleUpdate(update tgbotapi.Update)

func (*BotAPI) Initialize

func (b *BotAPI) Initialize() error
func (b *BotAPI) ProcessLink(update tgbotapi.Update)
func (b *BotAPI) RequestLink(update tgbotapi.Update)

func (*BotAPI) SendShortenedURLList

func (b *BotAPI) SendShortenedURLList(update tgbotapi.Update)

func (*BotAPI) StartTelegramBot

func (b *BotAPI) StartTelegramBot()

func (*BotAPI) TextGeneration

func (b *BotAPI) TextGeneration(update tgbotapi.Update)

func (*BotAPI) UnknownCommand

func (b *BotAPI) UnknownCommand(update tgbotapi.Update)

type BotService

type BotService interface {
	Initialize() error
	StartTelegramBot()
}

Jump to

Keyboard shortcuts

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