message

package
v0.0.0-...-629b230 Latest Latest
Warning

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

Go to latest
Published: Aug 28, 2021 License: GPL-3.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DeleteMessage

func DeleteMessage(c *gin.Context)

func GetAllMessages

func GetAllMessages(c *gin.Context)

func PostMessage

func PostMessage(c *gin.Context)

Types

type PostMessageReqBody

type PostMessageReqBody struct {
	Content        string  `json:"content" binding:"required,max=1000"`
	ReplyMessageID *uint64 `json:"reply_message_id"`
}

Jump to

Keyboard shortcuts

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