src/Stubs/Conversation.stub
<?php
namespace App\Telegram\{{ namespace }};
use SergiX44\Nutgram\Conversations\Conversation;
use SergiX44\Nutgram\Nutgram;
class {{ name }} extends Conversation
{
public function start(Nutgram $bot)
{
$bot->sendMessage('This is the first step!');
$this->next('secondStep');
}
public function secondStep(Nutgram $bot)
{
$bot->sendMessage('Bye!');
$this->end();
}
}