Documentation ¶ Index ¶ type Channel func New(cfg config.TelegramConfig, b *bus.Bus) *Channel func (c *Channel) IsRunning() bool func (c *Channel) Name() string func (c *Channel) Send(ctx context.Context, msg bus.OutboundMessage) error func (c *Channel) Start(ctx context.Context) error func (c *Channel) Stop() error Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type Channel ¶ type Channel struct { // contains filtered or unexported fields } func New ¶ func New(cfg config.TelegramConfig, b *bus.Bus) *Channel func (*Channel) IsRunning ¶ func (c *Channel) IsRunning() bool 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() error Source Files ¶ View all Source files format.gotelegram.go Click to show internal directories. Click to hide internal directories.