query

package
Version: v0.8.6 Latest Latest
Warning

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

Go to latest
Published: Apr 16, 2021 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

Source Files

Jump to

Keyboard shortcuts

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