LemonChannels.Adapters.Telegram.Transport.VoiceHandler (lemon_channels v0.1.0)

View Source

Telegram-local inbound voice-transcription helper for the transport pipeline.

This module handles extracting voice metadata from inbound Telegram messages, fetching the Telegram voice blob, running configured transcription, and sending user-visible system message errors when needed.

Summary

Functions

Attempt to transcribe an inbound voice message and return a normalized inbound payload, or signal that the message should be skipped.

Functions

maybe_transcribe_voice(state, inbound, send_system_message_fn, extract_message_ids_fn)

Attempt to transcribe an inbound voice message and return a normalized inbound payload, or signal that the message should be skipped.