Inherits from BaseRequest : NSObject
Declared in KickUserRequest.h
KickUserRequest.m

Overview

Kicks a User out of the server (for moderators and admins only)

Allows to send a custom message and to set a delay in seconds.

Class Methods

requestWithUserId:message:delaySeconds:

the id of the User to be kicked out of the server

+ (id)requestWithUserId:(NSInteger)userId message:(NSString *)message delaySeconds:(NSInteger)delaySeconds

Parameters

userId

the id of the User to be kicked out of the server

message

a custom kick message, if nil, the message configured on the server side will be used

delaySeconds

a delay in seconds between the message (immediate) and the kick (delayed). Default is 5 seconds

See Also

Declared In

KickUserRequest.h