events

package
v0.0.0-...-973826c Latest Latest
Warning

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

Go to latest
Published: Jul 16, 2020 License: LGPL-3.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CMDName

func CMDName() string

CMDName - the name for this command

func Create

func Create(recv tgapi.Update) (*tgapi.Chattable, error)

Create - will only put the user in "event creation mode"

func Events

func Events(recv tgapi.Update) (*tgapi.Chattable, error)

Events - Pick an event from the list

func GetEvents

func GetEvents() []model.Event

GetEvents - name, description

func RegisterCommands

func RegisterCommands(processors map[string]model.Processor) error

RegisterCommands - call in order to add new commands to the help section

func Subscribe

func Subscribe(recv tgapi.Update) (*tgapi.Chattable, error)

Subscribe - Allows the user to subscribe to the selected event

Types

This section is empty.

Jump to

Keyboard shortcuts

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