Longman\TelegramBot\Conversation::start PHP Method

start() protected method

Start a new conversation if the current command doesn't have one yet
protected start ( ) : boolean
return boolean
    protected function start()
    {
        if (!$this->exists() && $this->command) {
            if (ConversationDB::insertConversation($this->user_id, $this->chat_id, $this->command)) {
                return $this->load();
            }
        }
        return false;
    }