requestPermission

@POST(value = "/video/call/{type}/{id}/request_permission")
abstract suspend fun requestPermission(@Path(value = "type") type: String, @Path(value = "id") id: String, @Body requestPermissionRequest: RequestPermissionRequest): RequestPermissionResponse

Request permission Request permission to perform an action Sends events: - call.permission_request Responses:

  • 201: Successful response

  • 400: Bad request

  • 429: Too many requests

Return

RequestPermissionResponse

Parameters

type
id
requestPermissionRequest