in src/FacebookAds/Object/LiveVideo.php [350:404]
public function updateSelf(array $fields = array(), array $params = array(), $pending = false) {
$this->assureId();
$param_types = array(
'allow_bm_crossposting' => 'bool',
'content_tags' => 'list<string>',
'cross_share_to_group_ids' => 'list<string>',
'crossposting_actions' => 'list<map>',
'custom_labels' => 'list<string>',
'description' => 'string',
'direct_share_status' => 'unsigned int',
'embeddable' => 'bool',
'end_live_video' => 'bool',
'is_audio_only' => 'bool',
'is_manual_mode' => 'bool',
'live_comment_moderation_setting' => 'list<live_comment_moderation_setting_enum>',
'master_ingest_stream_id' => 'string',
'og_icon_id' => 'string',
'og_phrase' => 'string',
'persistent_stream_key_status' => 'persistent_stream_key_status_enum',
'place' => 'Object',
'planned_start_time' => 'datetime',
'privacy' => 'string',
'published' => 'bool',
'schedule_custom_profile_image' => 'file',
'schedule_feed_background_image' => 'file',
'sponsor_id' => 'string',
'sponsor_relationship' => 'unsigned int',
'status' => 'status_enum',
'stream_type' => 'stream_type_enum',
'tags' => 'list<int>',
'targeting' => 'Object',
'title' => 'string',
);
$enums = array(
'live_comment_moderation_setting_enum' => LiveVideoLiveCommentModerationSettingValues::getInstance()->getValues(),
'persistent_stream_key_status_enum' => LiveVideoPersistentStreamKeyStatusValues::getInstance()->getValues(),
'status_enum' => LiveVideoStatusValues::getInstance()->getValues(),
'stream_type_enum' => LiveVideoStreamTypeValues::getInstance()->getValues(),
);
$request = new ApiRequest(
$this->api,
$this->data['id'],
RequestInterface::METHOD_POST,
'/',
new LiveVideo(),
'NODE',
LiveVideo::getFieldsEnum()->getValues(),
new TypeChecker($param_types, $enums)
);
$request->addParams($params);
$request->addFields($fields);
return $pending ? $request : $request->execute();
}