Optional
directionThe direction to query messages in.
If forwards
, the response will include messages from the start of the time window to the end.
If backwards
, the response will include messages from the end of the time window to the start.
If not provided, the default is forwards
.
Optional
endThe end of the time window to query from. If provided, the response will include messages with timestamps less than this value.
Optional
limitThe maximum number of messages to return in the response.
Optional
startThe start of the time window to query from. If provided, the response will include messages with timestamps equal to or greater than this value.
Options for querying messages in a chat room.