telegram

package
v1.1.13 Latest Latest
Warning

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

Go to latest
Published: Jan 18, 2022 License: MIT Imports: 3 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type TelegramBot

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

func NewTelegramBot

func NewTelegramBot(apiKey string) TelegramBot

func (*TelegramBot) Debug

func (tb *TelegramBot) Debug(val bool)

func (*TelegramBot) GetUpdates

func (tb *TelegramBot) GetUpdates() (tgbotapi.UpdatesChannel, error)

func (*TelegramBot) IsWorking

func (tb *TelegramBot) IsWorking() bool

func (*TelegramBot) SendError

func (tb *TelegramBot) SendError(message string, chatId string)

func (*TelegramBot) SendMessage

func (tb *TelegramBot) SendMessage(message string, chat string)

Jump to

Keyboard shortcuts

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