package
Version:
v0.0.0-...-eb4b608
Opens a new window with list of versions in this module.
Published: Oct 20, 2023
License: Unlicense
Opens a new window with license information.
Imports: 10
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
View Source
const BaseUrl = "https://www.cleverbot.com/getreply"
func (p *Plugin) Commands() []telebot.Command
type Response struct {
State string `json:"cs"`
Output string `json:"output"`
}
type Service interface {
SetState(chat *telebot.Chat, state string) error
ResetState(chat *telebot.Chat) error
GetState(chat *telebot.Chat) (string, error)
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.