DirectMessageSession

class DirectMessageSession @ApiModelConstructor constructor(val guildId: String, val channelId: String, val createTime: String)(source)

私信会话对象(DMS)

Author

ForteScarlet

Constructors

Link copied to clipboard
constructor(guildId: String, channelId: String, createTime: String)

Properties

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

私信会话关联的子频道 ID。

Link copied to clipboard
@SerialName(value = "create_time")
val createTime: String

创建私信会话时间戳。

Link copied to clipboard
@SerialName(value = "guild_id")
val guildId: 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(): String
Link copied to clipboard
fun copy(guildId: String = this.guildId, channelId: String = this.channelId, createTime: String = this.createTime): DirectMessageSession
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