getMessageActions

expect abstract fun getMessageActions(channel: String, page: PNBoundedPage = PNBoundedPage()): GetMessageActions
actual abstract fun getMessageActions(channel: String, page: PNBoundedPage): GetMessageActions

Get a list of message actions in a channel. Returns a list of actions in the response.

Parameters

channel

Channel to fetch message actions from.

page

The paging object used for pagination. @see PNBoundedPage


abstract fun getMessageActions(channel: String, start: Long? = null, end: Long? = null, limit: Int? = null): GetMessageActions

Deprecated

Use getMessageActions(String, PNBoundedPage) instead

Replace with

import com.pubnub.api.models.consumer.PNBoundedPage
getMessageActions(channel = channel, page = PNBoundedPage(start = start, end = end, limit = limit))

Get a list of message actions in a channel. Returns a list of actions in the response.

Parameters

channel

Channel to fetch message actions from.

start

Message Action timetoken denoting the start of the range requested (return values will be less than start).

end

Message Action timetoken denoting the end of the range requested (return values will be greater than or equal to end).

limit

Specifies the number of message actions to return in response.

actual abstract fun getMessageActions(channel: String, page: PNBoundedPage): GetMessageActions