% my $ogimage = stash 'ogimage'; % my $user_agent = stash 'useragent'; % if (defined $ogimage && $user_agent !~ /TelegramBot/) { % } else { % }