/* 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 namespace Data { class ChannelAdminChanges { public: ChannelAdminChanges(not_null channel); void add(UserId userId, const QString &rank); void remove(UserId userId); ~ChannelAdminChanges(); private: not_null _channel; base::flat_map &_admins; base::flat_set _changes; }; } // namespace Data