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