PinsMessage

class PinsMessage @ApiModelConstructor constructor(val guildId: String, val channelId: String, val messageIds: List<String> = emptyList())(source)

精华消息对象

Author

ForteScarlet

Constructors

Link copied to clipboard
constructor(guildId: String, channelId: String, messageIds: List<String> = emptyList())

Properties

Link copied to clipboard
@SerialName(value = "channel_id")
val channelId: String

子频道 id

Link copied to clipboard
@SerialName(value = "guild_id")
val guildId: String

频道 id

Link copied to clipboard
@SerialName(value = "message_ids")
val messageIds: List<String>

子频道内精华消息 id 数组

Functions

Link copied to clipboard
operator fun component1(): String
Link copied to clipboard
operator fun component2(): String
Link copied to clipboard
operator fun component3(): List<String>
Link copied to clipboard
fun copy(guildId: String = this.guildId, channelId: String = this.channelId, messageIds: List<String> = this.messageIds): PinsMessage
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