Developer docs

10. Client conformance checklist

  • Hello first; handle welcome.error (stale token → show login)
  • Retry SendMessage with the same random_id
  • pts/seq gap detection and difference calls
  • Handle FLOOD_WAIT / SLOWMODE_WAIT (countdown) and PEER_FLOOD (banner), §8.1
  • Show User.moderation (banner, disabled actions, appeal link) and honour USER_RESTRICTED.capability / ACCOUNT_FROZEN
  • Blur sensitive chats unless ContentSettings.sensitive_enabled; honour restriction_reason for your platform (§8.2)
  • Handle DC_MIGRATE (§16.5); keep the token when welcome.error is DC_MIGRATE
  • Handle CAPTCHA_REQUIRED (open Error.captcha.url, repeat with captcha_token) and API_ID_BLOCKED; send your registered api_id (§21)
  • Notifications: apply NotifySettings / Dialog.notify / ForumTopic.notify to notifications you raise yourself and honour push data silent, snd, np (§23)
  • Never log or transmit the session token anywhere except the Telvoro server
  • Verify TLS certificates (no “accept all” in release builds)
  • UTF-16 entity offsets
  • Unknown media / service action / enum values render as “unsupported” with an Update button and “Unsupported message” previews; unknown entity types as plain text (§9.1)

Generated from docs/PROTOCOL.md in the Telvoro repository. Wire names such as televo.v1 are unchanged.