module TD.Query.GetDefaultChatPhotoCustomEmojiStickers
  (GetDefaultChatPhotoCustomEmojiStickers(..)
  ) 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 chat photo. Returns 'TD.Data.Stickers.Stickers'
data GetDefaultChatPhotoCustomEmojiStickers
  = GetDefaultChatPhotoCustomEmojiStickers
  deriving (GetDefaultChatPhotoCustomEmojiStickers
-> GetDefaultChatPhotoCustomEmojiStickers -> Bool
(GetDefaultChatPhotoCustomEmojiStickers
 -> GetDefaultChatPhotoCustomEmojiStickers -> Bool)
-> (GetDefaultChatPhotoCustomEmojiStickers
    -> GetDefaultChatPhotoCustomEmojiStickers -> Bool)
-> Eq GetDefaultChatPhotoCustomEmojiStickers
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
$c== :: GetDefaultChatPhotoCustomEmojiStickers
-> GetDefaultChatPhotoCustomEmojiStickers -> Bool
== :: GetDefaultChatPhotoCustomEmojiStickers
-> GetDefaultChatPhotoCustomEmojiStickers -> Bool
$c/= :: GetDefaultChatPhotoCustomEmojiStickers
-> GetDefaultChatPhotoCustomEmojiStickers -> Bool
/= :: GetDefaultChatPhotoCustomEmojiStickers
-> GetDefaultChatPhotoCustomEmojiStickers -> Bool
Eq, Int -> GetDefaultChatPhotoCustomEmojiStickers -> ShowS
[GetDefaultChatPhotoCustomEmojiStickers] -> ShowS
GetDefaultChatPhotoCustomEmojiStickers -> String
(Int -> GetDefaultChatPhotoCustomEmojiStickers -> ShowS)
-> (GetDefaultChatPhotoCustomEmojiStickers -> String)
-> ([GetDefaultChatPhotoCustomEmojiStickers] -> ShowS)
-> Show GetDefaultChatPhotoCustomEmojiStickers
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
$cshowsPrec :: Int -> GetDefaultChatPhotoCustomEmojiStickers -> ShowS
showsPrec :: Int -> GetDefaultChatPhotoCustomEmojiStickers -> ShowS
$cshow :: GetDefaultChatPhotoCustomEmojiStickers -> String
show :: GetDefaultChatPhotoCustomEmojiStickers -> String
$cshowList :: [GetDefaultChatPhotoCustomEmojiStickers] -> ShowS
showList :: [GetDefaultChatPhotoCustomEmojiStickers] -> ShowS
Show)

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

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