usecase

package
v0.0.0-...-9a7d9fe Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 14, 2021 License: MIT Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ParseGoogleChatCommand

func ParseGoogleChatCommand(data *chat.DeprecatedEvent) (string, error)

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

func SendHelpMessage(chatID int64) error

SendHelpMessage func is used to send a help message to user

func ValidateBot

func ValidateBot(signing string, message string, mysigning string) bool

ValidateBot func to validate auth from Slack Bot

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL