telegram

package
v0.0.0-...-f0588fc Latest Latest
Warning

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

Go to latest
Published: Apr 5, 2024 License: BSD-2-Clause-Views Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Bot

type Bot struct {
	Schedule      konturtransferbot.Schedule
	TelegramToken string
	Timezone      *time.Location
	ProxyURL      *url.URL
	Logger        konturtransferbot.Logger
	// contains filtered or unexported fields
}

Bot handles communication with Telegram users

func (*Bot) Start

func (b *Bot) Start() error

Start initializes Telegram request loop

func (*Bot) Stop

func (b *Bot) Stop() error

Stop gracefully finishes request loop

Jump to

Keyboard shortcuts

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