🛸 Telegram Analytics API

Changelog

All notable changes to the Telegram Analytics API will be documented here.

Version 2.1.0

Minor Release July 19, 2025

Added

  • Reactions API endpoint: GET /api/v2/telegram/channels/{channel}/reactions
  • Polls API endpoint: GET /api/v2/telegram/channels/{channel}/polls
  • Top Contributors API endpoint (BETA): GET /api/v2/telegram/channels/{channel}/top-contributors
  • Dynamic cache TTL based on period for better performance

Changed

  • Optimized reactions API to fetch fewer messages based on period
  • Cache TTL now varies by period (5 min for 1hour, up to 24h for 1year)

Fixed

  • Authentication error handling across all endpoints

Version 2.0.0

Major Release July 10, 2025

Added

  • New v2 API with JSON:API v1.1 specification
  • Channel statistics endpoint: GET /api/v2/telegram/channels/{channel}/statistics/{days}
  • Channel info endpoint: GET /api/v2/telegram/channels/{channel}
  • Channel comparison endpoint: POST /api/v2/telegram/channels/compare

Changed

  • Statistics limited to 15 days maximum
  • Statistics results cached for 1 hour

Deprecated

  • v1 API endpoint (/api/telegram/last-message) - migrate to v2

Version 1.0.0

Major Release July 7, 2025

Added

  • Initial release
  • Get last message ID endpoint
  • 5 minute cache for API responses

API Deprecation Notice

The v1 API endpoint is deprecated. Please migrate to the v2 API:

  • /api/telegram/last-message/api/v2/telegram/channels/{channel}/messages/last-id