diff --git a/crates/teloxide-core/src/types/inline_query_result_audio.rs b/crates/teloxide-core/src/types/inline_query_result_audio.rs index 89a3a77f..9dbbf47b 100644 --- a/crates/teloxide-core/src/types/inline_query_result_audio.rs +++ b/crates/teloxide-core/src/types/inline_query_result_audio.rs @@ -124,7 +124,7 @@ impl InlineQueryResultAudio { } pub fn audio_duration(mut self, val: Seconds) -> Self { - self.audio_duration = Some(val.into()); + self.audio_duration = Some(val); self }