list
fun DirectMessageEvents.list( count: Int? = null, cursor: String? = null, vararg options: Option): JsonObjectApiAction<DirectMessageEvent.List>
Content copied to clipboard
Returns all Direct Message events (both sent and received) within the last 30 days. Sorted in reverse-chronological order.
Receiver
DirectMessageEvents endpoint instance.
Return
JsonObjectApiAction for DirectMessageEvent.List model.
Parameters
count
Max number of events to be returned. 20 default. 50 max.
cursor
For paging through result sets greater than 1 page, use the “next_cursor” property from the previous request.
options
Optional. Custom parameters of this request.
val DirectMessageEvents.list: JsonObjectApiAction<DirectMessageEvent.List>
Content copied to clipboard
Shorthand property to DirectMessageEvents.list.