2020-10-04 10:57:39 +00:00
|
|
|
package dev.inmo.tgbotapi.extensions.api.stickers
|
2020-02-15 09:33:04 +00:00
|
|
|
|
2020-10-04 07:18:24 +00:00
|
|
|
import com.github.insanusmokrassar.TelegramBotAPI.bot.TelegramBot
|
2020-02-15 09:33:04 +00:00
|
|
|
import com.github.insanusmokrassar.TelegramBotAPI.requests.abstracts.FileId
|
|
|
|
import com.github.insanusmokrassar.TelegramBotAPI.requests.stickers.DeleteStickerFromSet
|
|
|
|
import com.github.insanusmokrassar.TelegramBotAPI.types.files.Sticker
|
|
|
|
|
2020-10-04 07:18:24 +00:00
|
|
|
suspend fun TelegramBot.deleteStickerFromSet(
|
2020-02-15 09:33:04 +00:00
|
|
|
sticker: FileId
|
|
|
|
) = execute(
|
|
|
|
DeleteStickerFromSet(
|
|
|
|
sticker
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
2020-10-04 07:18:24 +00:00
|
|
|
suspend fun TelegramBot.deleteStickerFromSet(
|
2020-02-15 09:33:04 +00:00
|
|
|
sticker: Sticker
|
|
|
|
) = deleteStickerFromSet(
|
|
|
|
sticker.fileId
|
|
|
|
)
|