Documentation ¶
Index ¶
- func ParseGoogleChatCommand(data *chat.DeprecatedEvent) (string, error)
- func ParseSlashCommand(data *slack.SlashCommand) (slack.Msg, error)
- func ParseTelegramCommand(data *domain.WebhookBody) (string, error)
- func SendHelpMessage(chatID int64) error
- func ValidateBot(signing string, message string, mysigning string) bool
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ParseGoogleChatCommand ¶
ParseGoogleChatCommand func
func ParseSlashCommand ¶
func ParseSlashCommand(data *slack.SlashCommand) (slack.Msg, error)
ParseSlashCommand func to parse Slack Text field and try to answer something useful to user
func ParseTelegramCommand ¶
func ParseTelegramCommand(data *domain.WebhookBody) (string, error)
ParseTelegramCommand func
func SendHelpMessage ¶
SendHelpMessage func is used to send a help message to user
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.