27 lines
		
	
	
	
		
			594 B
		
	
	
	
		
			C++
		
	
	
	
	
	
			
		
		
	
	
			27 lines
		
	
	
	
		
			594 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
 | |
| 
 | |
| class PeerData;
 | |
| class PhotoData;
 | |
| 
 | |
| namespace Ui {
 | |
| class Show;
 | |
| enum class ReportReason;
 | |
| } // namespace Ui
 | |
| 
 | |
| namespace Api {
 | |
| 
 | |
| void SendReport(
 | |
| 	std::shared_ptr<Ui::Show> show,
 | |
| 	not_null<PeerData*> peer,
 | |
| 	Ui::ReportReason reason,
 | |
| 	const QString &comment,
 | |
| 	std::variant<v::null_t, MessageIdsList, not_null<PhotoData*>> data);
 | |
| 
 | |
| } // namespace Api
 | 
