TijsVerkoyen\Twitter\Twitter::directMessagesShow PHP Method

directMessagesShow() public method

public directMessagesShow ( string $id ) : array
$id string The ID of the direct message.
return array
    public function directMessagesShow($id)
    {
        // build parameters
        $parameters['id'] = (string) $id;
        // make the call
        return $this->doCall('direct_messages/show.json', $parameters, true);
    }

Usage Example

Beispiel #1
0
 /**
  * Tests Twitter->directMessagesShow()
  */
 public function testDirectMessagesShow()
 {
     $response = $this->twitter->directMessagesShow('264022285470547969');
     $this->isDirectMessage($response);
 }
All Usage Examples Of TijsVerkoyen\Twitter\Twitter::directMessagesShow
Twitter