1 /* 2 This file is part of Telegram Desktop, 3 the official desktop application for the Telegram messaging service. 4 5 For license and copyright information please follow this link: 6 https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL 7 */ 8 #pragma once 9 10 #include "ui/text/text_options.h" 11 12 class History; 13 class PeerData; 14 class HistoryItem; 15 16 namespace Ui { 17 18 const TextParseOptions &ItemTextOptions( 19 not_null<History*> history, 20 not_null<PeerData*> author); 21 const TextParseOptions &ItemTextNoMonoOptions( 22 not_null<History*> history, 23 not_null<PeerData*> author); 24 const TextParseOptions &ItemTextOptions(not_null<const HistoryItem*> item); 25 const TextParseOptions &ItemTextNoMonoOptions(not_null<const HistoryItem*> item); 26 27 } // namespace Ui 28