Variable listMessagesResponseConst

listMessagesResponse: {
    properties: {
        messages: {
            items: {
                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: "array";
        };
    };
    required: readonly ["messages"];
    type: "object";
} = ...

Type declaration

  • Readonly properties: {
        messages: {
            items: {
                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: "array";
        };
    }
    • Readonly messages: {
          items: {
              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: "array";
      }
      • Readonly items: {
            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";
        }
        • 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"
        • Readonly type: "array"
    • Readonly required: readonly ["messages"]
    • Readonly type: "object"

    Generated using TypeDoc