Package-level declarations

Types

Link copied to clipboard
class ChannelCreateRequest @JvmOverloads constructor(guildId: ID, name: String, type: Int = 1, parentId: ID? = null, limitAmount: Int = 99, voiceQuality: Int = 2) : KookPostRequest<Channel>
Link copied to clipboard
Link copied to clipboard
interface ChannelInfo : Channel

Api ChannelListRequest 的响应体。 会在使用 ChannelListRequest.requestData 的时候对 guildId 进行初始化。

Link copied to clipboard
class ChannelListRequest(guildId: ID, page: Int? = null, pageSize: Int? = null, type: Int? = null) : KookGetRequest<KookApiResult.ListData<ChannelInfo>>
Link copied to clipboard
data class ChannelView @ApiResultType constructor(val id: CharSequenceID, val guildId: CharSequenceID, val userId: CharSequenceID, val parentId: CharSequenceID, val name: String, val topic: String, val type: Int, val level: Int, val slowMode: Int, val maximumMember: Int, val isCategory: Boolean, val serverUrl: String, val permissionOverwrites: List<ChannelPermissionOverwrites> = emptyList(), val permissionUsers: List<CharSequenceID> = emptyList(), val permissionSync: Int = 0) : Channel
Link copied to clipboard