cyberneticlibrary

Build NestJS APIs and modules

nestjs-patternsskillsetup L20
Sheshiyer/skill-clusters
What it does

Format and send messages to Telegram via MTProto

Best for

Programmatic Telegram outreach where you need to send structured messages to multiple groups/channels with formatting.

Inputs
  • · [object Object]
  • · [object Object]
  • · [object Object]
Outputs
  • · [object Object]
  • · [object Object]
Requires
  • · GramJS MTProto client
  • · Telegram App ID + API Hash
Preconditions
  • · Telegram session authenticated (phone number login)
  • · Chat ID or username resolved
  • · Message text under 4096 chars (or split into multiple)
Failure modes
  • · Chat not found (invalid ID or user not member)
  • · Rate-limited by Telegram (flood prevention)
  • · Attachments too large (>2GB file limit)
  • · Session expired (requires re-authentication)
Trust signals
  • · GramJS MTProto library
  • · Message ID returned for idempotency
  • · Delivery timestamp confirms sent-at-server