mirror of
https://github.com/InsanusMokrassar/TelegramBotAPI.git
synced 2026-11-07 12:23:14 +00:00
fix build
This commit is contained in:
1 parent
99bb8d6e0d
commit
bf1e353615
2 files changed
+4
-2
No files matched your search
@@ -23,5 +23,6 @@ data class VoiceFile(
|
||||
|
||||
fun VoiceFile.asAudioFile(
|
||||
performer: String? = null,
|
||||
title: String? = null
|
||||
) = AudioFile(fileId, fileUniqueId, duration, performer, title, mimeType, fileSize)
|
||||
title: String? = null,
|
||||
fileName: String? = null
|
||||
) = AudioFile(fileId, fileUniqueId, duration, performer, title, fileName, mimeType, fileSize)
|
||||
+1
@@ -17,6 +17,7 @@ data class LocationContent(
|
||||
chatId: ChatIdentifier,
|
||||
disableNotification: Boolean,
|
||||
replyToMessageId: MessageIdentifier?,
|
||||
allowSendingWithoutReply: Boolean?,
|
||||
replyMarkup: KeyboardMarkup?
|
||||
): Request<ContentMessage<LocationContent>> = when (location) {
|
||||
is StaticLocation -> SendStaticLocation(
|
||||
|
||||
Reference in new issue
Block a user