mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-05-05 23:45:10 +02:00
23 lines
754 B
C++
23 lines
754 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, 2025
|
|
#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);
|
|
bool hasDeletedMessages(not_null<PeerData*> peer, ID topicId);
|
|
|
|
}
|