telegramBot::forceReply PHP Méthode

forceReply() public static méthode

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
Résultat string
    public static function forceReply($selective = false)
    {
        $force_reply = true;
        return json_encode(compact('force_reply', 'selective'));
    }