GuildCreate

@SerialName(value = "GUILD_CREATE")
data class GuildCreate(val id: String? = null, val s: Long = DEFAULT_SEQ, val data: EventGuild) : EventGuildDispatch(source)

GUILD_CREATE

发送时机

  • 机器人被加入到某个频道的时候

Constructors

Link copied to clipboard
constructor(id: String? = null, s: Long = DEFAULT_SEQ, data: EventGuild)

Properties

Link copied to clipboard
@SerialName(value = "d")
open override val data: EventGuild

事件中的频道服务器实例。

Link copied to clipboard
open override val id: String? = null
Link copied to clipboard
protected open override val s: Long

事件序列

Inherited properties

Link copied to clipboard
Link copied to clipboard
val seq: Long

事件序列