| 
									
										
										
										
											2017-09-26 14:49:16 +03:00
										 |  |  | /*
 | 
					
						
							|  |  |  | This file is part of Telegram Desktop, | 
					
						
							| 
									
										
										
										
											2018-01-03 13:23:14 +03:00
										 |  |  | the official desktop application for the Telegram messaging service. | 
					
						
							| 
									
										
										
										
											2017-09-26 14:49:16 +03:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2018-01-03 13:23:14 +03:00
										 |  |  | For license and copyright information please follow this link: | 
					
						
							|  |  |  | https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL
 | 
					
						
							| 
									
										
										
										
											2017-09-26 14:49:16 +03:00
										 |  |  | */ | 
					
						
							|  |  |  | #pragma once
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | #include "data/data_photo.h"
 | 
					
						
							|  |  |  | #include "data/data_document.h"
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | struct GameData { | 
					
						
							| 
									
										
										
										
											2021-10-11 21:46:51 +04:00
										 |  |  | 	GameData(not_null<Data::Session*> owner, const GameId &id); | 
					
						
							| 
									
										
										
										
											2017-09-26 14:49:16 +03:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2021-10-11 21:46:51 +04:00
										 |  |  | 	const not_null<Data::Session*> owner; | 
					
						
							| 
									
										
										
										
											2017-09-26 14:49:16 +03:00
										 |  |  | 	GameId id = 0; | 
					
						
							|  |  |  | 	uint64 accessHash = 0; | 
					
						
							|  |  |  | 	QString shortName; | 
					
						
							|  |  |  | 	QString title; | 
					
						
							|  |  |  | 	QString description; | 
					
						
							|  |  |  | 	PhotoData *photo = nullptr; | 
					
						
							|  |  |  | 	DocumentData *document = nullptr; | 
					
						
							|  |  |  | }; |