From 9a051bf36d8e2a513ed9f203f80c132195534a47 Mon Sep 17 00:00:00 2001 From: InsanusMokrassar Date: Sun, 11 Sep 2022 14:35:22 +0600 Subject: [PATCH] Create README.md --- posts/README.md | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 posts/README.md diff --git a/posts/README.md b/posts/README.md new file mode 100644 index 0000000..36d0131 --- /dev/null +++ b/posts/README.md @@ -0,0 +1,30 @@ +# Posts Plugin + +Main plugin, which should be included in your config. + +## Plugin name + +``` +dev.inmo.plaguposter.posts.Plugin +``` + +## Plugin config + +```json +{ + "posts": { + "chats": { + "targetChat": -1001234567890, + "targetChat description": "Chat identifier where your posts should appear after publishing", + "sourceChat": -1001234567890, + "sourceChat description": "Chat identifier where your posts will be placed for polls and other management", + "cacheChat": -1001234567890, + "cacheChat description": "Chat identifier where your posts will be cached before the publishing to actualize content of posts" + }, + "autoRemoveMessages": true, + "autoRemoveMessages description": "If autoRemoveMessages is enabled, with dropping of posts all the post messages will be removed is possible", + "deleteAfterPublishing": true, + "deleteAfterPublishing description": "If deleteAfterPublishing is enabled, posts will be automatically dropped after publishing" + } +} +```