/* 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 class History; namespace Main { class Session; } // namespace Main namespace Data { struct MessagesSlice; struct MessagePosition; [[nodiscard]] rpl::producer PollMessagesViewer( not_null session, not_null history, MsgId topicRootId, PeerId monoforumPeerId, MessagePosition aroundId, int limitBefore, int limitAfter); } // namespace Data