handler

package
v0.0.0-...-f712e64 Latest Latest
Warning

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

Go to latest
Published: Jul 24, 2022 License: MIT Imports: 10 Imported by: 0

Documentation

Index

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.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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