Closed magrega closed 1 year ago
I send a voice message with API but the spectrogram is flat. The audio file is .ogg and OPUS library.
` await using Stream stream = System.IO.File.OpenRead(@"C:\Users\magrega\YandexDisk\проги\audio.ogg");
await client.SendVoiceAsync( chatId: message.Chat.Id, voice: stream!, duration: 1097);`
Please follow issue template If you want to chat, feel free to join our group.
I send a voice message with API but the spectrogram is flat. The audio file is .ogg and OPUS library.
` await using Stream stream = System.IO.File.OpenRead(@"C:\Users\magrega\YandexDisk\проги\audio.ogg");
await client.SendVoiceAsync( chatId: message.Chat.Id, voice: stream!, duration: 1097);`