2022-05-24 13:56:02 +02:00
|
|
|
//
|
2022-12-31 22:28:08 +01:00
|
|
|
// Copyright Aliaksei Levin (levlam@telegram.org), Arseny Smirnov (arseny30@gmail.com) 2014-2023
|
2022-05-24 13:56:02 +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
|
|
|
|
|
|
|
|
#include "td/telegram/DialogId.h"
|
|
|
|
#include "td/telegram/telegram_api.h"
|
|
|
|
|
|
|
|
#include "td/utils/common.h"
|
2022-06-27 12:30:18 +02:00
|
|
|
#include "td/utils/Promise.h"
|
2022-05-24 13:56:02 +02:00
|
|
|
|
|
|
|
namespace td {
|
|
|
|
|
2022-07-18 18:21:47 +02:00
|
|
|
struct BinlogEvent;
|
|
|
|
|
2022-05-24 13:56:02 +02:00
|
|
|
class Td;
|
|
|
|
|
|
|
|
void get_invite_text(Td *td, Promise<string> &&promise);
|
|
|
|
|
|
|
|
void save_app_log(Td *td, const string &type, DialogId dialog_id, tl_object_ptr<telegram_api::JSONValue> &&data,
|
|
|
|
Promise<Unit> &&promise);
|
|
|
|
|
2022-07-18 18:21:47 +02:00
|
|
|
void on_save_app_log_binlog_event(Td *td, BinlogEvent &&event);
|
|
|
|
|
2022-05-24 13:56:02 +02:00
|
|
|
} // namespace td
|