Documentation
¶
Overview ¶
Package emitable defines all of the types that are recommended for all fsm chatbot targets to implement in their emitter.
All emitters should also handle strings, in addition to what is defined here.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Audio ¶
type Audio struct {
URL string
}
Audio is a struct that represents an audio file to be emitted
type File ¶
type File struct {
URL string
}
File is a struct that represents a generic file to be emitted
type Image ¶
type Image struct {
URL string
}
Image is a struct that represents an image to be emitted
type QuickReply ¶
QuickReply is a struct that represents an array of possible responses from a user
type Sleep ¶
type Sleep struct {
LengthMillis int
}
Sleep is a struct to represent that the bot should pause for some length of time.
Click to show internal directories.
Click to hide internal directories.