telegram

package
v0.0.0-...-bd0fe52 Latest Latest
Warning

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

Go to latest
Published: Nov 28, 2021 License: GPL-3.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrChanFull = errors.New("chan downloaderDem is full")

ErrChanFull chan is full

Functions

func AddDataTelegramBot

func AddDataTelegramBot(message string) error

AddDataTelegramBot add data to be messaged

func Start

func Start(keyTelegram string, chatID int64, debug bool)

Start starts this worker

Types

type Bot

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

Bot workers who receive and send message to telegram

type DataTelegramBot

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

DataTelegramBot data send for telegram

Jump to

Keyboard shortcuts

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