bot

package
v0.0.5 Latest Latest
Warning

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

Go to latest
Published: Jan 18, 2022 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// Last confirmation from the admin
	IsWaitingConfirmation bool = false

	// OutboundChannel represents the channel for the outgoing messages from the bot
	OutboundChannel = make(chan string)

	// ConfirmationChannel represents the channel for the confirmation messages sent from the admin
	ConfirmationChannel = make(chan bool)
)

Functions

func Run

func Run(botToken string, password string)

Run the telegram bot

Types

This section is empty.

Jump to

Keyboard shortcuts

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