internal

package
v0.0.0-...-57cc51c Latest Latest
Warning

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

Go to latest
Published: Feb 14, 2021 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CommandInfo

func CommandInfo(update tgbotapi.Update) (tgbotapi.MessageConfig, error)

CommandInfo is the /info command

func CommandStart

func CommandStart(update tgbotapi.Update) (tgbotapi.MessageConfig, error)

CommandStart is the /start command

func CommandUnknown

func CommandUnknown(update tgbotapi.Update) (tgbotapi.MessageConfig, error)

CommandUnknown is for any unknown command

Types

type CommandFunc

type CommandFunc func(tgbotapi.Update) (tgbotapi.Message, error)

Jump to

Keyboard shortcuts

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