// 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 item); std::vector getEditedMessages(not_null item, ID minId, ID maxId, int totalLimit); bool hasRevisions(not_null item); void addDeletedMessage(not_null item); std::vector getDeletedMessages(not_null peer, ID topicId, ID minId, ID maxId, int totalLimit); bool hasDeletedMessages(not_null peer, ID topicId); }