ListConversationsOptions

data class ListConversationsOptions(var kind: ConversationKind? = null, var consentStates: List<ConsentState>? = null, var createdAfter: Timestamp? = null, var createdBefore: Timestamp? = null, var lastActivityAfter: Timestamp? = null, var lastActivityBefore: Timestamp? = null, var limit: UInt? = null, var orderBy: ConversationOrder? = null, var includeDuplicateDms: Boolean = false, var beforeId: ConversationId? = null)

One page of a conversation listing. To read the next page, pass the last conversation's created_at as created_before in creation order, or its last_activity_at() as last_activity_before in activity order, and its id as before_id.

Constructors

Link copied to clipboard
constructor(kind: ConversationKind? = null, consentStates: List<ConsentState>? = null, createdAfter: Timestamp? = null, createdBefore: Timestamp? = null, lastActivityAfter: Timestamp? = null, lastActivityBefore: Timestamp? = null, limit: UInt? = null, orderBy: ConversationOrder? = null, includeDuplicateDms: Boolean = false, beforeId: ConversationId? = null)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

Resume after this conversation: a conversation at exactly the before time of the list order is returned only when its id is lower. Needs created_before in creation order or last_activity_before in activity order.

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
var limit: UInt?

At most this many conversations, from 1 to 1000; 100 when absent.

Link copied to clipboard