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
494 B
TypeScript
16 lines
494 B
TypeScript
import { DataMessage } from './DataMessage';
|
|
import { SignalService } from '../../../../../protobuf';
|
|
|
|
// this message type is probably to sub divise again.
|
|
// should handle quote, body, attachmentsPointer, ... @see DataMessage in compiled.d.ts
|
|
// Also, find a better name
|
|
export abstract class RegularMessage extends DataMessage {
|
|
public ttl(): number {
|
|
return this.getDefaultTTL();
|
|
}
|
|
|
|
protected dataProto(): SignalService.DataMessage {
|
|
throw new Error('Not implemented');
|
|
}
|
|
}
|