Developer documentation

Telegram AI editing, transcription and message translation

Distinguish AI rewriting, audio transcription and translation while preserving originals and handling pending results.

GetTGAPI editorial teamUpdated
Documentation notesReviewed

Based on official sources and independently maintained by GetTGAPI. Documentation and glossary →

On this page
  1. These features return different kinds of results
  2. Transcription can remain pending
  3. Preserve the original message
  4. Implementation recommendations

These features return different kinds of results

AI composition can combine proofreading, translation or tone changes and returns transformed text with entities. It is separate from ordinary message translation and audio transcription.

Transcription can remain pending

A transcription can arrive incrementally, with subsequent updates linked by transcription identity. Quotas, reset times and group capabilities affect availability. Do not label the first partial result as the complete transcript.

Preserve the original message

Translation and automatic chat translation have different conditions. Entities must correspond to the translated text. Keep the original accessible and distinguish it from generated output.

Implementation recommendations

Preview a rewrite before sending it. Include source revision, target language and options in cache keys, invalidating them after edits. Let users verify names, prices, links, API identifiers and original errors rather than promising perfect automatic accuracy.