mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-08-23 02:37:11 +00:00
25 lines
567 B
C
25 lines
567 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 Data {
|
||
|
|
||
|
struct ReportInput final {
|
||
|
QByteArray optionId;
|
||
|
QString optionText;
|
||
|
QString comment;
|
||
|
std::vector<MsgId> ids;
|
||
|
std::vector<StoryId> stories;
|
||
|
|
||
|
inline bool operator==(const ReportInput &other) const {
|
||
|
return optionId == other.optionId && comment == other.comment;
|
||
|
}
|
||
|
};
|
||
|
|
||
|
} // namespace Data
|