telegramBot::forceReply PHP Method

forceReply() public static method

Display a reply interface to the user (act as if the user has selected the bots message and tapped 'Reply').
public static forceReply ( boolean $selective = false ) : string
$selective boolean
return string
    public static function forceReply($selective = false)
    {
        $force_reply = true;
        return json_encode(compact('force_reply', 'selective'));
    }