{-# LANGUAGE DataKinds #-}
{-# LANGUAGE DeriveGeneric #-}
{-# LANGUAGE TypeApplications #-}
{-# LANGUAGE TypeOperators #-}
module Telegram.Bot.API.Methods.SetStickerSetTitle where
import Data.Proxy
import Data.Text
import Servant.API
import Servant.Client hiding (Response)
import Telegram.Bot.API.MakingRequests
import Telegram.Bot.API.Types
type SetStickerSetTitle = "setStickerSetTitle"
:> RequiredQueryParam "name" Text
:> RequiredQueryParam "title" Text
:> Post '[JSON] (Response Bool)
setStickerSetTitle :: Text
-> Text
-> ClientM (Response Bool)
setStickerSetTitle :: Text -> Text -> ClientM (Response Bool)
setStickerSetTitle = Proxy SetStickerSetTitle -> Client ClientM SetStickerSetTitle
forall api.
HasClient ClientM api =>
Proxy api -> Client ClientM api
client (forall t. Proxy t
forall {k} (t :: k). Proxy t
Proxy @SetStickerSetTitle)