welcome

package
v0.0.0-...-531ab02 Latest Latest
Warning

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

Go to latest
Published: Mar 3, 2020 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var EnumFuncMap = map[int]func(ext.Bot, int, string) (*ext.Message, error){
	sql.TEXT:        ext.Bot.SendMessage,
	sql.BUTTON_TEXT: ext.Bot.SendMessage,
	sql.STICKER:     ext.Bot.SendStickerStr,
	sql.DOCUMENT:    ext.Bot.SendDocumentStr,
	sql.PHOTO:       ext.Bot.SendPhotoStr,
	sql.AUDIO:       ext.Bot.SendAudioStr,
	sql.VOICE:       ext.Bot.SendVoiceStr,
	sql.VIDEO:       ext.Bot.SendVideoStr,
}

EnumFuncMap map of welcome type to function to execute

Functions

func LoadWelcome

func LoadWelcome(u *gotgbot.Updater)

LoadWelcome load welcome module

Types

This section is empty.

Jump to

Keyboard shortcuts

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