2020-10-04 10:57:39 +00:00
|
|
|
package dev.inmo.tgbotapi.extensions.api.chat.stickers
|
2020-02-15 09:33:04 +00:00
|
|
|
|
2020-10-04 11:06:30 +00:00
|
|
|
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
|
2020-02-15 09:33:04 +00:00
|
|
|
|
2020-10-04 07:18:24 +00:00
|
|
|
suspend fun TelegramBot.deleteChatStickerSet(
|
2020-02-15 09:33:04 +00:00
|
|
|
chatId: ChatIdentifier
|
|
|
|
) = execute(DeleteChatStickerSet(chatId))
|
|
|
|
|
2020-10-04 07:18:24 +00:00
|
|
|
suspend fun TelegramBot.deleteChatStickerSet(
|
2020-02-15 09:33:04 +00:00
|
|
|
chat: SupergroupChat
|
|
|
|
) = deleteChatStickerSet(chat.id)
|