Suggestions

close search

ChatRequest

public class ChatRequest



Represents a ChatRequest.



Summary


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.


Public constructors


ChatRequest

ChatRequest()

Construct a new ChatRequest.



Public methods


getConvId

String getConvId()

Return conversation id.



getUserId

String getUserId()

Return user id.



getName

String getName()

Return chat request name.



getCustomerId

String getCustomerId()

Return customer id.



getChannelType

ChatRequest.ChannelType getChannelType()

Return channel type of chat request.



getRequestType()

ChatRequest.RequestType getRequestType()

Return request type of chat request.



accept

void accept(StringeeClient client, CallbackListener<Conversation> listener)

Accept chat request.

Parameters
client

The StringeeClient instance.

listener

The CallbackListener instance.



reject

void reject(StringeeClient client, StatusListener listener)

Reject chat request.

Parameters
client

The StringeeClient instance.

listener

The StatusListener instance.