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.
12 lines
345 B
TypeScript
12 lines
345 B
TypeScript
4 years ago
|
import { Message } from '.';
|
||
|
import { SignalService } from '../../../protobuf';
|
||
5 years ago
|
|
||
5 years ago
|
export abstract class ContentMessage extends Message {
|
||
5 years ago
|
public plainTextBuffer(): Uint8Array {
|
||
5 years ago
|
return SignalService.Content.encode(this.contentProto()).finish();
|
||
5 years ago
|
}
|
||
|
|
||
5 years ago
|
public abstract ttl(): number;
|
||
4 years ago
|
public abstract contentProto(): SignalService.Content;
|
||
5 years ago
|
}
|