ModifyChannelMemberPermissionsApi
class ModifyChannelMemberPermissionsApi(channelId: ID, memberId: ID, add: Permissions? = null, remove: Permissions? = null) : TencentApi<TencentChannelPermissionsInfo>
Author
ForteScarlet
Constructors
Link copied to clipboard
Link copied to clipboard
fun ModifyChannelMemberPermissionsApi(channelId: ID, memberId: ID, add: Permissions? = null, remove: Permissions? = null)
Functions
Link copied to clipboard
open suspend fun doRequest(client: HttpClient, server: Url, token: String, decoder: StringFormat = Json): TencentChannelPermissionsInfo
使用此api发起一次请求,并得到预期中的结果。如果返回了代表错误的响应值
Link copied to clipboard
Do something after resp.
Link copied to clipboard
此请求对应的api路由路径以及路径参数。 例如:/guild/list