package
Version:
v0.9.2
Opens a new window with list of versions in this module.
Published: Mar 14, 2023
License: MIT
Opens a new window with license information.
Imports: 1
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
type Answer struct {
Text string `json:"text"`
Image string `json:"image"`
}
Answer from the FSM
func Answers(answers ...interface{}) []Answer
Answers creates a slice of Answers from
func NewMessageFromMap(msgMap interface{}) Answer
NewMessageFromMap converts a map of interfaces or strings into an Answer
type Question struct {
Sender string `json:"sender"`
Text string `json:"text"`
}
Question for the FSM
Source Files
¶
Click to show internal directories.
Click to hide internal directories.