src/Structure/Fb/Sending.php
/**
     * Sends flow to the subscriber by its ID
     *
     * @param integer $subscriber_id Subscriber ID
     * @param string $flow_ns Flow namespace
     *
     * @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_sendFlow Documentation
     * of /fb/sending/sendFlow method at manychat.com.
     *
     */
Sends flow to the subscriber by its ID
@param integer $subscriber_id Subscriber ID
@param string $flow_ns Flow namespace


Sends flow to the subscriber by its ID @param integer $subscriber_id Subscriber ID @param string $flow_ns Flow namespace
public function sendFlow(int $subscriber_id, string $flow_ns): array
    {
        $arguments = [
            'subscriber_id' => $subscriber_id,
            'flow_ns' => $flow_ns,
        ];
        $methodName = $this->getMethodAddress(__FUNCTION__);
        return $this->getApi()->callMethod($methodName, $arguments, Request::POST);
    }
public function sendFlow ( int $ subscriber_id , string $ flow_ns ) : array { $ arguments = [ 'subscriber_id' => $ subscriber_id , 'flow_ns' => $ flow_ns , ] ; $ methodName = $ this -> getMethodAddress ( __FUNCTION__ ) ; return $ this -> getApi ( ) -> callMethod ( $ methodName , $ arguments , Request :: POST ) ; }
Sends flow to the subscriber by its ID
 @param integer $subscriber_id Subscriber ID
 @param string $flow_ns Flow namespace
Sends flow to the subscriber by its ID @param integer $subscriber_id Subscriber ID @param string $flow_ns Flow namespace