getChatHistory

open override fun getChatHistory(beforeAt: String?, limit: Int?, afterAt: String?, fromOldest: Boolean?, types: Array<String>?)

Retrieves the chat history.

Parameters

beforeAt

The timestamp to retrieve messages before.

limit

The maximum number of messages to retrieve.

afterAt

The timestamp to retrieve messages after.

fromOldest

Whether to retrieve messages from the oldest.

types

The types of messages to retrieve.