telegram

package
v0.0.0-...-e8355e7 Latest Latest
Warning

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

Go to latest
Published: Apr 23, 2024 License: BSD-3-Clause Imports: 17 Imported by: 0

Documentation

Index

Constants

View Source
const (
	TelegramPollTimeout = 10 * time.Second
)

Variables

This section is empty.

Functions

func InitFrontend

func InitFrontend(cfg *internal.Config)

InitFrontend is the entry point to telegram'ss frontend. It connects to telegram over the bot API and waits for user commands.

Types

type TBot

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

func (*TBot) Start

func (t *TBot) Start()

func (*TBot) Stop

func (t *TBot) Stop()

Jump to

Keyboard shortcuts

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