2021-08-12 21:00:27 +02:00
|
|
|
//
|
2024-01-01 01:07:21 +01:00
|
|
|
// Copyright Aliaksei Levin (levlam@telegram.org), Arseny Smirnov (arseny30@gmail.com) 2014-2024
|
2021-08-12 21:00:27 +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/MessageId.h"
|
|
|
|
|
|
|
|
#include "td/utils/common.h"
|
|
|
|
|
|
|
|
namespace td {
|
|
|
|
|
|
|
|
struct MessageThreadInfo {
|
|
|
|
DialogId dialog_id;
|
|
|
|
vector<MessageId> message_ids;
|
2021-08-13 17:24:00 +02:00
|
|
|
int32 unread_message_count = 0;
|
2021-08-12 21:00:27 +02:00
|
|
|
};
|
|
|
|
|
2021-12-27 12:03:50 +01:00
|
|
|
} // namespace td
|