replyToEphemeralWithVoice

suspend fun TelegramBot.replyToEphemeralWithVoice(chatId: ChatIdentifier, ephemeralMessageParameters: EphemeralMessageParameters, ephemeralMessageId: EphemeralMessageId, voice: InputFile, text: String? = null, parseMode: ParseMode? = null, allowSendingWithoutReply: Boolean? = null, replyMarkup: KeyboardMarkup? = null): ChatContentMessage<VoiceContent>(source)


suspend fun TelegramBot.replyToEphemeralWithVoice(chatId: EphemeralChatId, voice: InputFile, text: String? = null, parseMode: ParseMode? = null, allowSendingWithoutReply: Boolean? = null, replyMarkup: KeyboardMarkup? = null): ChatContentMessage<VoiceContent>(source)

Convenience overload sourcing an EphemeralMessageParameters object plus EphemeralMessageId from chatId. Throws IllegalArgumentException if chatId does not carry an ephemeralMessageId