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.
		
		
		
		
		
			
		
			
				
	
	
		
			16 lines
		
	
	
		
			423 B
		
	
	
	
		
			TypeScript
		
	
			
		
		
	
	
			16 lines
		
	
	
		
			423 B
		
	
	
	
		
			TypeScript
		
	
| import { SignalService } from '../../../protobuf';
 | |
| import { ExpirableMessage } from './ExpirableMessage';
 | |
| 
 | |
| export abstract class DataMessage extends ExpirableMessage {
 | |
|   public contentProto(): SignalService.Content {
 | |
|     return new SignalService.Content({
 | |
|       ...super.contentProto(),
 | |
|       dataMessage: this.dataProto(),
 | |
|     });
 | |
|   }
 | |
| 
 | |
|   public dataProto(): SignalService.DataMessage {
 | |
|     return super.dataProto();
 | |
|   }
 | |
| }
 |