telegram

package
v0.0.0-...-50a34cc Latest Latest
Warning

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

Go to latest
Published: May 27, 2024 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SendMessage

func SendMessage(ctx context.Context, b *bot.Bot, toID int64, message string) error

Types

type TelegramHandler

type TelegramHandler struct {
	GitlabClient *gl.Client
	Conf         *config.Config
	Track        *track.Track
}

func InitTelegramHandler

func InitTelegramHandler(gitlabClient *gl.Client, conf *config.Config, tr *track.Track) *TelegramHandler

func (*TelegramHandler) Handler

func (th *TelegramHandler) Handler(ctx context.Context, b *bot.Bot, update *models.Update)

Jump to

Keyboard shortcuts

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