From be4043f3c21429d1c599f0fb398d9fec51ee9e6f Mon Sep 17 00:00:00 2001 From: InsanusMokrassar Date: Thu, 6 Feb 2020 23:09:01 +0600 Subject: [PATCH] fix in RequestsExecutor#getUserProfilePhotos extension --- .../TelegramBotAPI/requests/get/GetUserProfilePhotos.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/commonMain/kotlin/com/github/insanusmokrassar/TelegramBotAPI/requests/get/GetUserProfilePhotos.kt b/src/commonMain/kotlin/com/github/insanusmokrassar/TelegramBotAPI/requests/get/GetUserProfilePhotos.kt index d7061b329f..3aba2e74fc 100644 --- a/src/commonMain/kotlin/com/github/insanusmokrassar/TelegramBotAPI/requests/get/GetUserProfilePhotos.kt +++ b/src/commonMain/kotlin/com/github/insanusmokrassar/TelegramBotAPI/requests/get/GetUserProfilePhotos.kt @@ -41,7 +41,7 @@ suspend fun RequestsExecutor.getUserProfilePhotos( ) suspend fun RequestsExecutor.getUserProfilePhotos( - user: User, + user: CommonUser, offset: Int? = null, limit: Int? = null ) = getUserProfilePhotos(user.id, offset, limit)