public class ChatRequest
Represents a ChatRequest.
Nested classes | |
---|---|
public enum ChatRequest.ChannelType
|
Channel type of chat request. |
public enum ChatRequest.RequestType
|
Request type of chat request. |
Public Constructors | |
---|---|
ChatRequest()
Construct a new ChatRequest |
Public methods | |
---|---|
String |
getConvId()
Return conversation id. |
String |
getUserId()
Return user id. |
String |
getName()
Return chat request name. |
String |
getCustomerId()
Return customer id. |
ChatRequest.ChannelType |
getChannelType()
Return channel type of chat request. |
ChatRequest.RequestType |
getRequestType()
Return request type of chat request. |
void |
accept(StringeeClient client, CallbackListener<Conversation> listener)
Accept chat request. |
void |
reject(StringeeClient client, StatusListener listener)
Reject chat request. |
ChatRequest()
Construct a new ChatRequest.
String getConvId()
Return conversation id.
String getUserId()
Return user id.
String getName()
Return chat request name.
String getCustomerId()
Return customer id.
ChatRequest.ChannelType getChannelType()
Return channel type of chat request.
ChatRequest.RequestType getRequestType()
Return request type of chat request.
void accept(StringeeClient client, CallbackListener<Conversation> listener)
Accept chat request.
Parameters | |
---|---|
client |
The StringeeClient instance. |
listener |
The CallbackListener instance. |
void reject(StringeeClient client, StatusListener listener)
Reject chat request.
Parameters | |
---|---|
client |
The StringeeClient instance. |
listener |
The StatusListener instance. |