Optional
direction
The order for which messages are returned in. Valid values are 'backwards'
which orders messages from most recent to oldest, or 'forwards'
which orders messages from oldest to most recent. The default is 'backwards'
.
'backwards'
Optional
end
The time until messages are retrieved, specified as milliseconds since the Unix epoch.
The current time.
Optional
limit
An upper limit on the number of messages returned. The default is 100, and the maximum is 1000.
100
Optional
start
The time from which messages are retrieved, specified as milliseconds since the Unix epoch.
Optional
untilWhen true
, ensures message history is up until the point of the channel being attached. See continuous history for more info. Requires the direction
to be backwards
. If the channel is not attached, or if direction
is set to forwards
, this option results in an error.
Generated using TypeDoc
The
RealtimeHistoryParams
interface describes the parameters accepted by the following methods: