supplier

package
v0.0.0-...-6bc187d Latest Latest
Warning

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

Go to latest
Published: Dec 1, 2023 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type TelegramSupplier

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

func NewTelegramSupplier

func NewTelegramSupplier(token string, debug bool) (TelegramSupplier, error)

func (*TelegramSupplier) GetMe

func (telegramSupplier *TelegramSupplier) GetMe(quite bool) error

func (*TelegramSupplier) SendFiles

func (telegramSupplier *TelegramSupplier) SendFiles(chatId int64, files string, quite bool)

func (*TelegramSupplier) SendMessage

func (telegramSupplier *TelegramSupplier) SendMessage(
	chatId int64,
	text string,
	asHtml bool,
	asCode bool,
	quite bool,
) error

Jump to

Keyboard shortcuts

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