Documentation ¶
Index ¶
- type Plugin
- func (p *Plugin) Commands() []telebot.Command
- func (p *Plugin) Handlers(botInfo *telebot.User) []plugin.Handler
- func (*Plugin) Name() string
- func (p *Plugin) OnDisable(c plugin.GobotContext) error
- func (p *Plugin) OnDisableInChat(c plugin.GobotContext) error
- func (p *Plugin) OnEnable(c plugin.GobotContext) error
- func (p *Plugin) OnEnableInChat(c plugin.GobotContext) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Plugin ¶
type Plugin struct {
// contains filtered or unexported fields
}
func New ¶
func New(service model.ManagerService) *Plugin
func (*Plugin) OnDisableInChat ¶
func (p *Plugin) OnDisableInChat(c plugin.GobotContext) error
func (*Plugin) OnEnableInChat ¶
func (p *Plugin) OnEnableInChat(c plugin.GobotContext) error
Click to show internal directories.
Click to hide internal directories.