2019-05-06 18:59:49 +02:00
|
|
|
//
|
2022-01-01 03:35:39 +03:00
|
|
|
// Copyright Aliaksei Levin (levlam@telegram.org), Arseny Smirnov (arseny30@gmail.com) 2014-2022
|
2019-05-06 18:59:49 +02:00
|
|
|
//
|
|
|
|
// Distributed under the Boost Software License, Version 1.0. (See accompanying
|
|
|
|
// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
|
|
|
|
//
|
|
|
|
#pragma once
|
2019-05-22 21:17:24 +03:00
|
|
|
|
|
|
|
#include "td/mtproto/AuthData.h"
|
2019-05-06 18:59:49 +02:00
|
|
|
#include "td/mtproto/RawConnection.h"
|
|
|
|
|
|
|
|
#include "td/actor/actor.h"
|
2019-05-22 21:17:24 +03:00
|
|
|
|
|
|
|
#include "td/utils/common.h"
|
2022-06-27 13:30:18 +03:00
|
|
|
#include "td/utils/Promise.h"
|
2021-10-21 12:51:16 +03:00
|
|
|
#include "td/utils/Slice.h"
|
2019-05-22 21:17:24 +03:00
|
|
|
|
2019-05-06 18:59:49 +02:00
|
|
|
namespace td {
|
|
|
|
namespace mtproto {
|
2019-05-22 21:17:24 +03:00
|
|
|
|
2021-10-18 19:26:14 +03:00
|
|
|
ActorOwn<> create_ping_actor(Slice actor_name, unique_ptr<RawConnection> raw_connection, unique_ptr<AuthData> auth_data,
|
2019-05-22 21:17:24 +03:00
|
|
|
Promise<unique_ptr<RawConnection>> promise, ActorShared<> parent);
|
|
|
|
|
2019-07-09 06:56:06 +03:00
|
|
|
} // namespace mtproto
|
2019-05-06 18:59:49 +02:00
|
|
|
} // namespace td
|