/** * Synapse REST API * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * * The version of the OpenAPI document: v1 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ /** * JSON schema for a message to another user * @export * @interface MessageToUser */ export interface MessageToUser { /** * The unique identifier of the message or comment * @type {string} * @memberof MessageToUser */ id?: string; /** * The unique identifier of the sender of this message * @type {string} * @memberof MessageToUser */ createdBy?: string; /** * The S3 file handle storing the body of this message. Note: The file's mime type should be 'text/plain' or 'text/html'. If no character encoding is specified, then UTF-8 is assumed. * @type {string} * @memberof MessageToUser */ fileHandleId?: string; /** * When this message was created * @type {string} * @memberof MessageToUser */ createdOn?: string; /** * The unique identifiers of the intended recipients of a message * @type {Set} * @memberof MessageToUser */ recipients?: Set; /** * Topic of this message. Optional * @type {string} * @memberof MessageToUser */ subject?: string; /** * The unique identifier of the message being replied to. Can be null * @type {string} * @memberof MessageToUser */ inReplyTo?: string; /** * The unique identifier of the root message being replied to * @type {string} * @memberof MessageToUser */ inReplyToRoot?: string; /** * the portal prefix for one-click email unsubscription. A signed, serialized token is appended to create the complete URL. If omitted, the default endpoint will be used. * @type {string} * @memberof MessageToUser */ notificationUnsubscribeEndpoint?: string; /** * the portal link to user profile setting page. If omitted, the default endpoint will be used. * @type {string} * @memberof MessageToUser */ userProfileSettingEndpoint?: string; /** * should the unsubscribe link be included in the email? * @type {boolean} * @memberof MessageToUser */ withUnsubscribeLink?: boolean; /** * should the user profile setting link be included in the email? * @type {boolean} * @memberof MessageToUser */ withProfileSettingLink?: boolean; /** * A notification message is sent from a noreply email address, delivery failures are not sent back to the sender * @type {boolean} * @memberof MessageToUser */ isNotificationMessage?: boolean; /** * The email addresses in the 'to' field of the email message * @type {string} * @memberof MessageToUser */ to?: string; /** * The email addresses in the 'cc' field of the email message * @type {string} * @memberof MessageToUser */ cc?: string; /** * The email addresses in the 'bcc' field of the email message * @type {string} * @memberof MessageToUser */ bcc?: string; } /** * Check if a given object implements the MessageToUser interface. */ export declare function instanceOfMessageToUser(value: object): value is MessageToUser; export declare function MessageToUserFromJSON(json: any): MessageToUser; export declare function MessageToUserFromJSONTyped(json: any, ignoreDiscriminator: boolean): MessageToUser; export declare function MessageToUserToJSON(json: any): MessageToUser; export declare function MessageToUserToJSONTyped(value?: MessageToUser | null, ignoreDiscriminator?: boolean): any;