기술 자료

Vivox Core SDK

Vivox Core SDK

vx_req_channel_ban_user

Reference for the vx_req_channel_ban_user struct in the Vivox Core SDK C API.
읽는 시간 2분최근 업데이트: 11일 전

#include <VxcRequests.h>

Public Attributes

Name

base
The common properties for all requests.
account_handle
The handle returned from a successful vx_req_account_anonymous_login request.
char *
char *
channel_uri
The URI of the channel.
char *
participant_uri
The URI of the participant to ban or unban.
int
set_banned
Set to 1 to ban the user.

Detailed Description

struct vx_req_channel_ban_user;
Note: This request is only valid if the account that makes the request has moderator privileges on the target channel.

Public Attributes Documentation

variable base

vx_req_base_t base;
The common properties for all requests.

variable account_handle

VX_HANDLE account_handle;
The handle returned from a successful vx_req_account_anonymous_login request.

variable channel_name

char * channel_name;
Deprecated:
This field is ignored. The name of the channel.

variable channel_uri

char * channel_uri;
The URI of the channel.

variable participant_uri

char * participant_uri;
The URI of the participant to ban or unban.

variable set_banned

int set_banned;
Set to 1 to ban the user.
Set to 0 to unban the user.