telegram

package
v0.0.0-...-8480fd3 Latest Latest
Warning

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

Go to latest
Published: Jan 14, 2024 License: MIT Imports: 8 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(token string, rapidApiClient *rapidapi.Client, githubClient *github.Client, publicUrl string) (*Bot, error)

func (*Bot) Start

func (b *Bot) Start()

type StateStorage

type StateStorage struct {
	storage.InMemoryStorage[UserArticleState]
}

func NewStateStorage

func NewStateStorage() *StateStorage

type UserArticleState

type UserArticleState struct {
	UserId      int64
	Url         string
	Description string
	Level       string
	Topics      []string
}

Jump to

Keyboard shortcuts

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