telegram

package
v0.0.0-...-591e2b5 Latest Latest
Warning

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

Go to latest
Published: Mar 20, 2024 License: AGPL-3.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const (
	WELCOME_MSG = "" /* 242-byte string literal not displayed */
	YOUTUBE_URL = "https://youtube.com/"
	ACK_1       = "Thank you. I will track this playlist and let you know if there are any changes in the likes / comments of the videos"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type TelegramBotService

type TelegramBotService struct {
	Bot              *telegramApi.BotAPI
	PlaylistIDChan   chan string
	ClientTelegramId chan string
	WaitForUserInput bool
}

func NewTelegramService

func NewTelegramService(apiKey string) (*TelegramBotService, error)

func (*TelegramBotService) InitTelegramBot

func (t *TelegramBotService) InitTelegramBot(canDebug bool, ctx context.Context)

Jump to

Keyboard shortcuts

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