ChannelCreateRequest
class ChannelCreateRequest @JvmOverloads constructor(guildId: ID, name: String, type: Int = 1, parentId: ID? = null, limitAmount: Int = 99, voiceQuality: Int = 2) : KookPostRequest<Channel>
request method: POST
Author
ForteScarlet
Constructors
Link copied to clipboard
fun ChannelCreateRequest(guildId: ID, name: String, type: Int = 1, parentId: ID? = null, limitAmount: Int = 99, voiceQuality: Int = 2)
Types
Functions
Link copied to clipboard
@Api4J
通过 client 执行网络请求并尝试得到结果。
Link copied to clipboard
open suspend fun requestData(client: HttpClient, authorization: String, decoder: Json = DEFAULT_JSON): Channel
通过 client 执行网络请求并尝试得到结果。
Link copied to clipboard
@Api4J
通过 client 执行网络请求并尝试得到结果。