public function getDirectMessagesById($id)
	{
		// Check the rate limit for remaining hits
		$this->checkRateLimit('direct_messages', 'show');

		// Set the API path
		$path = '/direct_messages/show.json';

		$data['id'] = $id;

		// Send the request.
		return $this->sendRequest($path, 'GET', $data);
	}
public function getDirectMessagesById($id)
	{
		// Check the rate limit for remaining hits
		$this->checkRateLimit('direct_messages', 'show');

		// Set the API path
		$path = '/direct_messages/show.json';

		$data['id'] = $id;

		// Send the request.
		return $this->sendRequest($path, 'GET', $data);
	}
public function getDirectMessagesById ( $ id ) { // Check the rate limit for remaining hits $ this -> checkRateLimit ( 'direct_messages' , 'show' ) ; // Set the API path $ path = '/direct_messages/show.json' ; $ data [ 'id' ] = $ id ; // Send the request. return $ this -> sendRequest ( $ path , 'GET' , $ data ) ; }
Method to get a single direct message, specified by an id parameter.

@param   integer  $id  The ID of the direct message.

@return  array  The decoded JSON response

@since   1.0
Method to get a single direct message specified by an id parameter .