Install
Upload it under Plugins → Add New Plugin → Upload Plugin, then activate.
Install straight from GitHub with WP-CLI:
wp plugin install https://github.com/mblmg/event-digest-for-telegram/releases/download/v1.0.0/event-digest-for-telegram.zipUpdates itself. It ships its own updater, so new versions appear under Dashboard → Updates.
WordPress plugin that posts a weekly preview of upcoming events to a Telegram group, topic or channel. It uses the events of Add to Calendar from Custom Fields (IMM_TK_Event, IMM_TK_Endpoints::feed_events()).
User documentation lives in readme.txt.
Development
event-digest-for-telegram.php bootstrap
includes/class-settings.php settings (option imm_tg_settings) and state (imm_tg_state)
includes/class-telegram.php Bot API calls: sendMessage, getUpdates, getMe
includes/class-digest.php selects the events and builds the message (Telegram HTML)
includes/class-scheduler.php weekly WP-Cron event imm_tg_weekly_digest
includes/class-admin.php settings page, chat finder, preview, test post
includes/class-updater.php updates from GitHub releases (Update URI header)
languages/ .pot template and bundled German translation
The event selection in IMM_TG_Digest::select() is meant to be shared with a future e-mail newsletter.
Releasing
- Bump the version in three places: plugin header (
Version:),IMM_TG_VERSIONandStable tag:inreadme.txt. Add a changelog entry. - Commit, then tag and push:
git tag 1.0.1 && git push origin main --tags - The Release workflow checks the version numbers, builds
event-digest-for-telegram.zipand publishes a GitHub release with it. - Installed sites see the update within 12 hours under Dashboard → Updates (or immediately after "Check again").
The release zip must keep the folder name event-digest-for-telegram, otherwise WordPress installs the update as a second plugin.
License
GPL-2.0-or-later
Releases
1 release. Each count is every asset in that release; expand a row for the breakdown.
Tag
Published
Assets
Downloads