diff --git a/Filters.md b/Filters.md index e5e6f27..a95d326 100644 --- a/Filters.md +++ b/Filters.md @@ -19,19 +19,44 @@ For example, if you want to supply an ISO compliant date: `wtsexporter -a --date ### Between This will export messages received or sent between 2023-01-01 00:00 to 2024-01-01 00:00, inclusively. ``` -wtsexporter.exe -a --date "2023-01-01 00:00 - 2024-01-01 00:00" +wtsexporter -a --date "2023-01-01 00:00 - 2024-01-01 00:00" ``` ### Before This will only export messages received or sent before 2024-01-01 00:00. ``` -wtsexporter.exe -a --date "< 2024-01-01 00:00" +wtsexporter -a --date "< 2024-01-01 00:00" ``` ### After This will only export messages received or sent after 2023-01-01 00:00. ``` -wtsexporter.exe -a --date "> 2023-01-01 00:00" +wtsexporter -a --date "> 2023-01-01 00:00" ``` # Chat Filter +The exporter currently supports two chat filters, namely, include and exclude. + +### Include +This will only export messages sent by the specified correspondent: +``` +wtsexporter -a --include 85212345678 +``` + +Multiple correspondents can also be included at once: +``` +wtsexporter -a --include 85212345678 85298765432 +``` + +### Exclude +This will export all messages except those sent by the specified correspondent: +``` +wtsexporter -a --exclude 85212345678 +``` + +Multiple correspondents can also be included at once: +``` +wtsexporter -a --exclude 85212345678 85298765432 +``` + +Note that the for both include and exclude chat filters, the country calling codes are optional. \ No newline at end of file