scenes

package
v0.2.1 Latest Latest
Warning

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

Go to latest
Published: Nov 8, 2022 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Types = map[string]string{
	"message":     "message_new",
	"editMessage": "message_edit",

	"replyMessage":   "message_reply",
	"enableMessage":  "message_allow",
	"disableMessage": "message_deny",
	"callback":       "message_event",

	"typing": "message_typing_state",
}

Functions

This section is empty.

Types

type Scene

type Scene func(bot *API.Options, update updates.Update)

type Scenes

type Scenes map[string]Scene

func Create

func Create() Scenes

func (Scenes) Add

func (scene Scenes) Add(typ string, callback func(bot *API.Options, update updates.Update)) Scenes

Jump to

Keyboard shortcuts

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