mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2026-08-01 01:45:06 +00:00
27 lines
643 B
C++
27 lines
643 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, 2026
|
|
#pragma once
|
|
|
|
#include "history/history.h"
|
|
#include "history/history_item.h"
|
|
|
|
namespace Main {
|
|
class Session;
|
|
} // namespace Main
|
|
|
|
namespace AyuState {
|
|
|
|
void hide(PeerId peerId, MsgId messageId);
|
|
void hide(not_null<HistoryItem*> item);
|
|
bool isHidden(PeerId peerId, MsgId messageId);
|
|
bool isHidden(not_null<HistoryItem*> item);
|
|
|
|
void setDisableGhostModeOnStoryClose(Main::Session *session);
|
|
void disableGhostModeOnStoryClose(Main::Session *session);
|
|
|
|
}
|