module TD.Query.GetPremiumStickerExamples
  (GetPremiumStickerExamples(..)
  ) where

import qualified Data.Aeson as A
import qualified Data.Aeson.Types as AT
import qualified TD.Lib.Internal as I

-- | Returns examples of premium stickers for demonstration purposes. Returns 'TD.Data.Stickers.Stickers'
data GetPremiumStickerExamples
  = GetPremiumStickerExamples
  deriving (GetPremiumStickerExamples -> GetPremiumStickerExamples -> Bool
(GetPremiumStickerExamples -> GetPremiumStickerExamples -> Bool)
-> (GetPremiumStickerExamples -> GetPremiumStickerExamples -> Bool)
-> Eq GetPremiumStickerExamples
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
$c== :: GetPremiumStickerExamples -> GetPremiumStickerExamples -> Bool
== :: GetPremiumStickerExamples -> GetPremiumStickerExamples -> Bool
$c/= :: GetPremiumStickerExamples -> GetPremiumStickerExamples -> Bool
/= :: GetPremiumStickerExamples -> GetPremiumStickerExamples -> Bool
Eq, Int -> GetPremiumStickerExamples -> ShowS
[GetPremiumStickerExamples] -> ShowS
GetPremiumStickerExamples -> String
(Int -> GetPremiumStickerExamples -> ShowS)
-> (GetPremiumStickerExamples -> String)
-> ([GetPremiumStickerExamples] -> ShowS)
-> Show GetPremiumStickerExamples
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
$cshowsPrec :: Int -> GetPremiumStickerExamples -> ShowS
showsPrec :: Int -> GetPremiumStickerExamples -> ShowS
$cshow :: GetPremiumStickerExamples -> String
show :: GetPremiumStickerExamples -> String
$cshowList :: [GetPremiumStickerExamples] -> ShowS
showList :: [GetPremiumStickerExamples] -> ShowS
Show)

instance I.ShortShow GetPremiumStickerExamples where
  shortShow :: GetPremiumStickerExamples -> String
shortShow
    GetPremiumStickerExamples
GetPremiumStickerExamples
        = String
"GetPremiumStickerExamples"

instance AT.ToJSON GetPremiumStickerExamples where
  toJSON :: GetPremiumStickerExamples -> Value
toJSON
    GetPremiumStickerExamples
GetPremiumStickerExamples
        = [Pair] -> Value
A.object
          [ Key
"@type" Key -> Value -> Pair
forall kv v. (KeyValue kv, ToJSON v) => Key -> v -> kv
forall v. ToJSON v => Key -> v -> Pair
A..= Text -> Value
AT.String Text
"getPremiumStickerExamples"
          ]