Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 19 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -212,3 +212,22 @@ Added functionality to send initial status messages when gathering peers and sta
- Workers not stopping after `done`.
- Unsafe watchdog behavior that could duplicate sends.
- Concurrent progress edits in `deleteAllBroadcastsForAll()`.

---

## [3.2.1] - 2026-06-13

### Added

- Added support for editing last broadcast messages with media loaded from `data/{adminId}/media.txt`.
- Added compatibility for passing saved media values / `botApiFileId` into `editLastBroadcastForAll()`.

### Changed

- Relaxed the `$media` parameter in `BroadcastManager::editLastBroadcastForAll()` so it is no longer limited to `?array`.
- Edit-last-broadcast flow can now reuse the same saved media format used by regular broadcast sending.

### Notes

- Passing `null` as media keeps the existing media unchanged.
- Passing a saved media value attempts to update the edited message media/caption.
2 changes: 1 addition & 1 deletion src/BroadcastManager.php
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,7 @@ public function editLastBroadcastForAll(
string $newText,
$chatId = null,
?array $buttons = null,
?array $media = null,
$media = null,
int $concurrency = self::DEFAULT_CONCURRENCY,
string $parseMode = 'HTML',
?string $broadcastId = null
Expand Down
Loading