1
0
mirror of https://github.com/InsanusMokrassar/TelegramBotAPI.git synced 2024-12-23 00:57:13 +00:00

update deleteForumTopic

This commit is contained in:
InsanusMokrassar 2022-11-08 17:29:43 +06:00
parent 0d37147a36
commit dd6b688ae4

View File

@ -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