Embed

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
class Field(val name: String, val value: String? = null)
Link copied to clipboard

Properties

Link copied to clipboard

字段信息。

Link copied to clipboard

消息弹窗内容。

Link copied to clipboard
Link copied to clipboard

标题。

Functions

Link copied to clipboard
operator fun component1(): String
Link copied to clipboard
operator fun component2(): String
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
fun copy(title: String = this.title, prompt: String = this.prompt, thumbnail: Message.Embed.Thumbnail? = this.thumbnail, fields: List<Message.Embed.Field> = this.fields): Message.Embed
Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
open override fun hashCode(): Int
Link copied to clipboard
open override fun toString(): String