Delay

Adding a Time Delay to Forwarded Messages

What It Does

The /delay command allows you to add a time delay between the moment a message is received from the incoming chat and when it is forwarded to the target chat. This can help control the flow of forwarded messages.

Prerequisite

  • Incoming and Outgoing Chats Configured: Make sure both incoming and outgoing chats are set up using the /incoming and /outgoing commands. Without these, there are no messages to delay and forward.

How to Use It

  • Check the current delay:

    1. The bot will display the current delay when you use the /delay command. Example:

    2. "Current delay is: 0 seconds"

      add a time delay between the moment a message is received from the incoming chat and when it is forwarded to the target chat
  • Set a new delay:

    1. To change the delay, send the command in this format: /delay N

    2. Where N is the number of seconds you want to delay each message. Example usage:

    3. If you want to delay messages by 15 seconds, send the command: /delay 15

Set a new delay
  • Delay range:

    The minimum delay is 10 seconds, and the maximum delay is 999 seconds.

Real-Life Use Cases

  • Prevent Message Overload: If your incoming chat is very active, you can use a delay to prevent too many messages from being forwarded in a short period.

  • Time-Based Filtering: Use delays to give yourself more control over when forwarded messages appear, especially useful for managing multiple incoming messages.

  • Content Review: Add a delay to ensure you have time to review messages before they are forwarded to the target chat.

Last updated