# sendVoice - docs

docs / com.github.insanusmokrassar.TelegramBotAPI.extensions.api.send.media / sendVoice

# sendVoice

(common) `suspend fun RequestsExecutor.sendVoice(chatId: ChatIdentifier, voice: InputFile, thumb: InputFile? = null, text: String? = null, parseMode: ParseMode? = null, duration: Long? = null, disableNotification: Boolean = false, replyToMessageId: MessageIdentifier? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<VoiceContent>` (source)
`suspend fun RequestsExecutor.sendVoice(chatId: ChatIdentifier, voice: AudioFile, text: String? = null, parseMode: ParseMode? = null, disableNotification: Boolean = false, replyToMessageId: MessageIdentifier? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<VoiceContent>` (source)