bot

package
v1.0.2 Latest Latest
Warning

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

Go to latest
Published: Jul 9, 2025 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ConnectTelegram

func ConnectTelegram(cfg *config.Env) (telegramBot *bot.BotAPI, err error)

Types

type Bot

type Bot struct {
	TelegramBot *bot.BotAPI
	// contains filtered or unexported fields
}

func NewBot

func NewBot(cfg *config.Env, telegramBot *bot.BotAPI) *Bot

func (*Bot) TelegramSendMessage

func (pkg *Bot) TelegramSendMessage(message string) (err error)

Jump to

Keyboard shortcuts

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