Class ListChatMessagesOptions
java.lang.Object
com.azure.communication.chat.models.ListChatMessagesOptions
Additional parameters for chat messages operation.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGets the maximum page size.Gets the start time for the range to query.setMaxPageSize
(Integer maxPageSize) Set the maximum page size.setStartTime
(OffsetDateTime startTime) Sets the start time for the range to query.
-
Constructor Details
-
ListChatMessagesOptions
public ListChatMessagesOptions()
-
-
Method Details
-
getMaxPageSize
Gets the maximum page size. It represents the number of messages being requested.- Returns:
- The maximum page size.
-
setMaxPageSize
Set the maximum page size. It represents the number of messages being requested.- Parameters:
maxPageSize
- The maximum page size.- Returns:
- The
ListChatMessagesOptions
object itself.
-
getStartTime
Gets the start time for the range to query.- Returns:
- The start time.
-
setStartTime
Sets the start time for the range to query.- Parameters:
startTime
- The start time.- Returns:
- The
ListChatMessagesOptions
object itself.
-