telegram

package
v0.0.0-...-3534b61 Latest Latest
Warning

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

Go to latest
Published: Feb 7, 2023 License: AGPL-3.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Bot

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

func NewBot

func NewBot(ctx context.Context, token string, postgresDSN string) (*Bot, error)

func (*Bot) DoNothing

func (b *Bot) DoNothing()

func (*Bot) NotifyDecision

func (b *Bot) NotifyDecision(item *gofeed.Item) error

func (*Bot) SendToAll

func (b *Bot) SendToAll(msg string) error

type MessageConfig

type MessageConfig struct {
	FirstName string
}

Jump to

Keyboard shortcuts

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