handlerstelegram

package
v0.0.0-...-85481a0 Latest Latest
Warning

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

Go to latest
Published: Dec 12, 2024 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Option

type Option func(b *Telegram)

func WithAppConfig

func WithAppConfig(cfg config.AppConfig) Option

func WithQueue

func WithQueue(q pubsub.Queue) Option

func WithTelegramBot

func WithTelegramBot(tb bot.TelegramBot) Option

type Telegram

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

func NewTelegram

func NewTelegram(options ...Option) *Telegram

func (*Telegram) ExecuteHandlers

func (t *Telegram) ExecuteHandlers(ctx context.Context)

func (*Telegram) ID

func (t *Telegram) ID() string

func (*Telegram) StopNotifications

func (t *Telegram) StopNotifications()

Jump to

Keyboard shortcuts

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