# Functions
ParseYaml decodes YAML input into a Spec struct.
# Constants
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
TemplateDefault is default template style, uses interpolation of state variables.
TemplateGo uses go template engine.
TemplateNo uses no template engine.
Trigger types.
Trigger types.
Trigger types.
Trigger types.
Trigger types.
Trigger types.
Trigger types.
# Variables
No description provided by the author
ErrEmptyCallbackTrigger is returned when callback trigger data is empty.
ErrEmptyMessageTrigger is returned when message trigger data is empty.
ErrEmptyStateConditionKey is returned when state condition key is empty.
ErrEmptyStateConditionValue is returned when state condition value is empty.
ErrEmptyTrigger is returned when no triggers are specified.
No description provided by the author
ErrInvalidTriggerCombination is returned when trigger combination is invalid.
No description provided by the author
No description provided by the author
ErrNoTriggerConfig is an error for missing trigger configuration.
No description provided by the author
# Structs
API specification declares bot handlers.
ApiAction to perform.
No description provided by the author
ApiHandler is a handler for API requests.
No description provided by the author
Bot spec includes bot configuration and handlers.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Handler specification declares bot handlers.
No description provided by the author
Invoice is a payment invoice.
No description provided by the author
No description provided by the author
No description provided by the author
OptUint64 is a uint64 that can be omitted in YAML.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Price of the product.
No description provided by the author
No description provided by the author
Spec is a base struct for a bot specification file.
State handler spec.
No description provided by the author
StateUpdateOp is a state update operation.
Trigger is a handler trigger whcich configures when the handler should be executed.
Validators is a struct for validator configuration.
No description provided by the author
# Type aliases
Check is a type for validator checks.
ParseMode of message reply.
No description provided by the author
StateUpdateOpKind is a kind of state update operation.
Strings is a slice of strings that can be unmarshalled from YAML scalars or sequences or JSON string or array of strings.
TemplateStyle of message text.
TriggerType is a type of trigger.
Uints64 is a slice of uint64s that can be unmarshalled from YAML scalars or sequences.