telegram

package
v0.1.3 Latest Latest
Warning

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

Go to latest
Published: Feb 5, 2026 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 Channel

type Channel struct {
	channel.BaseChannel
	// contains filtered or unexported fields
}

Channel implements Telegram bot

func New

func New(cfg *config.TelegramConfig, msgBus *bus.MessageBus) *Channel

New creates a Telegram channel

func (*Channel) Name

func (c *Channel) Name() string

func (*Channel) Send

func (c *Channel) Send(ctx context.Context, msg *bus.OutboundMessage) error

func (*Channel) Start

func (c *Channel) Start(ctx context.Context) error

func (*Channel) Stop

func (c *Channel) Stop(ctx context.Context) error

Jump to

Keyboard shortcuts

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