You cannot select more than 25 topics
			Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
		
		
		
		
		
			
	
	
		
			
				
					
						
							|  |  |  | import { SignalService } from '../../../../../../protobuf'; | 
					
						
							|  |  |  | import { | 
					
						
							|  |  |  |   ClosedGroupMessage, | 
					
						
							|  |  |  |   ClosedGroupMessageParams, | 
					
						
							|  |  |  | } from './ClosedGroupMessage'; | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | export class ClosedGroupRequestInfoMessage extends ClosedGroupMessage { | 
					
						
							|  |  |  |   constructor(params: ClosedGroupMessageParams) { | 
					
						
							|  |  |  |     super({ | 
					
						
							|  |  |  |       timestamp: params.timestamp, | 
					
						
							|  |  |  |       identifier: params.identifier, | 
					
						
							|  |  |  |       groupId: params.groupId, | 
					
						
							|  |  |  |     }); | 
					
						
							|  |  |  |   } | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  |   protected groupContext(): SignalService.GroupContext { | 
					
						
							|  |  |  |     // use the parent method to fill id correctly
 | 
					
						
							|  |  |  |     const groupContext = super.groupContext(); | 
					
						
							|  |  |  |     groupContext.type = SignalService.GroupContext.Type.REQUEST_INFO; | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  |     return groupContext; | 
					
						
							|  |  |  |   } | 
					
						
							|  |  |  | } |