February 15th, 2025

New

Fixed

Explicit Authorizations, Image Quotas, SmartReply Changes + Bug Fixes

1. Added the ability for admins to explicitly authorize & deauthorize any user/admin:

  • /authorize [TELEGRAM-ID] – Grants a user full admin privileges for HyperRaidBot, allowing them to start raids, etc. (without making them a Telegram chat admin)

  • /deauthorize [TELEGRAM-ID] – Revokes HyperRaidBot admin privileges from any user, including actual Telegram admins, restricting them from bot-specific admin functions like starting raids.

  • /authorizations – Lists all explicitly authorized users.

  • /deauthorizations – Lists all explicitly unauthorized users.

  • Default Behavior – Telegram chat admins automatically have HyperRaidBot admin privileges unless explicitly deauthorized.


2. Increased Media Storage Quota:

  • Personal Media Storage: 20 → 100

  • Chat Media Storage: 50 → 100


3. Modified SmartReply Generation Outputs

  • SmartReply Generation has slightly changed to allow for accommodating more of the chat’s provided SmartReply Context data.

  • SmartReply Character Count now varies per reply (unless SmartReply Context explicitly says to keep replies short).

  • Modified the default tone of replies if none (or very little) provided by the SmartReply Context.


4. Fixed Image Deletion for Mobile

  • There was a bug preventing users from holding down on an image to be able to delete it from their Media Storage. This has now been resolved.


5. Removed View Counter from Raids

  • Due to inconsistencies with the view counts shown via an X Client, the view counter will no longer show in the raid messages.


6. Fixed AutoRaid Target-Change Issue

  • While AutoRaid was enabled, it was not pulling the most recent updates to the targets during polling. This has been resolved


7. Added ‘🤖 AutoRaid’ indicator to AutoRaids

  • On raid messages where there is an active AutoRaid, it will now show ‘🤖 AutoRaid’ at the top.


Example Scenario: How Explicit Authorizations Work in HyperRaidBot

Initial Chat Setup

A Telegram group has the following users and roles:

Telegram ID

Username

Telegram Chat Role

HyperRaidBot Privileges

1001

Alice

Admin

✅ Full Privileges (Default)

1002

Bob

Admin

✅ Full Privileges (Default)

1003

Charlie

Member

❌ No Admin Privileges

1004

Dave

Member

❌ No Admin Privileges


Scenario 1: Authorizing a Standard User

Command Issued:

/authorize 1003

Updated Table:

Telegram ID

Username

Telegram Chat Role

HyperRaidBot Privileges

1001

Alice

Admin

✅ Full Privileges

1002

Bob

Admin

✅ Full Privileges

1003

Charlie

Member

✅ Full Privileges (Explicitly Authorized)

1004

Dave

Member

❌ No Admin Privileges

Explanation: Charlie, who was just a standard member, now has full admin privileges for HyperRaidBot. However, he is still just a regular member in the Telegram chat.


Scenario 2: Deauthorizing an Admin

Command Issued:

/deauthorize 1002

Updated Table:

Telegram ID

Username

Telegram Chat Role

HyperRaidBot Privileges

1001

Alice

Admin

✅ Full Privileges

1002

Bob

Admin

❌ No Admin Privileges (Explicitly Deauthorized)

1003

Charlie

Member

✅ Full Privileges (Explicitly Authorized)

1004

Dave

Member

❌ No Admin Privileges

Explanation: Even though Bob is an Admin in the Telegram chat, he has been explicitly deauthorized. This means he cannot use any admin features in HyperRaidBot.


Scenario 3: Removing Charlie’s Authorization

Command Issued:

/deauthorize 1003

Updated Table:

Telegram ID

Username

Telegram Chat Role

HyperRaidBot Privileges

1001

Alice

Admin

✅ Full Privileges

1002

Bob

Admin

❌ No Admin Privileges (Explicitly Deauthorized)

1003

Charlie

Member

❌ No Admin Privileges

1004

Dave

Member

❌ No Admin Privileges

Explanation: Charlie, who was previously authorized to use HyperRaidBot as an admin, has now lost those privileges. He remains a standard user in both the Telegram chat and HyperRaidBot.


Summary of Authorization Rules

  1. Telegram Chat Admins Automatically Have HyperRaidBot Admin Privileges unless explicitly deauthorized.

  2. Standard Users Can Be Explicitly Authorized to gain HyperRaidBot admin privileges.

  3. Explicitly Deauthorized Users Lose Admin Privileges even if they are Telegram Chat Admins.

  4. You Can View Authorized and Deauthorized Users using /authorizations and /deauthorizations.