mirror of
https://github.com/InsanusMokrassar/TelegramBotAPI.git
synced 2024-06-18 15:55:26 +00:00
15 lines
495 B
Kotlin
15 lines
495 B
Kotlin
package dev.inmo.tgbotapi.extensions.api.chat.stickers
|
|
|
|
import dev.inmo.tgbotapi.bot.TelegramBot
|
|
import dev.inmo.tgbotapi.requests.chat.stickers.DeleteChatStickerSet
|
|
import dev.inmo.tgbotapi.types.ChatIdentifier
|
|
import dev.inmo.tgbotapi.types.chat.abstracts.SupergroupChat
|
|
|
|
suspend fun TelegramBot.deleteChatStickerSet(
|
|
chatId: ChatIdentifier
|
|
) = execute(DeleteChatStickerSet(chatId))
|
|
|
|
suspend fun TelegramBot.deleteChatStickerSet(
|
|
chat: SupergroupChat
|
|
) = deleteChatStickerSet(chat.id)
|