EventGuild

data class EventGuild(val id: String, val name: String, val icon: String, val ownerId: String, val isOwner: Boolean, val memberCount: Int, val maxMembers: Int, val description: String, val joinedAt: String, val opUserId: String) : Guild(source)

频道事件

Guild 在作为事件推送时的实现,与 SimpleGuild 相比多了 op_user_id 字段。

Constructors

Link copied to clipboard
constructor(id: String, name: String, icon: String, ownerId: String, isOwner: Boolean, memberCount: Int, maxMembers: Int, description: String, joinedAt: String, opUserId: String)

Properties

Link copied to clipboard
open override val description: String

描述

Link copied to clipboard
open override val icon: String

频道头像地址

Link copied to clipboard
open override val id: String

频道ID

Link copied to clipboard
@SerialName(value = "owner")
open override val isOwner: Boolean

当前人是否是创建人

Link copied to clipboard
@SerialName(value = "joined_at")
open override val joinedAt: String

加入时间

Link copied to clipboard
@SerialName(value = "max_members")
open override val maxMembers: Int

最大成员数

Link copied to clipboard
@SerialName(value = "member_count")
open override val memberCount: Int

成员数

Link copied to clipboard
open override val name: String

频道名称

Link copied to clipboard
@SerialName(value = "op_user_id")
val opUserId: String

操作人

Link copied to clipboard
@SerialName(value = "owner_id")
open override val ownerId: String

创建人用户ID