mirror of
https://github.com/InsanusMokrassar/TelegramBotAPI.git
synced 2024-11-29 21:48:43 +00:00
fix build
This commit is contained in:
parent
99bb8d6e0d
commit
bf1e353615
@ -23,5 +23,6 @@ data class VoiceFile(
|
|||||||
|
|
||||||
fun VoiceFile.asAudioFile(
|
fun VoiceFile.asAudioFile(
|
||||||
performer: String? = null,
|
performer: String? = null,
|
||||||
title: String? = null
|
title: String? = null,
|
||||||
) = AudioFile(fileId, fileUniqueId, duration, performer, title, mimeType, fileSize)
|
fileName: String? = null
|
||||||
|
) = AudioFile(fileId, fileUniqueId, duration, performer, title, fileName, mimeType, fileSize)
|
||||||
|
@ -17,6 +17,7 @@ data class LocationContent(
|
|||||||
chatId: ChatIdentifier,
|
chatId: ChatIdentifier,
|
||||||
disableNotification: Boolean,
|
disableNotification: Boolean,
|
||||||
replyToMessageId: MessageIdentifier?,
|
replyToMessageId: MessageIdentifier?,
|
||||||
|
allowSendingWithoutReply: Boolean?,
|
||||||
replyMarkup: KeyboardMarkup?
|
replyMarkup: KeyboardMarkup?
|
||||||
): Request<ContentMessage<LocationContent>> = when (location) {
|
): Request<ContentMessage<LocationContent>> = when (location) {
|
||||||
is StaticLocation -> SendStaticLocation(
|
is StaticLocation -> SendStaticLocation(
|
||||||
|
Loading…
Reference in New Issue
Block a user