src/Structure/Fb/Sending.php
/**
     * Sends content to the subscriber by user_ref
     *
     * @param integer $user_ref User ref
     * @param array $data Content in the public content format (https://manychat.github.io/dynamic_block_docs/)
     *
     * @return array The resulting array that was received from ManyChat API
     * @throws CallMethodNotSucceedException If the result of calling method didn't succeed
     * @see https://api.manychat.com/swagger#/Sending/post_fb_sending_sendContentByUserRef Documentation
     * of /fb/sending/sendContentByUserRef method at manychat.com.
     *
     */
Sends content to the subscriber by user_ref
@param integer $user_ref User ref
@param array $data Content in the public content format


Sends content to the subscriber by user_ref @param integer $user_ref User ref @param array $data Content in the public content format
public function sendContentByUserRef(int $user_ref, array $data): array
    {
        $arguments = [
            'user_ref' => $user_ref,
            'data' => $data,
        ];
        $methodName = $this->getMethodAddress(__FUNCTION__);
        return $this->getApi()->callMethod($methodName, $arguments, Request::POST);
    }
public function sendContentByUserRef ( int $ user_ref , array $ data ) : array { $ arguments = [ 'user_ref' => $ user_ref , 'data' => $ data , ] ; $ methodName = $ this -> getMethodAddress ( __FUNCTION__ ) ; return $ this -> getApi ( ) -> callMethod ( $ methodName , $ arguments , Request :: POST ) ; }
Sends content to the subscriber by user_ref
 @param integer $user_ref User ref
 @param array $data Content in the public content format (https://manychat.github.io/dynamic_block_docs/)
Sends content to the subscriber by user_ref @param integer $user_ref User ref @param array $data Content in the public content format ( https : // manychat . github . io / dynamic_block_docs / )