mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-06-07 15:43:55 +02:00
20 lines
497 B
C++
20 lines
497 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
|
|
|
|
namespace TdE2E {
|
|
|
|
struct UserId;
|
|
struct PublicKey;
|
|
|
|
[[nodiscard]] UserId MakeUserId(not_null<UserData*> user);
|
|
[[nodiscard]] UserId MakeUserId(::UserId id);
|
|
|
|
[[nodiscard]] MTPint256 PublicKeyToMTP(const PublicKey &key);
|
|
|
|
} // namespace TdE2E
|