AyuGramDesktop/Telegram/SourceFiles/ayu/database/ayu_database.h
ZavaruKitsu 0a10adfdfd fix: allow up to 100 recent stickers
fix: insert copyright
2023-07-01 13:55:32 +03:00

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