ParamSpec::at(1), 'title' => ParamSpec::at(1)]; } /** * @return array */ public function props(Call $call, RenderContext $ctx): array { return [ 'id' => (string) $call->param('id'), 'title' => (string) $call->param('title'), 'channel' => $call->scope->firstChannel(), ]; } public function plain(Call $call, RenderContext $ctx, Format $format): string { return $format === Format::Prompt ? '' : (string) $call->param('title'); } public function html(Call $call, RenderContext $ctx): string { return ''; } }