Class: TD::Types::Update::SpeechRecognitionTrial
- Inherits:
-
TD::Types::Update
- Object
- Dry::Struct
- Base
- TD::Types::Update
- TD::Types::Update::SpeechRecognitionTrial
- Defined in:
- lib/tdlib/types/update/speech_recognition_trial.rb
Overview
The parameters of speech recognition without Telegram Premium subscription has changed.
Instance Attribute Summary collapse
-
#left_count ⇒ Integer
Number of left speech recognition attempts this week.
-
#max_media_duration ⇒ Integer
The maximum allowed duration of media for speech recognition without Telegram Premium subscription, in seconds.
-
#next_reset_date ⇒ Integer
Point in time (Unix timestamp) when the weekly number of tries will reset; 0 if unknown.
-
#weekly_count ⇒ Integer
The total number of allowed speech recognitions per week; 0 if none.
Method Summary
Methods inherited from Base
Instance Attribute Details
#left_count ⇒ Integer
Number of left speech recognition attempts this week.
10 11 12 |
# File 'lib/tdlib/types/update/speech_recognition_trial.rb', line 10 def left_count @left_count end |
#max_media_duration ⇒ Integer
The maximum allowed duration of media for speech recognition without Telegram Premium subscription, in seconds.
10 11 12 |
# File 'lib/tdlib/types/update/speech_recognition_trial.rb', line 10 def max_media_duration @max_media_duration end |
#next_reset_date ⇒ Integer
Point in time (Unix timestamp) when the weekly number of tries will reset; 0 if unknown.
10 11 12 |
# File 'lib/tdlib/types/update/speech_recognition_trial.rb', line 10 def next_reset_date @next_reset_date end |
#weekly_count ⇒ Integer
The total number of allowed speech recognitions per week; 0 if none.
10 11 12 |
# File 'lib/tdlib/types/update/speech_recognition_trial.rb', line 10 def weekly_count @weekly_count end |