query

package
v0.9.2 Latest Latest
Warning

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

Go to latest
Published: Mar 14, 2023 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Answer

type Answer struct {
	Text  string `json:"text"`
	Image string `json:"image"`
}

Answer from the FSM

func Answers

func Answers(answers ...interface{}) []Answer

Answers creates a slice of Answers from

func NewMessageFromMap

func NewMessageFromMap(msgMap interface{}) Answer

NewMessageFromMap converts a map of interfaces or strings into an Answer

type Question

type Question struct {
	Sender string `json:"sender"`
	Text   string `json:"text"`
}

Question for the FSM

Jump to

Keyboard shortcuts

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