session-desktop/ts/receiver/types.ts
Audric Ackermann 242d51ca8d
Id blinding + onionv4 + new endpoints for sogs and fileserver (#2347)
* Added Onionv4 support to file server, sogs and pn server
* Added blinded message support
* Updated endpoints for sogs and file server to remove legacy ones
2022-08-08 09:50:48 +10:00

16 lines
511 B
TypeScript

import { SignalService } from '../protobuf';
export interface Quote {
id: number; // this is in fact a uint64 so we will have an issue
author: string;
attachments: Array<any> | null;
text: string | null;
referencedMessageNotFound: boolean;
}
export interface EnvelopePlus extends Omit<SignalService.Envelope, 'toJSON'> {
senderIdentity: string; // Sender's pubkey after it's been decrypted (for medium groups)
receivedAt: number; // We only seem to set this for public messages?
id: string;
}