From d2d9c09d8344b2619fb43c06fa21d7f643225103 Mon Sep 17 00:00:00 2001 From: martinrotter Date: Wed, 30 Nov 2022 06:58:57 +0100 Subject: [PATCH] Update Documentation.md --- resources/docs/Documentation.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/resources/docs/Documentation.md b/resources/docs/Documentation.md index 6d1da6cdd..6c9dde691 100644 --- a/resources/docs/Documentation.md +++ b/resources/docs/Documentation.md @@ -114,7 +114,7 @@ Passed article also offers special function: Boolean MessageObject.isAlreadyInDatabase(DuplicateCheck) ``` -which allows you to perform runtime check for existence of the article in RSS Guard's database. The parameter is value from enumeration [`DuplicateCheck`](#duplicatecheck-enum) and specifies how exactly you want to match your article. +which allows you to perform runtime check for existence of the article in RSS Guard's database. The parameter is value from enumeration [`DuplicateCheck`](#dupl-check) and specifies how exactly you want to match your article. For example, if you want to check if there is already another article with same author in database, you should call `msg.isAlreadyInDatabase(MessageObject.SameAuthor)`. Values of the enumeration can be combined via bitwise OR (`|`) operator in single call, like this: @@ -125,7 +125,7 @@ msg.isAlreadyInDatabase(MessageObject.SameAuthor | MessageObject.SameUrl) Here is the reference of methods and properties of types available in your filtering scripts. #### `MessageObject` class -| Type | Name(Parameter) | Return value | Read-only | Synchronized | Description +| Type | Name(Parameters) | Return value | Read-only | Synchronized | Description | :--- | :--- | :--- | :---: | :---: | --- | Property | `assignedLabels` | `Array