mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-08-31 14:38:15 +00:00
Update API scheme on layer 148: Notifications.
Support editing / respect notification settings for topics.
This commit is contained in:
@@ -43,14 +43,15 @@ public:
|
||||
[[nodiscard]] rpl::producer<> chatsListLoadedEvents() const;
|
||||
|
||||
void requestTopic(MsgId rootId, Fn<void()> done = nullptr);
|
||||
void applyTopicAdded(
|
||||
ForumTopic *applyTopicAdded(
|
||||
MsgId rootId,
|
||||
const QString &title,
|
||||
int32 colorId,
|
||||
DocumentId iconId);
|
||||
void applyTopicCreated(MsgId rootId, MsgId realId);
|
||||
[[nodiscard]] ForumTopic *topicFor(not_null<const HistoryItem*> item);
|
||||
void applyTopicDeleted(MsgId rootId);
|
||||
[[nodiscard]] ForumTopic *topicFor(MsgId rootId);
|
||||
[[nodiscard]] ForumTopic *enforceTopicFor(MsgId rootId);
|
||||
|
||||
void applyReceivedTopics(const MTPmessages_ForumTopics &topics);
|
||||
|
||||
|
Reference in New Issue
Block a user