Variable messageConst

message: {
    properties: {
        author: {
            pattern: "^[a-f0-9]{8}-[a-f0-9]{4}-4[a-f0-9]{3}-[89aAbB][a-f0-9]{3}-[a-f0-9]{12}$";
            type: "string";
        };
        channel: {
            pattern: "^[a-f0-9]{8}-[a-f0-9]{4}-4[a-f0-9]{3}-[89aAbB][a-f0-9]{3}-[a-f0-9]{12}$";
            type: "string";
        };
        content: {
            maxLength: 300;
            minLength: 1;
            type: "string";
        };
        id: {
            pattern: "^[a-f0-9]{8}-[a-f0-9]{4}-4[a-f0-9]{3}-[89aAbB][a-f0-9]{3}-[a-f0-9]{12}$";
            type: "string";
        };
        sent: {};
    };
    required: readonly ["author", "content", "channel", "sent", "id"];
    type: "object";
} = ...

Type declaration

  • Readonly properties: {
        author: {
            pattern: "^[a-f0-9]{8}-[a-f0-9]{4}-4[a-f0-9]{3}-[89aAbB][a-f0-9]{3}-[a-f0-9]{12}$";
            type: "string";
        };
        channel: {
            pattern: "^[a-f0-9]{8}-[a-f0-9]{4}-4[a-f0-9]{3}-[89aAbB][a-f0-9]{3}-[a-f0-9]{12}$";
            type: "string";
        };
        content: {
            maxLength: 300;
            minLength: 1;
            type: "string";
        };
        id: {
            pattern: "^[a-f0-9]{8}-[a-f0-9]{4}-4[a-f0-9]{3}-[89aAbB][a-f0-9]{3}-[a-f0-9]{12}$";
            type: "string";
        };
        sent: {};
    }
    • Readonly author: {
          pattern: "^[a-f0-9]{8}-[a-f0-9]{4}-4[a-f0-9]{3}-[89aAbB][a-f0-9]{3}-[a-f0-9]{12}$";
          type: "string";
      }
      • Readonly pattern: "^[a-f0-9]{8}-[a-f0-9]{4}-4[a-f0-9]{3}-[89aAbB][a-f0-9]{3}-[a-f0-9]{12}$"
      • Readonly type: "string"
    • Readonly channel: {
          pattern: "^[a-f0-9]{8}-[a-f0-9]{4}-4[a-f0-9]{3}-[89aAbB][a-f0-9]{3}-[a-f0-9]{12}$";
          type: "string";
      }
      • Readonly pattern: "^[a-f0-9]{8}-[a-f0-9]{4}-4[a-f0-9]{3}-[89aAbB][a-f0-9]{3}-[a-f0-9]{12}$"
      • Readonly type: "string"
    • Readonly content: {
          maxLength: 300;
          minLength: 1;
          type: "string";
      }
      • Readonly maxLength: 300
      • Readonly minLength: 1
      • Readonly type: "string"
    • Readonly id: {
          pattern: "^[a-f0-9]{8}-[a-f0-9]{4}-4[a-f0-9]{3}-[89aAbB][a-f0-9]{3}-[a-f0-9]{12}$";
          type: "string";
      }
      • Readonly pattern: "^[a-f0-9]{8}-[a-f0-9]{4}-4[a-f0-9]{3}-[89aAbB][a-f0-9]{3}-[a-f0-9]{12}$"
      • Readonly type: "string"
    • Readonly sent: {}
    • Readonly required: readonly ["author", "content", "channel", "sent", "id"]
    • Readonly type: "object"

    Generated using TypeDoc