Embed

data class Embed(val title: String, val prompt: String, val thumbnail: Message.Embed.Thumbnail? = null, val fields: List<Message.Embed.Field> = emptyList())(source)

embed 消息

See also

Constructors

Link copied to clipboard
constructor(title: String, prompt: String, thumbnail: Message.Embed.Thumbnail? = null, fields: List<Message.Embed.Field> = emptyList())

Types

Link copied to clipboard
data class Field(val name: String, value: String? = null)
Link copied to clipboard

Properties

Link copied to clipboard

字段信息

Link copied to clipboard

消息弹窗内容

Link copied to clipboard

缩略图,选填

Link copied to clipboard

标题