// 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, 2023 #pragma once #include "entities.h" #include "history/history_item.h" #include "history/history.h" namespace AyuDatabase { void addEditedMessage( long userId, long dialogId, long messageId, const QString &text, bool isDocument, QString path, long date); std::vector getEditedMessages( long userId, long dialogId, long messageId ); std::vector getEditedMessages(HistoryItem *item); bool editedMessagesTableExists(); }