Skip to content

Implement scheduled broadcast system for targeted group messaging #120

@viganogabriele

Description

@viganogabriele

Overview

Currently, there is no unified way to broadcast messages to specific groups with scheduling support. We need a complete broadcast system that works both from the dashboard and via Telegram commands.

Note: Dashboard-related sub-issues are tracked in the admin repository.


Features

1. Group Management (Dashboard)

  • Assign a tag number to a group of channels (e.g., tag feat: Telex and build/ci changes #1 = ['channel_A', 'channel_B', 'channel_C'])
  • Create, edit, and delete tags via dashboard
  • Each tag has:
    • A unique number identifier
    • A name/description
    • A list of associated group IDs

2. Message Creation (Telegram)

  • Admin sends /announce command to the bot
  • Bot prompts for the tag number of target groups
  • Bot prompts for the message content with full formatting support:
    • Text (bold, italic, code, etc.)
    • Images/photos
    • Videos
    • Documents
  • Bot prompts for send now or schedule

3. Scheduling System

  • Store scheduled announcements in database
  • Cron job / scheduler for time-based delivery
  • Handle bot restart without losing scheduled jobs

4. Delivery (Bot)

  • Send formatted message to all groups in selected tag
  • Track delivery status per group
  • Generate delivery summary report

5. Dashboard Integration

  • View all scheduled announcements
  • Modify pending announcements (groups, content, time)
  • View delivery reports

Sub-issues

Telegram (this repo)

Dashboard (admin repo)

Labels: enhancement

Metadata

Metadata

Assignees

No one assigned

    Labels

    broadcastBroadcast/announcement featureenhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions