public class MessageRequest extends Object
ChatroomManager.getMessages(MessageRequest)
.
You could use MessageRequest.Builder
to create this object.Modifier and Type | Class and Description |
---|---|
static class |
MessageRequest.Builder
Builder of
MessageRequest . |
static interface |
MessageRequest.Order
Defines the order.
|
Modifier and Type | Field and Description |
---|---|
static String |
ASCENDING_ORDER
Indicates the ascending order.
|
static String |
DESCENDING_ORDER
Indicates the descending order.
|
Modifier and Type | Method and Description |
---|---|
Long |
getLatestDate()
Gets the latest date of messages request.
|
Long |
getOldestDate()
Gets oldest date of messages request.
|
String |
getOrder()
Gets the
Message creation time order of the messages request. |
int |
getPage()
Gets target page of messages request.
|
int |
getPerPage()
Gets message count per page of messages request.
|
public static final String ASCENDING_ORDER
public static final String DESCENDING_ORDER
public int getPerPage()
public int getPage()
public Long getOldestDate()
public Long getLatestDate()