packages feed

telegram-bot-api-7.4.5 / src / Telegram / Bot / API / Methods / DeleteStickerSet.hs

{-# LANGUAGE DataKinds #-}{-# LANGUAGE TypeApplications #-}{-# LANGUAGE TypeOperators #-}module Telegram.Bot.API.Methods.DeleteStickerSet whereimport Data.Proxyimport Data.Textimport Servant.APIimport Servant.Client hiding (Response)import Telegram.Bot.API.MakingRequestsimport Telegram.Bot.API.Types-- ** 'deleteStickerSet'type DeleteStickerSet = "deleteStickerSet"  :> RequiredQueryParam "name" Text  :> Post '[JSON] (Response Bool)-- | Use this method to delete a sticker set that was created by the bot.--   Returns 'True' on success.deleteStickerSet :: Text -- ^ Sticker set name  -> ClientM (Response Bool)deleteStickerSet = client (Proxy @DeleteStickerSet)