/* This file is part of Telegram Desktop, the official desktop application for the Telegram messaging service. For license and copyright information please follow this link: https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL */ #pragma once #include "ui/text/text_entity.h" namespace Lang { template struct StartReplacements; template <> struct StartReplacements { static inline TextWithEntities Call(QString &&langString) { return { std::move(langString), EntitiesInText() }; } }; template struct ReplaceTag; template <> struct ReplaceTag { static TextWithEntities Call(TextWithEntities &&original, ushort tag, const TextWithEntities &replacement); }; } // namespace Lang