mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2026-07-25 06:54:43 +00:00
24 lines
794 B
C++
24 lines
794 B
C++
// This is the source code of AyuGram for Desktop.
|
|
//
|
|
// We do not and cannot prevent the use of our code,
|
|
// but be respectful and credit the original author.
|
|
//
|
|
// Copyright @Radolyn, 2026
|
|
#pragma once
|
|
|
|
#include "entities.h"
|
|
|
|
#include "history/history_item_edition.h"
|
|
|
|
namespace AyuMessages {
|
|
|
|
void addEditedMessage(not_null<HistoryItem *> item);
|
|
std::vector<AyuMessageBase> getEditedMessages(not_null<HistoryItem*> item, ID minId, ID maxId, int totalLimit);
|
|
bool hasRevisions(not_null<HistoryItem*> item);
|
|
|
|
void addDeletedMessage(not_null<HistoryItem*> item);
|
|
std::vector<AyuMessageBase> getDeletedMessages(not_null<PeerData*> peer, ID topicId, ID minId, ID maxId, int totalLimit, const QString &searchQuery = QString());
|
|
bool hasDeletedMessages(not_null<PeerData*> peer, ID topicId);
|
|
|
|
}
|