Skip to content

UpdateSpeechRecognitionTrial

Update · TDLib 1.8.67 · d1085f9c

The parameters of speech recognition without Telegram Premium subscription have changed

UpdateSpeechRecognitionTrial(
  max_media_duration: int32,
  weekly_count: int32,
  left_count: int32,
  next_reset_date: int32
) → Update

max_media_duration

int32

The maximum allowed duration of media for speech recognition without Telegram Premium subscription, in seconds

weekly_count

int32

The total number of allowed speech recognitions per week; 0 if none

left_count

int32

Number of left speech recognition attempts this week

next_reset_date

int32

Point in time (Unix timestamp) when the weekly number of tries will reset; 0 if unknown