copy

fun copy(name: String = this.name, type: ChannelType = this.type, subType: ChannelSubType = this.subType, position: Int = this.position, parentId: String = this.parentId, privateType: PrivateType = this.privateType, privateUserIds: List<String> = this.privateUserIds, speakPermission: SpeakPermission = this.speakPermission, applicationId: String? = this.applicationId): CreateChannelApi.Body(source)

Deprecated

此类型不再作为 data class 进行公开,请尽量避免使用 data class 默认生成的相关语法/特性。