Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RegisterTelegramHandlers ¶
func RegisterTelegramHandlers(router *server.Hertz, service notification.Service, botToken func() string)
func TelegramHandler ¶
func TelegramHandler(service notification.Service, botToken func() string) app.HandlerFunc
TelegramHandler documents Telegram.
@Summary Telegram @Tags common @Accept json @Produce json @Security TelegramSecret @Param request body object true "Telegram Bot API update" @Success 200 {object} httpx.ResponseSuccessBean @Router /v1/telegram/webhook [post]
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.