Package-level declarations

Types

Link copied to clipboard
object Alignments

段落对齐方式常量

Link copied to clipboard
data class AtGuildInfo @ApiModelConstructor constructor(val guildId: String, val guildName: String)

@频道信息

Link copied to clipboard
data class AtInfo @ApiModelConstructor constructor(val type: Int, val userInfo: String, val roleInfo: String, val guildInfo: String)

富文本 - @内容

Link copied to clipboard
data class AtRoleInfo @ApiModelConstructor constructor(val roleId: String, val name: String, val color: Int)

@身份组信息

Link copied to clipboard
object AtTypes

@类型的常量

Link copied to clipboard
data class AtUserInfo @ApiModelConstructor constructor(val id: String, val nick: String)

@用户信息

Link copied to clipboard
data class AuditResult @ApiModelConstructor constructor(val guildId: String, val channelId: String, val authorId: String, val threadId: String, val postId: String, val replyId: String, val type: Int, val result: Int, val errMsg: String) : ForumSourceInfo

论坛帖子审核结果事件

Link copied to clipboard
object AuditTypes

部分审核类型的常量。

Link copied to clipboard
data class ChannelInfo @ApiModelConstructor constructor(val channelId: String, val channelName: String)

富文本 - 子频道信息

Link copied to clipboard
data class Elem @ApiModelConstructor constructor(val text: TextElem, val image: ImageElem, val video: VideoElem, val url: URLElem, val type: Int)

富文本 - 元素列表结构

Link copied to clipboard
object ElemTypes

富文本元素类型

Link copied to clipboard
data class EmojiInfo @ApiModelConstructor constructor(val id: String, val type: String, val name: String, val url: String)

富文本 - Emoji信息

Link copied to clipboard
interface ForumSourceInfo

Forum 有关的基础源信息接口。

Link copied to clipboard
data class ImageElem @ApiModelConstructor constructor(val thirdUrl: String, val widthPercent: Double)

富文本 - 图片属性

Link copied to clipboard
data class Paragraph @ApiModelConstructor constructor(val elems: Elem, val props: ParagraphProps)

富文本 - 段落结构

Link copied to clipboard
data class ParagraphProps @ApiModelConstructor constructor(val alignment: Int)

富文本 - 段落属性

Link copied to clipboard
data class PlatImage @ApiModelConstructor constructor(val url: String, val width: Int, val height: Int, val imageId: String)

富文本 - 平台图片属性

Link copied to clipboard
data class PlatVideo @ApiModelConstructor constructor(val url: String, val width: Int, val height: Int, val videoId: String, val duration: Int, val cover: PlatImage)

富文本 - 平台视频属性

Link copied to clipboard
data class Post @ApiModelConstructor constructor(val guildId: String, val channelId: String, val authorId: String, val postInfo: PostInfo) : ForumSourceInfo

话题频道内对主题的评论称为帖子

Link copied to clipboard
data class PostInfo @ApiModelConstructor constructor(val threadId: String, val postId: String, val content: String, val dateTime: String)

帖子事件包含的帖子内容信息

Link copied to clipboard
data class Reply @ApiModelConstructor constructor(val guildId: String, val channelId: String, val authorId: String, val replyInfo: ReplyInfo) : ForumSourceInfo

话题频道对帖子回复或删除时生产该事件中包含该对象

Link copied to clipboard
data class ReplyInfo @ApiModelConstructor constructor(val threadId: String, val postId: String, val replyId: String, val content: String, val dateTime: String)

回复事件包含的回复内容信息

Link copied to clipboard
data class RichObject @ApiModelConstructor constructor(val type: Int, val textInfo: TextInfo, val atInfo: String, val urlInfo: String, val emojiInfo: String, val channelInfo: String)

富文本内容

Link copied to clipboard
data class RichText @ApiModelConstructor constructor(val paragraphs: List<Paragraph>)

富文本内容

Link copied to clipboard
object RichTypes

富文本类型的部分常量

Link copied to clipboard
data class TextElem @ApiModelConstructor constructor(val text: String, val props: TextProps)

富文本 - 文本属性

Link copied to clipboard
data class TextInfo @ApiModelConstructor constructor(val text: String)

富文本 - 普通文本

Link copied to clipboard
data class TextProps @ApiModelConstructor constructor(val fontBold: Boolean, val italic: Boolean, val underline: Boolean)

富文本 - 文本段落属性

Link copied to clipboard
data class Thread @ApiModelConstructor constructor(val guildId: String, val channelId: String, val authorId: String, val threadInfo: ThreadInfo) : ForumSourceInfo

话题频道内发表的主帖称为主题

Link copied to clipboard
data class ThreadInfo @ApiModelConstructor constructor(val threadId: String, val title: String, val content: String, val dateTime: String)

帖子事件包含的主帖内容相关信息

Link copied to clipboard
data class URLElem @ApiModelConstructor constructor(val url: String, val desc: String)

富文本 - URL属性

Link copied to clipboard
data class URLInfo @ApiModelConstructor constructor(val url: String, val displayText: String)

富文本 - 链接信息

Link copied to clipboard
data class VideoElem @ApiModelConstructor constructor(val thirdUrl: String)

富文本 - 视频属性