mirror of
https://github.com/InsanusMokrassar/TelegramBotAPI.git
synced 2024-07-06 08:10:48 +00:00
15 lines
635 B
Kotlin
15 lines
635 B
Kotlin
|
package com.github.insanusmokrassar.TelegramBotAPI.extensions.api.chat.stickers
|
||
|
|
||
|
import com.github.insanusmokrassar.TelegramBotAPI.bot.RequestsExecutor
|
||
|
import com.github.insanusmokrassar.TelegramBotAPI.requests.chat.stickers.DeleteChatStickerSet
|
||
|
import com.github.insanusmokrassar.TelegramBotAPI.types.ChatIdentifier
|
||
|
import com.github.insanusmokrassar.TelegramBotAPI.types.chat.abstracts.SupergroupChat
|
||
|
|
||
|
suspend fun RequestsExecutor.deleteChatStickerSet(
|
||
|
chatId: ChatIdentifier
|
||
|
) = execute(DeleteChatStickerSet(chatId))
|
||
|
|
||
|
suspend fun RequestsExecutor.deleteChatStickerSet(
|
||
|
chat: SupergroupChat
|
||
|
) = deleteChatStickerSet(chat.id)
|