Package io.agora.rtm
Class GetHistoryMessagesOptions
java.lang.Object
io.agora.rtm.GetHistoryMessagesOptions
This class represents options for retrieving the message history of a channel. It provides
the ability to specify the number of messages to retrieve, and the start and end timestamps
of the messages to retrieve.
-
Constructor Summary
ConstructorsConstructorDescriptionConstructs a new instance ofGetHistoryMessagesOptionswith default parameters.GetHistoryMessagesOptions(int messageCount, long start, long end) Constructs a new instance ofGetHistoryMessagesOptionswith the specified options. -
Method Summary
-
Constructor Details
-
GetHistoryMessagesOptions
public GetHistoryMessagesOptions()Constructs a new instance ofGetHistoryMessagesOptionswith default parameters. -
GetHistoryMessagesOptions
public GetHistoryMessagesOptions(int messageCount, long start, long end) Constructs a new instance ofGetHistoryMessagesOptionswith the specified options.- Parameters:
messageCount- The number of messages to retrieve.start- The start timestamp of the messages to retrieve.end- The end timestamp of the messages to retrieve.
-
-
Method Details