JTwitterDirectmessages::sendDirectMessages
Method to send a new direct message to the specified user from the authenticating user.
Signature
public function sendDirectMessages(mixed
$user,
string
$text )
Parameters
-
$user
- Either an integer containing the user ID or a string containing the screen name.
-
$text
- The text of your direct message. Be sure to keep the message under 140 characters.
Returns
- array
- The decoded JSON response