In Progress
use Reworklabs\FacebookSetting\SettingFactory;
use Reworklabs\FacebookSetting\Lib\ThreadSetting;
use Reworklabs\FacebookSetting\Lib\MenuItem;
$setting = SettingFactory::create($config);
Greeting text
$setting->addSetting(ThreadSetting::create()->setting_type('greeting')->state('Hi Dude'));
Get started button button
$setting->addSetting(ThreadSetting::create()->state('new_thread')->addPayload('USER_DEFINED_PAYLOAD'));
Presistent menu
$setting->addSetting(ThreadSetting::create()
->addItem(MenuItem::create('Tell me more')->type('postback')->payload('tellmemore'))
->addItem(MenuItem::create('Show me the docs')->url('http://botman.io/')));
FacebookSetting for Botman is free software distributed under the terms of the MIT license.