Elem

富文本元素列表结构。

参考forum文档

Author

ForteScarlet

Properties

Link copied to clipboard
@SerialName(value = "type")
val elemType: ElemType
Link copied to clipboard

图片元素。

Link copied to clipboard

文本元素。

Link copied to clipboard
val type: Int

元素类型。

Link copied to clipboard

URL 元素。

Link copied to clipboard

视频元素。

Functions

Link copied to clipboard
operator fun component1(): TextElem
Link copied to clipboard
operator fun component2(): ImageElem
Link copied to clipboard
operator fun component3(): VideoElem
Link copied to clipboard
operator fun component4(): URLElem
Link copied to clipboard
operator fun component5(): Int
Link copied to clipboard
fun copy(text: TextElem = this.text, image: ImageElem = this.image, video: VideoElem = this.video, url: URLElem = this.url, type: Int = this.elemType.value): Elem
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