Longman\TelegramBot\Conversation::start PHP 메소드

start() 보호된 메소드

Start a new conversation if the current command doesn't have one yet
protected start ( ) : boolean
리턴 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;
    }