MessageTemplateListParams

data class MessageTemplateListParams @JvmOverloads constructor(val reverse: Boolean = false, val limit: Int = 20, val keys: List<String>? = null)

Parameters for retrieving message template list.

Since

4.16.0

Constructors

Link copied to clipboard
constructor(reverse: Boolean = false, limit: Int = 20, keys: List<String>? = null)

Properties

Link copied to clipboard
val keys: List<String>? = null

The key filter to retrieve only selected templates with given keys. Set to null if don't want to use template key filter.

Link copied to clipboard
val limit: Int = 20

The maximum number of items per queried page. Defaults to 20.

Link copied to clipboard
val reverse: Boolean = false

Whether the result is reversed or not. Defaults to false. If true, the latest message template will be placed at the first index. If false, the latest message template will be placed at the last index.