diff --git a/src/main/kotlin/com/pischule/memestv/util/TelegramHelper.kt b/src/main/kotlin/com/pischule/memestv/util/TelegramHelper.kt index 6b7cd2a..e349adc 100644 --- a/src/main/kotlin/com/pischule/memestv/util/TelegramHelper.kt +++ b/src/main/kotlin/com/pischule/memestv/util/TelegramHelper.kt @@ -2,4 +2,4 @@ package com.pischule.memestv.util import com.github.kotlintelegrambot.entities.Message -fun Message.getMaxResPhotoId(): String? = this.replyToMessage?.photo?.lastOrNull()?.fileId +fun Message.getMaxResPhotoId(): String? = this.photo?.lastOrNull()?.fileId