getMessages

abstract fun getMessages(beforeAt: String? = null, limit: Int? = null, afterAt: String? = null, fromOldest: Boolean? = null, types: Array<String>? = null)

Retrieves messages from the chat room.

Parameters

beforeAt

Timestamp to retrieve messages before.

limit

Maximum number of messages to retrieve.

afterAt

Timestamp to retrieve messages after.

fromOldest

Indicates whether to retrieve messages from the oldest.

types

The types of messages to retrieve.