handler

package
v1.20.1 Latest Latest
Warning

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

Go to latest
Published: Aug 29, 2026 License: GPL-3.0 Imports: 7 Imported by: 0

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} result.ResponseSuccessBean @Router /v1/telegram/webhook [post]

Types

This section is empty.

Jump to

Keyboard shortcuts

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