24 lines
		
	
	
	
		
			570 B
		
	
	
	
		
			C++
		
	
	
	
	
	
			
		
		
	
	
			24 lines
		
	
	
	
		
			570 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;
 | |
| 
 | |
| namespace ChatHelpers {
 | |
| 
 | |
| struct ForwardedMessagePhraseArgs final {
 | |
| 	size_t toCount = 0;
 | |
| 	bool singleMessage = false;
 | |
| 	PeerData *to1 = nullptr;
 | |
| 	PeerData *to2 = nullptr;
 | |
| };
 | |
| 
 | |
| rpl::producer<TextWithEntities> ForwardedMessagePhrase(
 | |
| 	const ForwardedMessagePhraseArgs &args);
 | |
| 
 | |
| } // namespace ChatHelpers
 | 
