Versions in this module Expand all Collapse all v0 v0.92.1 Jun 6, 2026 v0.92.0 Jun 6, 2026 Changes in this version + const MessageBotIncomingBehavior + const MessageGroupIncomingBehavior + func Behavior(uid types.Uid, flag string, number int) + func Bootstrap() error + func FormMsg(ctx types.Context, id string) types.MsgPayload + func Help(rules []any) (map[string][]string, error) + func Init(jsonconf json.RawMessage) error + func List() map[string]Handler + func Register(name string, module Handler) + func RunCommand(commandRules []command.Rule, ctx types.Context, content any) (types.MsgPayload, error) + func RunForm(formRules []form.Rule, ctx types.Context, values types.KV) (types.MsgPayload, error) + func ServiceURL(ctx types.Context, group, path string, param types.KV) string + func SettingGet(ctx types.Context, id string, key string) (types.KV, error) + func SettingMsg(ctx types.Context, id string) types.MsgPayload + func Shortcut(title, link string) (string, error) + func StoreForm(ctx types.Context, payload types.MsgPayload) types.MsgPayload + func StoreParameter(params types.KV, expiredAt time.Time) (string, error) + func Unregister(name string) + func Webservice(app *fiber.App, name string, ruleset webservice.Ruleset) + type Base struct + func (Base) Bootstrap() error + func (Base) Command(_ types.Context, _ any) (types.MsgPayload, error) + func (Base) Form(_ types.Context, _ types.KV) (types.MsgPayload, error) + func (Base) Input(_ types.Context, _ types.KV, _ any) (types.MsgPayload, error) + func (Base) Rules() []any + func (Base) Webservice(_ *fiber.App) + func (b Base) Help() (map[string][]string, error) + type Handler interface + Bootstrap func() error + Command func(ctx types.Context, content any) (types.MsgPayload, error) + Form func(ctx types.Context, values types.KV) (types.MsgPayload, error) + Help func() (map[string][]string, error) + Init func(jsonconf json.RawMessage) error + Input func(ctx types.Context, head types.KV, content any) (types.MsgPayload, error) + IsReady func() bool + Rules func() []any + Webservice func(app *fiber.App) + func FindRuleAndHandler[T types.Ruler](flag string, handlers map[string]Handler) (T, Handler)