JTwitterDirectmessages::getDirectMessages
Method to get the most recent direct messages sent to the authenticating user.
Signature
public function getDirectMessages([integer
$since_id = 0,
[integer
$max_id = 0,
[integer
$count = 20,
[boolean
$entities = null,
[boolean
$skip_status = null]]]]] )
Parameters
-
$since_id
- Returns results with an ID greater than (that is, more recent than) the specified ID.
-
$max_id
- Returns results with an ID less than (that is, older than) or equal to the specified ID.
-
$count
- Specifies the number of direct messages to try and retrieve, up to a maximum of 200.
-
$entities
- When set to true, each tweet will include a node called "entities,". This node offers a variety of metadata
-
$skip_status
- When set to either true, t or 1 statuses will not be included in the returned user objects.
Returns
- array
- The decoded JSON response