QGReference

@SerialName(value = "qg.reference")
class QGReference : QGMessageElement, MessageReference(source)

QQ频道的消息引用。与 Message.Reference 对应。

QGReference 在消息链中被解析时,如果存在,会覆盖当前所有已经被解析存在的消息体的 messageReference, 但是无法影响到尚未被构建的未知 builder。

更多相关说明参考 MessageParsers.parse

Author

ForteScarlet

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
val channelId: ID?
Link copied to clipboard
open override val id: ID
Link copied to clipboard
Link copied to clipboard
val messageId: ID
Link copied to clipboard

得到当前 QGReference 对应的原始类型 Message.Reference

Functions

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