AyuGramDesktop/Telegram/SourceFiles/ayu/database/ayu_database.h
ZavaruKitsu eaba9781a5 upload: import Ayu initial
Co-authored-by: SharapaGorg <sharapov.savely@yandex.ru>
2023-06-03 19:01:58 +03:00

26 lines
591 B
C++

#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<EditedMessage> getEditedMessages(
long userId,
long dialogId,
long messageId
);
std::vector<EditedMessage> getEditedMessages(HistoryItem *item);
bool editedMessagesTableExists();
}