module TD.Query.GetDefaultProfilePhotoCustomEmojiStickers
  (GetDefaultProfilePhotoCustomEmojiStickers(..)
  ) where

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

-- | Returns default list of custom emoji stickers for placing on a profile photo. Returns 'TD.Data.Stickers.Stickers'
data GetDefaultProfilePhotoCustomEmojiStickers
  = GetDefaultProfilePhotoCustomEmojiStickers
  deriving (GetDefaultProfilePhotoCustomEmojiStickers
-> GetDefaultProfilePhotoCustomEmojiStickers -> Bool
(GetDefaultProfilePhotoCustomEmojiStickers
 -> GetDefaultProfilePhotoCustomEmojiStickers -> Bool)
-> (GetDefaultProfilePhotoCustomEmojiStickers
    -> GetDefaultProfilePhotoCustomEmojiStickers -> Bool)
-> Eq GetDefaultProfilePhotoCustomEmojiStickers
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
$c== :: GetDefaultProfilePhotoCustomEmojiStickers
-> GetDefaultProfilePhotoCustomEmojiStickers -> Bool
== :: GetDefaultProfilePhotoCustomEmojiStickers
-> GetDefaultProfilePhotoCustomEmojiStickers -> Bool
$c/= :: GetDefaultProfilePhotoCustomEmojiStickers
-> GetDefaultProfilePhotoCustomEmojiStickers -> Bool
/= :: GetDefaultProfilePhotoCustomEmojiStickers
-> GetDefaultProfilePhotoCustomEmojiStickers -> Bool
Eq, Int -> GetDefaultProfilePhotoCustomEmojiStickers -> ShowS
[GetDefaultProfilePhotoCustomEmojiStickers] -> ShowS
GetDefaultProfilePhotoCustomEmojiStickers -> String
(Int -> GetDefaultProfilePhotoCustomEmojiStickers -> ShowS)
-> (GetDefaultProfilePhotoCustomEmojiStickers -> String)
-> ([GetDefaultProfilePhotoCustomEmojiStickers] -> ShowS)
-> Show GetDefaultProfilePhotoCustomEmojiStickers
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
$cshowsPrec :: Int -> GetDefaultProfilePhotoCustomEmojiStickers -> ShowS
showsPrec :: Int -> GetDefaultProfilePhotoCustomEmojiStickers -> ShowS
$cshow :: GetDefaultProfilePhotoCustomEmojiStickers -> String
show :: GetDefaultProfilePhotoCustomEmojiStickers -> String
$cshowList :: [GetDefaultProfilePhotoCustomEmojiStickers] -> ShowS
showList :: [GetDefaultProfilePhotoCustomEmojiStickers] -> ShowS
Show)

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

instance AT.ToJSON GetDefaultProfilePhotoCustomEmojiStickers where
  toJSON :: GetDefaultProfilePhotoCustomEmojiStickers -> Value
toJSON
    GetDefaultProfilePhotoCustomEmojiStickers
GetDefaultProfilePhotoCustomEmojiStickers
        = [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
"getDefaultProfilePhotoCustomEmojiStickers"
          ]