RandomPost Plugin

RandomPost Plugin

@ApplePlugins



RandomPost Plugin

Sends a random post from a public Telegram channel.


⚙️ Settings

  • Channel – Target channel (without @)
  • Min post ID – Start searching from this post ID (to skip old posts)
  • Max post ID – Upper limit for random post ID

🛠 Commands

  • .post → Sends a random post

📌 Notes

  • Posts are chosen between min_id and max_id
  • If a post includes an image, it will be downloaded and sent
  • If missing, the channel’s profile picture is used

❓ How do I find the total number of posts?

Just open the channel in a browser (https://t.me/Channel) and copy the link of the latest post.

Example:

https://t.me/Channel/3142
Then:
  • min_id can be anything like 2500 (optional)
  • max_id = 3142

This ensures posts are fetched within the actual range of existing messages.


⚠️ Tip

Set a higher min_id to avoid very old content.


❗ Error Message

If nothing is found:

𝗢𝗼𝗽𝘀, 𝗻𝗼𝘁𝗵𝗶𝗻𝗴 𝗳𝗼𝘂𝗻𝗱! 𝗧𝗿𝘆 𝗮𝗴𝗮𝗶𝗻 𝗹𝗮𝘁𝗲𝗿!


Report Page