4597689060
GitOrigin-RevId: 791b4dc804a8c0b734b027ff348b16bbfceede5c
30 lines
917 B
C++
30 lines
917 B
C++
//
|
|
// Copyright Aliaksei Levin (levlam@telegram.org), Arseny Smirnov (arseny30@gmail.com) 2014-2018
|
|
//
|
|
// 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/ChannelId.h"
|
|
#include "td/telegram/ChatId.h"
|
|
#include "td/telegram/DialogId.h"
|
|
#include "td/telegram/SecretChatId.h"
|
|
#include "td/telegram/UserId.h"
|
|
#include "td/telegram/WebPageId.h"
|
|
|
|
#include <unordered_set>
|
|
|
|
namespace td {
|
|
|
|
struct Dependencies {
|
|
std::unordered_set<UserId, UserIdHash> user_ids;
|
|
std::unordered_set<ChatId, ChatIdHash> chat_ids;
|
|
std::unordered_set<ChannelId, ChannelIdHash> channel_ids;
|
|
std::unordered_set<SecretChatId, SecretChatIdHash> secret_chat_ids;
|
|
std::unordered_set<DialogId, DialogIdHash> dialog_ids;
|
|
std::unordered_set<WebPageId, WebPageIdHash> web_page_ids;
|
|
};
|
|
|
|
} // namespace td
|