entity

package
v1.0.4 Latest Latest
Warning

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

Go to latest
Published: Feb 3, 2024 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GroupRobotResponse

type GroupRobotResponse struct {
	Extra         interface{} `json:"Extra"`
	StatusCode    int         `json:"StatusCode"`
	StatusMessage string      `json:"StatusMessage"`
}

GroupRobotResponse 群机器人响应体

type MsgTypeImage

type MsgTypeImage struct {
	ImageKey string `json:"image_key"`
}

MsgTypeImage 图片消息

type MsgTypeInteractive

type MsgTypeInteractive struct {
	Config   map[string]interface{} `json:"config"`
	Elements interface{}            `json:"elements"`
	Header   interface{}            `json:"header"`
}

MsgTypeInteractive 消息卡片

type MsgTypePost

type MsgTypePost struct {
	Post map[string]PostData `json:"post"`
}

MsgTypePost 富文本消息

type MsgTypeShareChat

type MsgTypeShareChat struct {
	ShareChatID string `json:"share_chat_id"`
}

MsgTypeShareChat 分享群名片消息

type MsgTypeText

type MsgTypeText struct {
	Text string `json:"text"`
}

MsgTypeText 文本消息

type Post

type Post map[string]PostData

Post 富文本

type PostData

type PostData struct {
	Title   string                     `json:"title"`
	Content [][]map[string]interface{} `json:"content"`
}

PostData 富文本数据

Jump to

Keyboard shortcuts

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