getThreadedMessagesByTimestamp

fun BaseMessage.getThreadedMessagesByTimestamp(ts: Long, params: ThreadMessageListParams, handler: ResultHandler<ThreadedMessagesResult>?)

Retrieves the threaded replies of the current message depending on the timestamp. If the current message doesn’t have replies, the result is an empty list. The result is passed to handler as list.

Since

4.15.0

Parameters

ts

The timestamp to get threaded messages

params

The params for getting threaded messages

handler

The handler for getting threaded messages

See also


suspend fun BaseMessage.getThreadedMessagesByTimestamp(ts: Long, params: ThreadMessageListParams): ThreadedMessagesResult

Deprecated

As of 4.17.0, replaced with awaitGetThreadedMessagesByTimestamp(ts, params).

Replace with

awaitGetThreadedMessagesByTimestamp(ts, params)

Retrieves the threaded replies of the current message depending on the timestamp. If the current message doesn’t have replies, the result is an empty list. The result is passed to handler as list.

Since

4.15.0

Parameters

ts

The timestamp to get threaded messages

params

The params for getting threaded messages

See also