SimpleGuild

data class SimpleGuild(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) : Guild(source)

Guild 的基础实现。

Constructors

Link copied to clipboard
constructor(id: String, name: String, icon: String, ownerId: String, isOwner: Boolean, memberCount: Int, maxMembers: Int, description: String, joinedAt: 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 = "owner_id")
open override val ownerId: String

创建人用户ID