Documentation ¶
Index ¶
- func ActionHandler(update *telegramApi.Update, bot *telegramApi.BotAPI) error
- func ActionHandlerCommands(update *telegramApi.Update, bot *telegramApi.BotAPI) error
- func ActionHandlerDialog(update *telegramApi.Update, bot *telegramApi.BotAPI) error
- func HandleTelegramWebHook(w http.ResponseWriter, r *http.Request)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ActionHandler ¶
func ActionHandler(update *telegramApi.Update, bot *telegramApi.BotAPI) error
ActionHandler method responsible for deciding the action that the received message will perform
func ActionHandlerCommands ¶
func ActionHandlerCommands(update *telegramApi.Update, bot *telegramApi.BotAPI) error
ActionHandlerCommands method responsible for rendering the commands
func ActionHandlerDialog ¶
func ActionHandlerDialog(update *telegramApi.Update, bot *telegramApi.BotAPI) error
ActionHandlerDialog method responsible for rendering the dialogs
func HandleTelegramWebHook ¶
func HandleTelegramWebHook(w http.ResponseWriter, r *http.Request)
HandleTelegramWebHook sends a message back to the chat with a punchline starting by the message provided by the user.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.