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.
		
		
		
		
		
			
		
			
	
	
		
			14 lines
		
	
	
		
			374 B
		
	
	
	
		
			TypeScript
		
	
		
		
			
		
	
	
			14 lines
		
	
	
		
			374 B
		
	
	
	
		
			TypeScript
		
	
| 
											6 years ago
										 | import { ContentMessage } from '../ContentMessage'; | ||
|  | import { SignalService } from '../../../../../protobuf'; | ||
|  | 
 | ||
|  | export abstract class DataMessage extends ContentMessage { | ||
|  | 
 | ||
|  |   protected contentProto(): SignalService.Content { | ||
|  |     return new SignalService.Content({ | ||
|  |       dataMessage: this.dataProto(), | ||
|  |     }); | ||
|  |   } | ||
|  | 
 | ||
|  |   protected abstract dataProto(): SignalService.DataMessage; | ||
|  | } |