SendVoice

fun SendVoice(chatId: ChatIdentifier, voice: InputFile, text: String? = null, parseMode: ParseMode? = null, duration: Long? = null, threadId: MessageThreadId? = chatId.threadId, disableNotification: Boolean = false, protectContent: Boolean = false, replyParameters: ReplyParameters? = null, replyMarkup: KeyboardMarkup? = null): Request<ContentMessage<VoiceContent>>
fun SendVoice(chatId: ChatIdentifier, voice: InputFile, entities: TextSourcesList, threadId: MessageThreadId? = chatId.threadId, duration: Long? = null, disableNotification: Boolean = false, protectContent: Boolean = false, replyParameters: ReplyParameters? = null, replyMarkup: KeyboardMarkup? = null): Request<ContentMessage<VoiceContent>>