Instagram\API\Request\CommentMediaRequest::__construct PHP Method

__construct() public method

public __construct ( $instagram, $mediaId, $comment )
$instagram Instagram
$mediaId string Media Id
$comment string Comment
    public function __construct($instagram, $mediaId, $comment)
    {
        parent::__construct($instagram);
        $this->mediaId = $mediaId;
        //TODO: Add Parameters to Signed Body 'user_breadcrumb' and 'idempotence_token'
        $this->setSignedBody(array("comment_text" => $comment, "_csrftoken" => $instagram->getCSRFToken(), "_uid" => $instagram->getLoggedInUser()->getPk(), "_uuid" => $instagram->getUUID()));
    }