diff --git a/tgbotapi.api/src/commonMain/kotlin/dev/inmo/tgbotapi/extensions/api/chat/forum/DeleteForumTopic.kt b/tgbotapi.api/src/commonMain/kotlin/dev/inmo/tgbotapi/extensions/api/chat/forum/DeleteForumTopic.kt index 032ba807b2..6de481c828 100644 --- a/tgbotapi.api/src/commonMain/kotlin/dev/inmo/tgbotapi/extensions/api/chat/forum/DeleteForumTopic.kt +++ b/tgbotapi.api/src/commonMain/kotlin/dev/inmo/tgbotapi/extensions/api/chat/forum/DeleteForumTopic.kt @@ -17,6 +17,11 @@ suspend fun TelegramBot.deleteForumTopic( ) ) +suspend fun TelegramBot.deleteForumTopic( + chatId: ChatIdentifier, + forumTopic: ForumTopic +) = deleteForumTopic(chatId, forumTopic.messageThreadId) + suspend fun TelegramBot.deleteForumTopic( chat: Chat, messageThreadId: MessageThreadId