ZaStoGram_desktop/Telegram/SourceFiles/e2e_cloud/desktop/protected_conversation_box.h
2026-08-02 16:08:49 +03:00

36 lines
918 B
C++

/*
This file is part of Telegram Desktop,
the official desktop application for the Telegram messaging service.
For license and copyright information please follow this link:
https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL
*/
#pragma once
#include "base/basic_types.h"
#include "e2e_cloud/core/types.h"
#include <QtCore/QByteArray>
class DocumentData;
namespace Window {
class SessionController;
} // namespace Window
namespace E2ECloud {
void ShowProtectedGroupList(
not_null<Window::SessionController*> controller);
void ShowProtectedConversation(
not_null<Window::SessionController*> controller,
ConversationId conversationId);
void OpenProtectedHistoryFile(
not_null<Window::SessionController*> controller,
not_null<DocumentData*> document,
FullMsgId context,
bool showInMediaView,
const QByteArray &conversationIdBytes,
const QByteArray &eventObjectIdBytes);
} // namespace E2ECloud