InviteCreateRequest
class InviteCreateRequest @JvmOverloads constructor(guildId: ID? = null, channelId: ID? = null, duration: Int = DURATION_ONE_WEEK, settingTimes: Int = SETTING_TIMES_UNLIMITED) : KookPostRequest<InviteCreated>
/api/v3/invite/create
method POST
Constructors
Link copied to clipboard
fun InviteCreateRequest(guildId: ID? = null, channelId: ID? = null, duration: Int = DURATION_ONE_WEEK, settingTimes: Int = SETTING_TIMES_UNLIMITED)
Types
Functions
Link copied to clipboard
@Api4J
通过 client 执行网络请求并尝试得到结果。
Link copied to clipboard
open suspend fun requestData(client: HttpClient, authorization: String, decoder: Json = DEFAULT_JSON): InviteCreated
通过 client 执行网络请求并尝试得到结果。
Link copied to clipboard
@Api4J
通过 client 执行网络请求并尝试得到结果。