Documentation
¶
Index ¶
Constants ¶
View Source
const ( ContextActionKey = "id" ContextMessageKey = "message" ContextPayloadKey = "payload" ContextNewMessage = "new_message" ContextNewPayload = "new_payload" CancelAction = "cancel" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FreetextFetcher ¶
type FreetextFetcher interface {
MessageHasBeenPosted(c *plugin.Context, post *model.Post, api plugin.API, loggerBot logger.Logger, botUserID string, pluginURL string)
StartFetching(userID string, payload string)
UpdateHooks(validate func(string) string, onFetch func(string, string), onCancel func(string))
URL() string
}
func NewFreetextFetcher ¶ added in v0.1.10
type FreetextStore ¶
Source Files
¶
Click to show internal directories.
Click to hide internal directories.