list

fun DirectMessageEvents.list(    count: Int? = null,     cursor: String? = null,     vararg options: Option): JsonObjectApiAction<DirectMessageEvent.List>

Returns all Direct Message events (both sent and received) within the last 30 days. Sorted in reverse-chronological order.

Twitter API reference

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.


Shorthand property to DirectMessageEvents.list.

See also