Overview
Bulletin provides personalized digest notifications via email and Telegram. Users receive summaries of new stories from profiles they follow.Digest Frequencies
- daily - Every day at preferred time
- bidaily - Every 2 days at preferred time
- weekly - Once per week at preferred time
Delivery Channels
HTML email digest with story summaries
Telegram
Telegram bot message with formatted digest
Get Bulletin Preferences
Digest frequency:
daily, bidaily, weeklyPreferred delivery hour (0-23 UTC)
Active delivery channels:
email, telegramUser’s email address (from account)
Whether Telegram is connected
Last bulletin delivery timestamp (ISO 8601)
Update Bulletin Preferences
Digest frequency:
daily, bidaily, weeklyPreferred delivery hour (0-23 UTC)
Active channels:
["email"], ["telegram"], or ["email", "telegram"]Atomic UpdatesThis endpoint creates/updates/deletes subscriptions as needed to match the desired state. Passing an empty
channels array unsubscribes from all channels.List Subscriptions
Subscribe to Bulletin
PUT /bulletin/preferences instead.
Channel:
email or telegramDigest frequency:
daily, bidaily, weeklyPreferred delivery hour (0-23 UTC)
Update Subscription
Subscription ID
New frequency:
daily, bidaily, weeklyNew preferred hour (0-23 UTC)
Unsubscribe
Subscription ID
Admin Endpoints
Trigger Bulletin Processing
This endpoint is typically called by a cron job every hour. It processes all subscriptions that are due based on frequency and preferred time.
Bulletin Digest Content
Digests contain:- Stories published since last bulletin
- Grouped by followed profile (author)
- Includes AI-generated summary (if available)
- Profile picture and links
- Call-to-action buttons
- HTML email with responsive design
- Story cards with images
- “Read More” buttons linking to stories
- Formatted text with Markdown
- Story summaries
- Inline links to full stories
Requirements
Email Channel
- Requires valid email address in user account
- Uses user’s default locale for content
- Sends from
[email protected]
Telegram Channel
- Requires Telegram bot connection (see Telegram API)
- User must have started conversation with bot
- Uses Telegram chat ID from profile link
Telegram SetupTo receive Telegram bulletins:
- Connect your Telegram account via profile links
- Start a conversation with the Aya bot
- Subscribe to bulletin with
telegramchannel