bot

package
v0.60.0 Latest Latest
Warning

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

Go to latest
Published: Dec 9, 2024 License: AGPL-3.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RegisterRouter

func RegisterRouter(r *gin.RouterGroup)

func SendArtworkInfo

func SendArtworkInfo(ctx *gin.Context)

Types

type SendArtworkInfoRequest

type SendArtworkInfoRequest struct {
	SourceURL     string `json:"source_url" binding:"required"`
	ChatID        int64  `json:"chat_id" binding:"required"`
	AppendCaption string `json:"append_caption"`
}

Jump to

Keyboard shortcuts

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