telegram

package
v0.0.0-...-9a8b118 Latest Latest
Warning

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

Go to latest
Published: Mar 5, 2023 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Telegram

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

func NewTelegram

func NewTelegram(update tgbotapi.Update) *Telegram

func (*Telegram) HandleCommand

func (tg *Telegram) HandleCommand() (string, error)

HandleCommand handles the command.

func (*Telegram) HandleMessage

func (tg *Telegram) HandleMessage() (string, error)

HandleMessage handles a message.

Jump to

Keyboard shortcuts

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