{-# LANGUAGE DeriveGeneric #-}
{-# LANGUAGE DeriveAnyClass #-}
{-# LANGUAGE DerivingStrategies #-}
{-# LANGUAGE DuplicateRecordFields #-}
{-# LANGUAGE TemplateHaskell #-}
module TDLib.Generated.Types where
import GHC.Generics
import Language.Haskell.Codegen.TH
import Data.ByteString.Base64.Type
import qualified Data.Text as T
import Language.TL.I64
type I53 = Int
type I32 = Int
type T = T.Text
data Error
=
Error
{
Error -> I32
code :: I32,
Error -> T
message :: T
}
deriving (I32 -> Error -> ShowS
[Error] -> ShowS
Error -> String
(I32 -> Error -> ShowS)
-> (Error -> String) -> ([Error] -> ShowS) -> Show Error
forall a.
(I32 -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [Error] -> ShowS
$cshowList :: [Error] -> ShowS
show :: Error -> String
$cshow :: Error -> String
showsPrec :: I32 -> Error -> ShowS
$cshowsPrec :: I32 -> Error -> ShowS
Show, Error -> Error -> Bool
(Error -> Error -> Bool) -> (Error -> Error -> Bool) -> Eq Error
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: Error -> Error -> Bool
$c/= :: Error -> Error -> Bool
== :: Error -> Error -> Bool
$c== :: Error -> Error -> Bool
Eq, (forall x. Error -> Rep Error x)
-> (forall x. Rep Error x -> Error) -> Generic Error
forall x. Rep Error x -> Error
forall x. Error -> Rep Error x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x. Rep Error x -> Error
$cfrom :: forall x. Error -> Rep Error x
Generic)
data Ok
=
Ok
{
}
deriving (I32 -> Ok -> ShowS
[Ok] -> ShowS
Ok -> String
(I32 -> Ok -> ShowS)
-> (Ok -> String) -> ([Ok] -> ShowS) -> Show Ok
forall a.
(I32 -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [Ok] -> ShowS
$cshowList :: [Ok] -> ShowS
show :: Ok -> String
$cshow :: Ok -> String
showsPrec :: I32 -> Ok -> ShowS
$cshowsPrec :: I32 -> Ok -> ShowS
Show, Ok -> Ok -> Bool
(Ok -> Ok -> Bool) -> (Ok -> Ok -> Bool) -> Eq Ok
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: Ok -> Ok -> Bool
$c/= :: Ok -> Ok -> Bool
== :: Ok -> Ok -> Bool
$c== :: Ok -> Ok -> Bool
Eq, (forall x. Ok -> Rep Ok x)
-> (forall x. Rep Ok x -> Ok) -> Generic Ok
forall x. Rep Ok x -> Ok
forall x. Ok -> Rep Ok x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x. Rep Ok x -> Ok
$cfrom :: forall x. Ok -> Rep Ok x
Generic)
data TdlibParameters
=
TdlibParameters
{
TdlibParameters -> Bool
useTestDc :: Bool,
TdlibParameters -> T
databaseDirectory :: T,
TdlibParameters -> T
filesDirectory :: T,
TdlibParameters -> Bool
useFileDatabase :: Bool,
TdlibParameters -> Bool
useChatInfoDatabase :: Bool,
TdlibParameters -> Bool
useMessageDatabase :: Bool,
TdlibParameters -> Bool
useSecretChats :: Bool,
TdlibParameters -> I32
apiId :: I32,
TdlibParameters -> T
apiHash :: T,
TdlibParameters -> T
systemLanguageCode :: T,
TdlibParameters -> T
deviceModel :: T,
TdlibParameters -> T
systemVersion :: T,
TdlibParameters -> T
applicationVersion :: T,
TdlibParameters -> Bool
enableStorageOptimizer :: Bool,
TdlibParameters -> Bool
ignoreFileNames :: Bool
}
deriving (I32 -> TdlibParameters -> ShowS
[TdlibParameters] -> ShowS
TdlibParameters -> String
(I32 -> TdlibParameters -> ShowS)
-> (TdlibParameters -> String)
-> ([TdlibParameters] -> ShowS)
-> Show TdlibParameters
forall a.
(I32 -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [TdlibParameters] -> ShowS
$cshowList :: [TdlibParameters] -> ShowS
show :: TdlibParameters -> String
$cshow :: TdlibParameters -> String
showsPrec :: I32 -> TdlibParameters -> ShowS
$cshowsPrec :: I32 -> TdlibParameters -> ShowS
Show, TdlibParameters -> TdlibParameters -> Bool
(TdlibParameters -> TdlibParameters -> Bool)
-> (TdlibParameters -> TdlibParameters -> Bool)
-> Eq TdlibParameters
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: TdlibParameters -> TdlibParameters -> Bool
$c/= :: TdlibParameters -> TdlibParameters -> Bool
== :: TdlibParameters -> TdlibParameters -> Bool
$c== :: TdlibParameters -> TdlibParameters -> Bool
Eq, (forall x. TdlibParameters -> Rep TdlibParameters x)
-> (forall x. Rep TdlibParameters x -> TdlibParameters)
-> Generic TdlibParameters
forall x. Rep TdlibParameters x -> TdlibParameters
forall x. TdlibParameters -> Rep TdlibParameters x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x. Rep TdlibParameters x -> TdlibParameters
$cfrom :: forall x. TdlibParameters -> Rep TdlibParameters x
Generic)
data AuthenticationCodeType
=
AuthenticationCodeTypeTelegramMessage
{
AuthenticationCodeType -> I32
length :: I32
}
|
AuthenticationCodeTypeSms
{
length :: I32
}
|
AuthenticationCodeTypeCall
{
length :: I32
}
|
AuthenticationCodeTypeFlashCall
{
AuthenticationCodeType -> T
pattern_ :: T
}
deriving (I32 -> AuthenticationCodeType -> ShowS
[AuthenticationCodeType] -> ShowS
AuthenticationCodeType -> String
(I32 -> AuthenticationCodeType -> ShowS)
-> (AuthenticationCodeType -> String)
-> ([AuthenticationCodeType] -> ShowS)
-> Show AuthenticationCodeType
forall a.
(I32 -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [AuthenticationCodeType] -> ShowS
$cshowList :: [AuthenticationCodeType] -> ShowS
show :: AuthenticationCodeType -> String
$cshow :: AuthenticationCodeType -> String
showsPrec :: I32 -> AuthenticationCodeType -> ShowS
$cshowsPrec :: I32 -> AuthenticationCodeType -> ShowS
Show, AuthenticationCodeType -> AuthenticationCodeType -> Bool
(AuthenticationCodeType -> AuthenticationCodeType -> Bool)
-> (AuthenticationCodeType -> AuthenticationCodeType -> Bool)
-> Eq AuthenticationCodeType
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: AuthenticationCodeType -> AuthenticationCodeType -> Bool
$c/= :: AuthenticationCodeType -> AuthenticationCodeType -> Bool
== :: AuthenticationCodeType -> AuthenticationCodeType -> Bool
$c== :: AuthenticationCodeType -> AuthenticationCodeType -> Bool
Eq, (forall x. AuthenticationCodeType -> Rep AuthenticationCodeType x)
-> (forall x.
Rep AuthenticationCodeType x -> AuthenticationCodeType)
-> Generic AuthenticationCodeType
forall x. Rep AuthenticationCodeType x -> AuthenticationCodeType
forall x. AuthenticationCodeType -> Rep AuthenticationCodeType x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x. Rep AuthenticationCodeType x -> AuthenticationCodeType
$cfrom :: forall x. AuthenticationCodeType -> Rep AuthenticationCodeType x
Generic)
data AuthenticationCodeInfo
=
AuthenticationCodeInfo
{
AuthenticationCodeInfo -> T
phoneNumber :: T,
AuthenticationCodeInfo -> AuthenticationCodeType
type_ :: AuthenticationCodeType,
AuthenticationCodeInfo -> Maybe AuthenticationCodeType
nextType :: (Maybe) (AuthenticationCodeType),
AuthenticationCodeInfo -> I32
timeout :: I32
}
deriving (I32 -> AuthenticationCodeInfo -> ShowS
[AuthenticationCodeInfo] -> ShowS
AuthenticationCodeInfo -> String
(I32 -> AuthenticationCodeInfo -> ShowS)
-> (AuthenticationCodeInfo -> String)
-> ([AuthenticationCodeInfo] -> ShowS)
-> Show AuthenticationCodeInfo
forall a.
(I32 -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [AuthenticationCodeInfo] -> ShowS
$cshowList :: [AuthenticationCodeInfo] -> ShowS
show :: AuthenticationCodeInfo -> String
$cshow :: AuthenticationCodeInfo -> String
showsPrec :: I32 -> AuthenticationCodeInfo -> ShowS
$cshowsPrec :: I32 -> AuthenticationCodeInfo -> ShowS
Show, AuthenticationCodeInfo -> AuthenticationCodeInfo -> Bool
(AuthenticationCodeInfo -> AuthenticationCodeInfo -> Bool)
-> (AuthenticationCodeInfo -> AuthenticationCodeInfo -> Bool)
-> Eq AuthenticationCodeInfo
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: AuthenticationCodeInfo -> AuthenticationCodeInfo -> Bool
$c/= :: AuthenticationCodeInfo -> AuthenticationCodeInfo -> Bool
== :: AuthenticationCodeInfo -> AuthenticationCodeInfo -> Bool
$c== :: AuthenticationCodeInfo -> AuthenticationCodeInfo -> Bool
Eq, (forall x. AuthenticationCodeInfo -> Rep AuthenticationCodeInfo x)
-> (forall x.
Rep AuthenticationCodeInfo x -> AuthenticationCodeInfo)
-> Generic AuthenticationCodeInfo
forall x. Rep AuthenticationCodeInfo x -> AuthenticationCodeInfo
forall x. AuthenticationCodeInfo -> Rep AuthenticationCodeInfo x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x. Rep AuthenticationCodeInfo x -> AuthenticationCodeInfo
$cfrom :: forall x. AuthenticationCodeInfo -> Rep AuthenticationCodeInfo x
Generic)
data EmailAddressAuthenticationCodeInfo
=
EmailAddressAuthenticationCodeInfo
{
EmailAddressAuthenticationCodeInfo -> T
emailAddressPattern :: T,
EmailAddressAuthenticationCodeInfo -> I32
length :: I32
}
deriving (I32 -> EmailAddressAuthenticationCodeInfo -> ShowS
[EmailAddressAuthenticationCodeInfo] -> ShowS
EmailAddressAuthenticationCodeInfo -> String
(I32 -> EmailAddressAuthenticationCodeInfo -> ShowS)
-> (EmailAddressAuthenticationCodeInfo -> String)
-> ([EmailAddressAuthenticationCodeInfo] -> ShowS)
-> Show EmailAddressAuthenticationCodeInfo
forall a.
(I32 -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [EmailAddressAuthenticationCodeInfo] -> ShowS
$cshowList :: [EmailAddressAuthenticationCodeInfo] -> ShowS
show :: EmailAddressAuthenticationCodeInfo -> String
$cshow :: EmailAddressAuthenticationCodeInfo -> String
showsPrec :: I32 -> EmailAddressAuthenticationCodeInfo -> ShowS
$cshowsPrec :: I32 -> EmailAddressAuthenticationCodeInfo -> ShowS
Show, EmailAddressAuthenticationCodeInfo
-> EmailAddressAuthenticationCodeInfo -> Bool
(EmailAddressAuthenticationCodeInfo
-> EmailAddressAuthenticationCodeInfo -> Bool)
-> (EmailAddressAuthenticationCodeInfo
-> EmailAddressAuthenticationCodeInfo -> Bool)
-> Eq EmailAddressAuthenticationCodeInfo
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: EmailAddressAuthenticationCodeInfo
-> EmailAddressAuthenticationCodeInfo -> Bool
$c/= :: EmailAddressAuthenticationCodeInfo
-> EmailAddressAuthenticationCodeInfo -> Bool
== :: EmailAddressAuthenticationCodeInfo
-> EmailAddressAuthenticationCodeInfo -> Bool
$c== :: EmailAddressAuthenticationCodeInfo
-> EmailAddressAuthenticationCodeInfo -> Bool
Eq, (forall x.
EmailAddressAuthenticationCodeInfo
-> Rep EmailAddressAuthenticationCodeInfo x)
-> (forall x.
Rep EmailAddressAuthenticationCodeInfo x
-> EmailAddressAuthenticationCodeInfo)
-> Generic EmailAddressAuthenticationCodeInfo
forall x.
Rep EmailAddressAuthenticationCodeInfo x
-> EmailAddressAuthenticationCodeInfo
forall x.
EmailAddressAuthenticationCodeInfo
-> Rep EmailAddressAuthenticationCodeInfo x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x.
Rep EmailAddressAuthenticationCodeInfo x
-> EmailAddressAuthenticationCodeInfo
$cfrom :: forall x.
EmailAddressAuthenticationCodeInfo
-> Rep EmailAddressAuthenticationCodeInfo x
Generic)
data TextEntity
=
TextEntity
{
TextEntity -> I32
offset :: I32,
TextEntity -> I32
length :: I32,
TextEntity -> TextEntityType
type_ :: TextEntityType
}
deriving (I32 -> TextEntity -> ShowS
[TextEntity] -> ShowS
TextEntity -> String
(I32 -> TextEntity -> ShowS)
-> (TextEntity -> String)
-> ([TextEntity] -> ShowS)
-> Show TextEntity
forall a.
(I32 -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [TextEntity] -> ShowS
$cshowList :: [TextEntity] -> ShowS
show :: TextEntity -> String
$cshow :: TextEntity -> String
showsPrec :: I32 -> TextEntity -> ShowS
$cshowsPrec :: I32 -> TextEntity -> ShowS
Show, TextEntity -> TextEntity -> Bool
(TextEntity -> TextEntity -> Bool)
-> (TextEntity -> TextEntity -> Bool) -> Eq TextEntity
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: TextEntity -> TextEntity -> Bool
$c/= :: TextEntity -> TextEntity -> Bool
== :: TextEntity -> TextEntity -> Bool
$c== :: TextEntity -> TextEntity -> Bool
Eq, (forall x. TextEntity -> Rep TextEntity x)
-> (forall x. Rep TextEntity x -> TextEntity) -> Generic TextEntity
forall x. Rep TextEntity x -> TextEntity
forall x. TextEntity -> Rep TextEntity x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x. Rep TextEntity x -> TextEntity
$cfrom :: forall x. TextEntity -> Rep TextEntity x
Generic)
data TextEntities
=
TextEntities
{
TextEntities -> [TextEntity]
entities :: [TextEntity]
}
deriving (I32 -> TextEntities -> ShowS
[TextEntities] -> ShowS
TextEntities -> String
(I32 -> TextEntities -> ShowS)
-> (TextEntities -> String)
-> ([TextEntities] -> ShowS)
-> Show TextEntities
forall a.
(I32 -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [TextEntities] -> ShowS
$cshowList :: [TextEntities] -> ShowS
show :: TextEntities -> String
$cshow :: TextEntities -> String
showsPrec :: I32 -> TextEntities -> ShowS
$cshowsPrec :: I32 -> TextEntities -> ShowS
Show, TextEntities -> TextEntities -> Bool
(TextEntities -> TextEntities -> Bool)
-> (TextEntities -> TextEntities -> Bool) -> Eq TextEntities
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: TextEntities -> TextEntities -> Bool
$c/= :: TextEntities -> TextEntities -> Bool
== :: TextEntities -> TextEntities -> Bool
$c== :: TextEntities -> TextEntities -> Bool
Eq, (forall x. TextEntities -> Rep TextEntities x)
-> (forall x. Rep TextEntities x -> TextEntities)
-> Generic TextEntities
forall x. Rep TextEntities x -> TextEntities
forall x. TextEntities -> Rep TextEntities x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x. Rep TextEntities x -> TextEntities
$cfrom :: forall x. TextEntities -> Rep TextEntities x
Generic)
data FormattedText
=
FormattedText
{
FormattedText -> T
text :: T,
FormattedText -> [TextEntity]
entities :: [TextEntity]
}
deriving (I32 -> FormattedText -> ShowS
[FormattedText] -> ShowS
FormattedText -> String
(I32 -> FormattedText -> ShowS)
-> (FormattedText -> String)
-> ([FormattedText] -> ShowS)
-> Show FormattedText
forall a.
(I32 -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [FormattedText] -> ShowS
$cshowList :: [FormattedText] -> ShowS
show :: FormattedText -> String
$cshow :: FormattedText -> String
showsPrec :: I32 -> FormattedText -> ShowS
$cshowsPrec :: I32 -> FormattedText -> ShowS
Show, FormattedText -> FormattedText -> Bool
(FormattedText -> FormattedText -> Bool)
-> (FormattedText -> FormattedText -> Bool) -> Eq FormattedText
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: FormattedText -> FormattedText -> Bool
$c/= :: FormattedText -> FormattedText -> Bool
== :: FormattedText -> FormattedText -> Bool
$c== :: FormattedText -> FormattedText -> Bool
Eq, (forall x. FormattedText -> Rep FormattedText x)
-> (forall x. Rep FormattedText x -> FormattedText)
-> Generic FormattedText
forall x. Rep FormattedText x -> FormattedText
forall x. FormattedText -> Rep FormattedText x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x. Rep FormattedText x -> FormattedText
$cfrom :: forall x. FormattedText -> Rep FormattedText x
Generic)
data TermsOfService
=
TermsOfService
{
TermsOfService -> FormattedText
text :: FormattedText,
TermsOfService -> I32
minUserAge :: I32,
:: Bool
}
deriving (I32 -> TermsOfService -> ShowS
[TermsOfService] -> ShowS
TermsOfService -> String
(I32 -> TermsOfService -> ShowS)
-> (TermsOfService -> String)
-> ([TermsOfService] -> ShowS)
-> Show TermsOfService
forall a.
(I32 -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [TermsOfService] -> ShowS
$cshowList :: [TermsOfService] -> ShowS
show :: TermsOfService -> String
$cshow :: TermsOfService -> String
showsPrec :: I32 -> TermsOfService -> ShowS
$cshowsPrec :: I32 -> TermsOfService -> ShowS
Show, TermsOfService -> TermsOfService -> Bool
(TermsOfService -> TermsOfService -> Bool)
-> (TermsOfService -> TermsOfService -> Bool) -> Eq TermsOfService
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: TermsOfService -> TermsOfService -> Bool
$c/= :: TermsOfService -> TermsOfService -> Bool
== :: TermsOfService -> TermsOfService -> Bool
$c== :: TermsOfService -> TermsOfService -> Bool
Eq, (forall x. TermsOfService -> Rep TermsOfService x)
-> (forall x. Rep TermsOfService x -> TermsOfService)
-> Generic TermsOfService
forall x. Rep TermsOfService x -> TermsOfService
forall x. TermsOfService -> Rep TermsOfService x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x. Rep TermsOfService x -> TermsOfService
$cfrom :: forall x. TermsOfService -> Rep TermsOfService x
Generic)
data AuthorizationState
=
AuthorizationStateWaitTdlibParameters
{
}
|
AuthorizationStateWaitEncryptionKey
{
AuthorizationState -> Bool
isEncrypted :: Bool
}
|
AuthorizationStateWaitPhoneNumber
{
}
|
AuthorizationStateWaitCode
{
AuthorizationState -> AuthenticationCodeInfo
codeInfo :: AuthenticationCodeInfo
}
|
AuthorizationStateWaitOtherDeviceConfirmation
{
AuthorizationState -> T
link :: T
}
|
AuthorizationStateWaitRegistration
{
AuthorizationState -> TermsOfService
termsOfService :: TermsOfService
}
|
AuthorizationStateWaitPassword
{
AuthorizationState -> T
passwordHint :: T,
AuthorizationState -> Bool
hasRecoveryEmailAddress :: Bool,
AuthorizationState -> T
recoveryEmailAddressPattern :: T
}
|
AuthorizationStateReady
{
}
|
AuthorizationStateLoggingOut
{
}
|
AuthorizationStateClosing
{
}
|
AuthorizationStateClosed
{
}
deriving (I32 -> AuthorizationState -> ShowS
[AuthorizationState] -> ShowS
AuthorizationState -> String
(I32 -> AuthorizationState -> ShowS)
-> (AuthorizationState -> String)
-> ([AuthorizationState] -> ShowS)
-> Show AuthorizationState
forall a.
(I32 -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [AuthorizationState] -> ShowS
$cshowList :: [AuthorizationState] -> ShowS
show :: AuthorizationState -> String
$cshow :: AuthorizationState -> String
showsPrec :: I32 -> AuthorizationState -> ShowS
$cshowsPrec :: I32 -> AuthorizationState -> ShowS
Show, AuthorizationState -> AuthorizationState -> Bool
(AuthorizationState -> AuthorizationState -> Bool)
-> (AuthorizationState -> AuthorizationState -> Bool)
-> Eq AuthorizationState
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: AuthorizationState -> AuthorizationState -> Bool
$c/= :: AuthorizationState -> AuthorizationState -> Bool
== :: AuthorizationState -> AuthorizationState -> Bool
$c== :: AuthorizationState -> AuthorizationState -> Bool
Eq, (forall x. AuthorizationState -> Rep AuthorizationState x)
-> (forall x. Rep AuthorizationState x -> AuthorizationState)
-> Generic AuthorizationState
forall x. Rep AuthorizationState x -> AuthorizationState
forall x. AuthorizationState -> Rep AuthorizationState x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x. Rep AuthorizationState x -> AuthorizationState
$cfrom :: forall x. AuthorizationState -> Rep AuthorizationState x
Generic)
data PasswordState
=
PasswordState
{
PasswordState -> Bool
hasPassword :: Bool,
PasswordState -> T
passwordHint :: T,
PasswordState -> Bool
hasRecoveryEmailAddress :: Bool,
PasswordState -> Bool
hasPassportData :: Bool,
PasswordState -> Maybe EmailAddressAuthenticationCodeInfo
recoveryEmailAddressCodeInfo :: (Maybe) (EmailAddressAuthenticationCodeInfo)
}
deriving (I32 -> PasswordState -> ShowS
[PasswordState] -> ShowS
PasswordState -> String
(I32 -> PasswordState -> ShowS)
-> (PasswordState -> String)
-> ([PasswordState] -> ShowS)
-> Show PasswordState
forall a.
(I32 -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [PasswordState] -> ShowS
$cshowList :: [PasswordState] -> ShowS
show :: PasswordState -> String
$cshow :: PasswordState -> String
showsPrec :: I32 -> PasswordState -> ShowS
$cshowsPrec :: I32 -> PasswordState -> ShowS
Show, PasswordState -> PasswordState -> Bool
(PasswordState -> PasswordState -> Bool)
-> (PasswordState -> PasswordState -> Bool) -> Eq PasswordState
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: PasswordState -> PasswordState -> Bool
$c/= :: PasswordState -> PasswordState -> Bool
== :: PasswordState -> PasswordState -> Bool
$c== :: PasswordState -> PasswordState -> Bool
Eq, (forall x. PasswordState -> Rep PasswordState x)
-> (forall x. Rep PasswordState x -> PasswordState)
-> Generic PasswordState
forall x. Rep PasswordState x -> PasswordState
forall x. PasswordState -> Rep PasswordState x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x. Rep PasswordState x -> PasswordState
$cfrom :: forall x. PasswordState -> Rep PasswordState x
Generic)
data RecoveryEmailAddress
=
RecoveryEmailAddress
{
RecoveryEmailAddress -> T
recoveryEmailAddress :: T
}
deriving (I32 -> RecoveryEmailAddress -> ShowS
[RecoveryEmailAddress] -> ShowS
RecoveryEmailAddress -> String
(I32 -> RecoveryEmailAddress -> ShowS)
-> (RecoveryEmailAddress -> String)
-> ([RecoveryEmailAddress] -> ShowS)
-> Show RecoveryEmailAddress
forall a.
(I32 -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [RecoveryEmailAddress] -> ShowS
$cshowList :: [RecoveryEmailAddress] -> ShowS
show :: RecoveryEmailAddress -> String
$cshow :: RecoveryEmailAddress -> String
showsPrec :: I32 -> RecoveryEmailAddress -> ShowS
$cshowsPrec :: I32 -> RecoveryEmailAddress -> ShowS
Show, RecoveryEmailAddress -> RecoveryEmailAddress -> Bool
(RecoveryEmailAddress -> RecoveryEmailAddress -> Bool)
-> (RecoveryEmailAddress -> RecoveryEmailAddress -> Bool)
-> Eq RecoveryEmailAddress
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: RecoveryEmailAddress -> RecoveryEmailAddress -> Bool
$c/= :: RecoveryEmailAddress -> RecoveryEmailAddress -> Bool
== :: RecoveryEmailAddress -> RecoveryEmailAddress -> Bool
$c== :: RecoveryEmailAddress -> RecoveryEmailAddress -> Bool
Eq, (forall x. RecoveryEmailAddress -> Rep RecoveryEmailAddress x)
-> (forall x. Rep RecoveryEmailAddress x -> RecoveryEmailAddress)
-> Generic RecoveryEmailAddress
forall x. Rep RecoveryEmailAddress x -> RecoveryEmailAddress
forall x. RecoveryEmailAddress -> Rep RecoveryEmailAddress x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x. Rep RecoveryEmailAddress x -> RecoveryEmailAddress
$cfrom :: forall x. RecoveryEmailAddress -> Rep RecoveryEmailAddress x
Generic)
data TemporaryPasswordState
=
TemporaryPasswordState
{
TemporaryPasswordState -> Bool
hasPassword :: Bool,
TemporaryPasswordState -> I32
validFor :: I32
}
deriving (I32 -> TemporaryPasswordState -> ShowS
[TemporaryPasswordState] -> ShowS
TemporaryPasswordState -> String
(I32 -> TemporaryPasswordState -> ShowS)
-> (TemporaryPasswordState -> String)
-> ([TemporaryPasswordState] -> ShowS)
-> Show TemporaryPasswordState
forall a.
(I32 -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [TemporaryPasswordState] -> ShowS
$cshowList :: [TemporaryPasswordState] -> ShowS
show :: TemporaryPasswordState -> String
$cshow :: TemporaryPasswordState -> String
showsPrec :: I32 -> TemporaryPasswordState -> ShowS
$cshowsPrec :: I32 -> TemporaryPasswordState -> ShowS
Show, TemporaryPasswordState -> TemporaryPasswordState -> Bool
(TemporaryPasswordState -> TemporaryPasswordState -> Bool)
-> (TemporaryPasswordState -> TemporaryPasswordState -> Bool)
-> Eq TemporaryPasswordState
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: TemporaryPasswordState -> TemporaryPasswordState -> Bool
$c/= :: TemporaryPasswordState -> TemporaryPasswordState -> Bool
== :: TemporaryPasswordState -> TemporaryPasswordState -> Bool
$c== :: TemporaryPasswordState -> TemporaryPasswordState -> Bool
Eq, (forall x. TemporaryPasswordState -> Rep TemporaryPasswordState x)
-> (forall x.
Rep TemporaryPasswordState x -> TemporaryPasswordState)
-> Generic TemporaryPasswordState
forall x. Rep TemporaryPasswordState x -> TemporaryPasswordState
forall x. TemporaryPasswordState -> Rep TemporaryPasswordState x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x. Rep TemporaryPasswordState x -> TemporaryPasswordState
$cfrom :: forall x. TemporaryPasswordState -> Rep TemporaryPasswordState x
Generic)
data LocalFile
=
LocalFile
{
LocalFile -> T
path :: T,
LocalFile -> Bool
canBeDownloaded :: Bool,
LocalFile -> Bool
canBeDeleted :: Bool,
LocalFile -> Bool
isDownloadingActive :: Bool,
LocalFile -> Bool
isDownloadingCompleted :: Bool,
LocalFile -> I32
downloadOffset :: I32,
LocalFile -> I32
downloadedPrefixSize :: I32,
LocalFile -> I32
downloadedSize :: I32
}
deriving (I32 -> LocalFile -> ShowS
[LocalFile] -> ShowS
LocalFile -> String
(I32 -> LocalFile -> ShowS)
-> (LocalFile -> String)
-> ([LocalFile] -> ShowS)
-> Show LocalFile
forall a.
(I32 -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [LocalFile] -> ShowS
$cshowList :: [LocalFile] -> ShowS
show :: LocalFile -> String
$cshow :: LocalFile -> String
showsPrec :: I32 -> LocalFile -> ShowS
$cshowsPrec :: I32 -> LocalFile -> ShowS
Show, LocalFile -> LocalFile -> Bool
(LocalFile -> LocalFile -> Bool)
-> (LocalFile -> LocalFile -> Bool) -> Eq LocalFile
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: LocalFile -> LocalFile -> Bool
$c/= :: LocalFile -> LocalFile -> Bool
== :: LocalFile -> LocalFile -> Bool
$c== :: LocalFile -> LocalFile -> Bool
Eq, (forall x. LocalFile -> Rep LocalFile x)
-> (forall x. Rep LocalFile x -> LocalFile) -> Generic LocalFile
forall x. Rep LocalFile x -> LocalFile
forall x. LocalFile -> Rep LocalFile x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x. Rep LocalFile x -> LocalFile
$cfrom :: forall x. LocalFile -> Rep LocalFile x
Generic)
data RemoteFile
=
RemoteFile
{
RemoteFile -> T
id :: T,
RemoteFile -> T
uniqueId :: T,
RemoteFile -> Bool
isUploadingActive :: Bool,
RemoteFile -> Bool
isUploadingCompleted :: Bool,
RemoteFile -> I32
uploadedSize :: I32
}
deriving (I32 -> RemoteFile -> ShowS
[RemoteFile] -> ShowS
RemoteFile -> String
(I32 -> RemoteFile -> ShowS)
-> (RemoteFile -> String)
-> ([RemoteFile] -> ShowS)
-> Show RemoteFile
forall a.
(I32 -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [RemoteFile] -> ShowS
$cshowList :: [RemoteFile] -> ShowS
show :: RemoteFile -> String
$cshow :: RemoteFile -> String
showsPrec :: I32 -> RemoteFile -> ShowS
$cshowsPrec :: I32 -> RemoteFile -> ShowS
Show, RemoteFile -> RemoteFile -> Bool
(RemoteFile -> RemoteFile -> Bool)
-> (RemoteFile -> RemoteFile -> Bool) -> Eq RemoteFile
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: RemoteFile -> RemoteFile -> Bool
$c/= :: RemoteFile -> RemoteFile -> Bool
== :: RemoteFile -> RemoteFile -> Bool
$c== :: RemoteFile -> RemoteFile -> Bool
Eq, (forall x. RemoteFile -> Rep RemoteFile x)
-> (forall x. Rep RemoteFile x -> RemoteFile) -> Generic RemoteFile
forall x. Rep RemoteFile x -> RemoteFile
forall x. RemoteFile -> Rep RemoteFile x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x. Rep RemoteFile x -> RemoteFile
$cfrom :: forall x. RemoteFile -> Rep RemoteFile x
Generic)
data File
=
File
{
File -> I32
id :: I32,
File -> I32
size :: I32,
File -> I32
expectedSize :: I32,
File -> LocalFile
local :: LocalFile,
File -> RemoteFile
remote :: RemoteFile
}
deriving (I32 -> File -> ShowS
[File] -> ShowS
File -> String
(I32 -> File -> ShowS)
-> (File -> String) -> ([File] -> ShowS) -> Show File
forall a.
(I32 -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [File] -> ShowS
$cshowList :: [File] -> ShowS
show :: File -> String
$cshow :: File -> String
showsPrec :: I32 -> File -> ShowS
$cshowsPrec :: I32 -> File -> ShowS
Show, File -> File -> Bool
(File -> File -> Bool) -> (File -> File -> Bool) -> Eq File
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: File -> File -> Bool
$c/= :: File -> File -> Bool
== :: File -> File -> Bool
$c== :: File -> File -> Bool
Eq, (forall x. File -> Rep File x)
-> (forall x. Rep File x -> File) -> Generic File
forall x. Rep File x -> File
forall x. File -> Rep File x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x. Rep File x -> File
$cfrom :: forall x. File -> Rep File x
Generic)
data InputFile
=
InputFileId
{
InputFile -> I32
id_2 :: I32
}
|
InputFileRemote
{
InputFile -> T
id :: T
}
|
InputFileLocal
{
InputFile -> T
path :: T
}
|
InputFileGenerated
{
InputFile -> T
originalPath :: T,
InputFile -> T
conversion :: T,
InputFile -> I32
expectedSize :: I32
}
deriving (I32 -> InputFile -> ShowS
[InputFile] -> ShowS
InputFile -> String
(I32 -> InputFile -> ShowS)
-> (InputFile -> String)
-> ([InputFile] -> ShowS)
-> Show InputFile
forall a.
(I32 -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [InputFile] -> ShowS
$cshowList :: [InputFile] -> ShowS
show :: InputFile -> String
$cshow :: InputFile -> String
showsPrec :: I32 -> InputFile -> ShowS
$cshowsPrec :: I32 -> InputFile -> ShowS
Show, InputFile -> InputFile -> Bool
(InputFile -> InputFile -> Bool)
-> (InputFile -> InputFile -> Bool) -> Eq InputFile
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: InputFile -> InputFile -> Bool
$c/= :: InputFile -> InputFile -> Bool
== :: InputFile -> InputFile -> Bool
$c== :: InputFile -> InputFile -> Bool
Eq, (forall x. InputFile -> Rep InputFile x)
-> (forall x. Rep InputFile x -> InputFile) -> Generic InputFile
forall x. Rep InputFile x -> InputFile
forall x. InputFile -> Rep InputFile x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x. Rep InputFile x -> InputFile
$cfrom :: forall x. InputFile -> Rep InputFile x
Generic)
data PhotoSize
=
PhotoSize
{
PhotoSize -> T
type_ :: T,
PhotoSize -> File
photo :: File,
PhotoSize -> I32
width :: I32,
PhotoSize -> I32
height :: I32
}
deriving (I32 -> PhotoSize -> ShowS
[PhotoSize] -> ShowS
PhotoSize -> String
(I32 -> PhotoSize -> ShowS)
-> (PhotoSize -> String)
-> ([PhotoSize] -> ShowS)
-> Show PhotoSize
forall a.
(I32 -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [PhotoSize] -> ShowS
$cshowList :: [PhotoSize] -> ShowS
show :: PhotoSize -> String
$cshow :: PhotoSize -> String
showsPrec :: I32 -> PhotoSize -> ShowS
$cshowsPrec :: I32 -> PhotoSize -> ShowS
Show, PhotoSize -> PhotoSize -> Bool
(PhotoSize -> PhotoSize -> Bool)
-> (PhotoSize -> PhotoSize -> Bool) -> Eq PhotoSize
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: PhotoSize -> PhotoSize -> Bool
$c/= :: PhotoSize -> PhotoSize -> Bool
== :: PhotoSize -> PhotoSize -> Bool
$c== :: PhotoSize -> PhotoSize -> Bool
Eq, (forall x. PhotoSize -> Rep PhotoSize x)
-> (forall x. Rep PhotoSize x -> PhotoSize) -> Generic PhotoSize
forall x. Rep PhotoSize x -> PhotoSize
forall x. PhotoSize -> Rep PhotoSize x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x. Rep PhotoSize x -> PhotoSize
$cfrom :: forall x. PhotoSize -> Rep PhotoSize x
Generic)
data Minithumbnail
=
Minithumbnail
{
Minithumbnail -> I32
width :: I32,
Minithumbnail -> I32
height :: I32,
Minithumbnail -> ByteString64
data_ :: ByteString64
}
deriving (I32 -> Minithumbnail -> ShowS
[Minithumbnail] -> ShowS
Minithumbnail -> String
(I32 -> Minithumbnail -> ShowS)
-> (Minithumbnail -> String)
-> ([Minithumbnail] -> ShowS)
-> Show Minithumbnail
forall a.
(I32 -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [Minithumbnail] -> ShowS
$cshowList :: [Minithumbnail] -> ShowS
show :: Minithumbnail -> String
$cshow :: Minithumbnail -> String
showsPrec :: I32 -> Minithumbnail -> ShowS
$cshowsPrec :: I32 -> Minithumbnail -> ShowS
Show, Minithumbnail -> Minithumbnail -> Bool
(Minithumbnail -> Minithumbnail -> Bool)
-> (Minithumbnail -> Minithumbnail -> Bool) -> Eq Minithumbnail
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: Minithumbnail -> Minithumbnail -> Bool
$c/= :: Minithumbnail -> Minithumbnail -> Bool
== :: Minithumbnail -> Minithumbnail -> Bool
$c== :: Minithumbnail -> Minithumbnail -> Bool
Eq, (forall x. Minithumbnail -> Rep Minithumbnail x)
-> (forall x. Rep Minithumbnail x -> Minithumbnail)
-> Generic Minithumbnail
forall x. Rep Minithumbnail x -> Minithumbnail
forall x. Minithumbnail -> Rep Minithumbnail x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x. Rep Minithumbnail x -> Minithumbnail
$cfrom :: forall x. Minithumbnail -> Rep Minithumbnail x
Generic)
data ThumbnailFormat
=
ThumbnailFormatJpeg
{
}
|
ThumbnailFormatPng
{
}
|
ThumbnailFormatWebp
{
}
|
ThumbnailFormatGif
{
}
|
ThumbnailFormatTgs
{
}
|
ThumbnailFormatMpeg4
{
}
deriving (I32 -> ThumbnailFormat -> ShowS
[ThumbnailFormat] -> ShowS
ThumbnailFormat -> String
(I32 -> ThumbnailFormat -> ShowS)
-> (ThumbnailFormat -> String)
-> ([ThumbnailFormat] -> ShowS)
-> Show ThumbnailFormat
forall a.
(I32 -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [ThumbnailFormat] -> ShowS
$cshowList :: [ThumbnailFormat] -> ShowS
show :: ThumbnailFormat -> String
$cshow :: ThumbnailFormat -> String
showsPrec :: I32 -> ThumbnailFormat -> ShowS
$cshowsPrec :: I32 -> ThumbnailFormat -> ShowS
Show, ThumbnailFormat -> ThumbnailFormat -> Bool
(ThumbnailFormat -> ThumbnailFormat -> Bool)
-> (ThumbnailFormat -> ThumbnailFormat -> Bool)
-> Eq ThumbnailFormat
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: ThumbnailFormat -> ThumbnailFormat -> Bool
$c/= :: ThumbnailFormat -> ThumbnailFormat -> Bool
== :: ThumbnailFormat -> ThumbnailFormat -> Bool
$c== :: ThumbnailFormat -> ThumbnailFormat -> Bool
Eq, (forall x. ThumbnailFormat -> Rep ThumbnailFormat x)
-> (forall x. Rep ThumbnailFormat x -> ThumbnailFormat)
-> Generic ThumbnailFormat
forall x. Rep ThumbnailFormat x -> ThumbnailFormat
forall x. ThumbnailFormat -> Rep ThumbnailFormat x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x. Rep ThumbnailFormat x -> ThumbnailFormat
$cfrom :: forall x. ThumbnailFormat -> Rep ThumbnailFormat x
Generic)
data Thumbnail
=
Thumbnail
{
Thumbnail -> ThumbnailFormat
format :: ThumbnailFormat,
Thumbnail -> I32
width :: I32,
Thumbnail -> I32
height :: I32,
Thumbnail -> File
file :: File
}
deriving (I32 -> Thumbnail -> ShowS
[Thumbnail] -> ShowS
Thumbnail -> String
(I32 -> Thumbnail -> ShowS)
-> (Thumbnail -> String)
-> ([Thumbnail] -> ShowS)
-> Show Thumbnail
forall a.
(I32 -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [Thumbnail] -> ShowS
$cshowList :: [Thumbnail] -> ShowS
show :: Thumbnail -> String
$cshow :: Thumbnail -> String
showsPrec :: I32 -> Thumbnail -> ShowS
$cshowsPrec :: I32 -> Thumbnail -> ShowS
Show, Thumbnail -> Thumbnail -> Bool
(Thumbnail -> Thumbnail -> Bool)
-> (Thumbnail -> Thumbnail -> Bool) -> Eq Thumbnail
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: Thumbnail -> Thumbnail -> Bool
$c/= :: Thumbnail -> Thumbnail -> Bool
== :: Thumbnail -> Thumbnail -> Bool
$c== :: Thumbnail -> Thumbnail -> Bool
Eq, (forall x. Thumbnail -> Rep Thumbnail x)
-> (forall x. Rep Thumbnail x -> Thumbnail) -> Generic Thumbnail
forall x. Rep Thumbnail x -> Thumbnail
forall x. Thumbnail -> Rep Thumbnail x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x. Rep Thumbnail x -> Thumbnail
$cfrom :: forall x. Thumbnail -> Rep Thumbnail x
Generic)
data MaskPoint
=
MaskPointForehead
{
}
|
MaskPointEyes
{
}
|
MaskPointMouth
{
}
|
MaskPointChin
{
}
deriving (I32 -> MaskPoint -> ShowS
[MaskPoint] -> ShowS
MaskPoint -> String
(I32 -> MaskPoint -> ShowS)
-> (MaskPoint -> String)
-> ([MaskPoint] -> ShowS)
-> Show MaskPoint
forall a.
(I32 -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [MaskPoint] -> ShowS
$cshowList :: [MaskPoint] -> ShowS
show :: MaskPoint -> String
$cshow :: MaskPoint -> String
showsPrec :: I32 -> MaskPoint -> ShowS
$cshowsPrec :: I32 -> MaskPoint -> ShowS
Show, MaskPoint -> MaskPoint -> Bool
(MaskPoint -> MaskPoint -> Bool)
-> (MaskPoint -> MaskPoint -> Bool) -> Eq MaskPoint
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: MaskPoint -> MaskPoint -> Bool
$c/= :: MaskPoint -> MaskPoint -> Bool
== :: MaskPoint -> MaskPoint -> Bool
$c== :: MaskPoint -> MaskPoint -> Bool
Eq, (forall x. MaskPoint -> Rep MaskPoint x)
-> (forall x. Rep MaskPoint x -> MaskPoint) -> Generic MaskPoint
forall x. Rep MaskPoint x -> MaskPoint
forall x. MaskPoint -> Rep MaskPoint x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x. Rep MaskPoint x -> MaskPoint
$cfrom :: forall x. MaskPoint -> Rep MaskPoint x
Generic)
data MaskPosition
=
MaskPosition
{
MaskPosition -> MaskPoint
point :: MaskPoint,
MaskPosition -> Double
xShift :: Double,
MaskPosition -> Double
yShift :: Double,
MaskPosition -> Double
scale :: Double
}
deriving (I32 -> MaskPosition -> ShowS
[MaskPosition] -> ShowS
MaskPosition -> String
(I32 -> MaskPosition -> ShowS)
-> (MaskPosition -> String)
-> ([MaskPosition] -> ShowS)
-> Show MaskPosition
forall a.
(I32 -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [MaskPosition] -> ShowS
$cshowList :: [MaskPosition] -> ShowS
show :: MaskPosition -> String
$cshow :: MaskPosition -> String
showsPrec :: I32 -> MaskPosition -> ShowS
$cshowsPrec :: I32 -> MaskPosition -> ShowS
Show, MaskPosition -> MaskPosition -> Bool
(MaskPosition -> MaskPosition -> Bool)
-> (MaskPosition -> MaskPosition -> Bool) -> Eq MaskPosition
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: MaskPosition -> MaskPosition -> Bool
$c/= :: MaskPosition -> MaskPosition -> Bool
== :: MaskPosition -> MaskPosition -> Bool
$c== :: MaskPosition -> MaskPosition -> Bool
Eq, (forall x. MaskPosition -> Rep MaskPosition x)
-> (forall x. Rep MaskPosition x -> MaskPosition)
-> Generic MaskPosition
forall x. Rep MaskPosition x -> MaskPosition
forall x. MaskPosition -> Rep MaskPosition x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x. Rep MaskPosition x -> MaskPosition
$cfrom :: forall x. MaskPosition -> Rep MaskPosition x
Generic)
data PollOption
=
PollOption
{
PollOption -> T
text :: T,
PollOption -> I32
voterCount :: I32,
PollOption -> I32
votePercentage :: I32,
PollOption -> Bool
isChosen :: Bool,
PollOption -> Bool
isBeingChosen :: Bool
}
deriving (I32 -> PollOption -> ShowS
[PollOption] -> ShowS
PollOption -> String
(I32 -> PollOption -> ShowS)
-> (PollOption -> String)
-> ([PollOption] -> ShowS)
-> Show PollOption
forall a.
(I32 -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [PollOption] -> ShowS
$cshowList :: [PollOption] -> ShowS
show :: PollOption -> String
$cshow :: PollOption -> String
showsPrec :: I32 -> PollOption -> ShowS
$cshowsPrec :: I32 -> PollOption -> ShowS
Show, PollOption -> PollOption -> Bool
(PollOption -> PollOption -> Bool)
-> (PollOption -> PollOption -> Bool) -> Eq PollOption
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: PollOption -> PollOption -> Bool
$c/= :: PollOption -> PollOption -> Bool
== :: PollOption -> PollOption -> Bool
$c== :: PollOption -> PollOption -> Bool
Eq, (forall x. PollOption -> Rep PollOption x)
-> (forall x. Rep PollOption x -> PollOption) -> Generic PollOption
forall x. Rep PollOption x -> PollOption
forall x. PollOption -> Rep PollOption x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x. Rep PollOption x -> PollOption
$cfrom :: forall x. PollOption -> Rep PollOption x
Generic)
data PollType
=
PollTypeRegular
{
PollType -> Bool
allowMultipleAnswers :: Bool
}
|
PollTypeQuiz
{
PollType -> I32
correctOptionId :: I32,
PollType -> FormattedText
explanation :: FormattedText
}
deriving (I32 -> PollType -> ShowS
[PollType] -> ShowS
PollType -> String
(I32 -> PollType -> ShowS)
-> (PollType -> String) -> ([PollType] -> ShowS) -> Show PollType
forall a.
(I32 -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [PollType] -> ShowS
$cshowList :: [PollType] -> ShowS
show :: PollType -> String
$cshow :: PollType -> String
showsPrec :: I32 -> PollType -> ShowS
$cshowsPrec :: I32 -> PollType -> ShowS
Show, PollType -> PollType -> Bool
(PollType -> PollType -> Bool)
-> (PollType -> PollType -> Bool) -> Eq PollType
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: PollType -> PollType -> Bool
$c/= :: PollType -> PollType -> Bool
== :: PollType -> PollType -> Bool
$c== :: PollType -> PollType -> Bool
Eq, (forall x. PollType -> Rep PollType x)
-> (forall x. Rep PollType x -> PollType) -> Generic PollType
forall x. Rep PollType x -> PollType
forall x. PollType -> Rep PollType x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x. Rep PollType x -> PollType
$cfrom :: forall x. PollType -> Rep PollType x
Generic)
data Animation
=
Animation
{
Animation -> I32
duration :: I32,
Animation -> I32
width :: I32,
Animation -> I32
height :: I32,
Animation -> T
fileName :: T,
Animation -> T
mimeType :: T,
Animation -> Bool
hasStickers :: Bool,
Animation -> Maybe Minithumbnail
minithumbnail :: (Maybe) (Minithumbnail),
Animation -> Maybe Thumbnail
thumbnail :: (Maybe) (Thumbnail),
Animation -> File
animation :: File
}
deriving (I32 -> Animation -> ShowS
[Animation] -> ShowS
Animation -> String
(I32 -> Animation -> ShowS)
-> (Animation -> String)
-> ([Animation] -> ShowS)
-> Show Animation
forall a.
(I32 -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [Animation] -> ShowS
$cshowList :: [Animation] -> ShowS
show :: Animation -> String
$cshow :: Animation -> String
showsPrec :: I32 -> Animation -> ShowS
$cshowsPrec :: I32 -> Animation -> ShowS
Show, Animation -> Animation -> Bool
(Animation -> Animation -> Bool)
-> (Animation -> Animation -> Bool) -> Eq Animation
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: Animation -> Animation -> Bool
$c/= :: Animation -> Animation -> Bool
== :: Animation -> Animation -> Bool
$c== :: Animation -> Animation -> Bool
Eq, (forall x. Animation -> Rep Animation x)
-> (forall x. Rep Animation x -> Animation) -> Generic Animation
forall x. Rep Animation x -> Animation
forall x. Animation -> Rep Animation x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x. Rep Animation x -> Animation
$cfrom :: forall x. Animation -> Rep Animation x
Generic)
data Audio
=
Audio
{
Audio -> I32
duration :: I32,
Audio -> T
title :: T,
Audio -> T
performer :: T,
Audio -> T
fileName :: T,
Audio -> T
mimeType :: T,
Audio -> Maybe Minithumbnail
albumCoverMinithumbnail :: (Maybe) (Minithumbnail),
Audio -> Maybe Thumbnail
albumCoverThumbnail :: (Maybe) (Thumbnail),
Audio -> File
audio :: File
}
deriving (I32 -> Audio -> ShowS
[Audio] -> ShowS
Audio -> String
(I32 -> Audio -> ShowS)
-> (Audio -> String) -> ([Audio] -> ShowS) -> Show Audio
forall a.
(I32 -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [Audio] -> ShowS
$cshowList :: [Audio] -> ShowS
show :: Audio -> String
$cshow :: Audio -> String
showsPrec :: I32 -> Audio -> ShowS
$cshowsPrec :: I32 -> Audio -> ShowS
Show, Audio -> Audio -> Bool
(Audio -> Audio -> Bool) -> (Audio -> Audio -> Bool) -> Eq Audio
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: Audio -> Audio -> Bool
$c/= :: Audio -> Audio -> Bool
== :: Audio -> Audio -> Bool
$c== :: Audio -> Audio -> Bool
Eq, (forall x. Audio -> Rep Audio x)
-> (forall x. Rep Audio x -> Audio) -> Generic Audio
forall x. Rep Audio x -> Audio
forall x. Audio -> Rep Audio x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x. Rep Audio x -> Audio
$cfrom :: forall x. Audio -> Rep Audio x
Generic)
data Document
=
Document
{
Document -> T
fileName :: T,
Document -> T
mimeType :: T,
Document -> Maybe Minithumbnail
minithumbnail :: (Maybe) (Minithumbnail),
Document -> Maybe Thumbnail
thumbnail :: (Maybe) (Thumbnail),
Document -> File
document :: File
}
deriving (I32 -> Document -> ShowS
[Document] -> ShowS
Document -> String
(I32 -> Document -> ShowS)
-> (Document -> String) -> ([Document] -> ShowS) -> Show Document
forall a.
(I32 -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [Document] -> ShowS
$cshowList :: [Document] -> ShowS
show :: Document -> String
$cshow :: Document -> String
showsPrec :: I32 -> Document -> ShowS
$cshowsPrec :: I32 -> Document -> ShowS
Show, Document -> Document -> Bool
(Document -> Document -> Bool)
-> (Document -> Document -> Bool) -> Eq Document
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: Document -> Document -> Bool
$c/= :: Document -> Document -> Bool
== :: Document -> Document -> Bool
$c== :: Document -> Document -> Bool
Eq, (forall x. Document -> Rep Document x)
-> (forall x. Rep Document x -> Document) -> Generic Document
forall x. Rep Document x -> Document
forall x. Document -> Rep Document x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x. Rep Document x -> Document
$cfrom :: forall x. Document -> Rep Document x
Generic)
data Photo
=
Photo
{
Photo -> Bool
hasStickers :: Bool,
Photo -> Maybe Minithumbnail
minithumbnail :: (Maybe) (Minithumbnail),
Photo -> [PhotoSize]
sizes :: [PhotoSize]
}
deriving (I32 -> Photo -> ShowS
[Photo] -> ShowS
Photo -> String
(I32 -> Photo -> ShowS)
-> (Photo -> String) -> ([Photo] -> ShowS) -> Show Photo
forall a.
(I32 -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [Photo] -> ShowS
$cshowList :: [Photo] -> ShowS
show :: Photo -> String
$cshow :: Photo -> String
showsPrec :: I32 -> Photo -> ShowS
$cshowsPrec :: I32 -> Photo -> ShowS
Show, Photo -> Photo -> Bool
(Photo -> Photo -> Bool) -> (Photo -> Photo -> Bool) -> Eq Photo
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: Photo -> Photo -> Bool
$c/= :: Photo -> Photo -> Bool
== :: Photo -> Photo -> Bool
$c== :: Photo -> Photo -> Bool
Eq, (forall x. Photo -> Rep Photo x)
-> (forall x. Rep Photo x -> Photo) -> Generic Photo
forall x. Rep Photo x -> Photo
forall x. Photo -> Rep Photo x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x. Rep Photo x -> Photo
$cfrom :: forall x. Photo -> Rep Photo x
Generic)
data Sticker
=
Sticker
{
Sticker -> I64
setId :: I64,
Sticker -> I32
width :: I32,
Sticker -> I32
height :: I32,
Sticker -> T
emoji :: T,
Sticker -> Bool
isAnimated :: Bool,
Sticker -> Bool
isMask :: Bool,
Sticker -> Maybe MaskPosition
maskPosition :: (Maybe) (MaskPosition),
Sticker -> Maybe Thumbnail
thumbnail :: (Maybe) (Thumbnail),
Sticker -> File
sticker :: File
}
deriving (I32 -> Sticker -> ShowS
[Sticker] -> ShowS
Sticker -> String
(I32 -> Sticker -> ShowS)
-> (Sticker -> String) -> ([Sticker] -> ShowS) -> Show Sticker
forall a.
(I32 -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [Sticker] -> ShowS
$cshowList :: [Sticker] -> ShowS
show :: Sticker -> String
$cshow :: Sticker -> String
showsPrec :: I32 -> Sticker -> ShowS
$cshowsPrec :: I32 -> Sticker -> ShowS
Show, Sticker -> Sticker -> Bool
(Sticker -> Sticker -> Bool)
-> (Sticker -> Sticker -> Bool) -> Eq Sticker
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: Sticker -> Sticker -> Bool
$c/= :: Sticker -> Sticker -> Bool
== :: Sticker -> Sticker -> Bool
$c== :: Sticker -> Sticker -> Bool
Eq, (forall x. Sticker -> Rep Sticker x)
-> (forall x. Rep Sticker x -> Sticker) -> Generic Sticker
forall x. Rep Sticker x -> Sticker
forall x. Sticker -> Rep Sticker x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x. Rep Sticker x -> Sticker
$cfrom :: forall x. Sticker -> Rep Sticker x
Generic)
data Video
=
Video
{
Video -> I32
duration :: I32,
Video -> I32
width :: I32,
Video -> I32
height :: I32,
Video -> T
fileName :: T,
Video -> T
mimeType :: T,
Video -> Bool
hasStickers :: Bool,
Video -> Bool
supportsStreaming :: Bool,
Video -> Maybe Minithumbnail
minithumbnail :: (Maybe) (Minithumbnail),
Video -> Maybe Thumbnail
thumbnail :: (Maybe) (Thumbnail),
Video -> File
video :: File
}
deriving (I32 -> Video -> ShowS
[Video] -> ShowS
Video -> String
(I32 -> Video -> ShowS)
-> (Video -> String) -> ([Video] -> ShowS) -> Show Video
forall a.
(I32 -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [Video] -> ShowS
$cshowList :: [Video] -> ShowS
show :: Video -> String
$cshow :: Video -> String
showsPrec :: I32 -> Video -> ShowS
$cshowsPrec :: I32 -> Video -> ShowS
Show, Video -> Video -> Bool
(Video -> Video -> Bool) -> (Video -> Video -> Bool) -> Eq Video
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: Video -> Video -> Bool
$c/= :: Video -> Video -> Bool
== :: Video -> Video -> Bool
$c== :: Video -> Video -> Bool
Eq, (forall x. Video -> Rep Video x)
-> (forall x. Rep Video x -> Video) -> Generic Video
forall x. Rep Video x -> Video
forall x. Video -> Rep Video x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x. Rep Video x -> Video
$cfrom :: forall x. Video -> Rep Video x
Generic)
data VideoNote
=
VideoNote
{
VideoNote -> I32
duration :: I32,
VideoNote -> I32
length :: I32,
VideoNote -> Maybe Minithumbnail
minithumbnail :: (Maybe) (Minithumbnail),
VideoNote -> Maybe Thumbnail
thumbnail :: (Maybe) (Thumbnail),
VideoNote -> File
video :: File
}
deriving (I32 -> VideoNote -> ShowS
[VideoNote] -> ShowS
VideoNote -> String
(I32 -> VideoNote -> ShowS)
-> (VideoNote -> String)
-> ([VideoNote] -> ShowS)
-> Show VideoNote
forall a.
(I32 -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [VideoNote] -> ShowS
$cshowList :: [VideoNote] -> ShowS
show :: VideoNote -> String
$cshow :: VideoNote -> String
showsPrec :: I32 -> VideoNote -> ShowS
$cshowsPrec :: I32 -> VideoNote -> ShowS
Show, VideoNote -> VideoNote -> Bool
(VideoNote -> VideoNote -> Bool)
-> (VideoNote -> VideoNote -> Bool) -> Eq VideoNote
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: VideoNote -> VideoNote -> Bool
$c/= :: VideoNote -> VideoNote -> Bool
== :: VideoNote -> VideoNote -> Bool
$c== :: VideoNote -> VideoNote -> Bool
Eq, (forall x. VideoNote -> Rep VideoNote x)
-> (forall x. Rep VideoNote x -> VideoNote) -> Generic VideoNote
forall x. Rep VideoNote x -> VideoNote
forall x. VideoNote -> Rep VideoNote x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x. Rep VideoNote x -> VideoNote
$cfrom :: forall x. VideoNote -> Rep VideoNote x
Generic)
data VoiceNote
=
VoiceNote
{
VoiceNote -> I32
duration :: I32,
VoiceNote -> ByteString64
waveform :: ByteString64,
VoiceNote -> T
mimeType :: T,
VoiceNote -> File
voice :: File
}
deriving (I32 -> VoiceNote -> ShowS
[VoiceNote] -> ShowS
VoiceNote -> String
(I32 -> VoiceNote -> ShowS)
-> (VoiceNote -> String)
-> ([VoiceNote] -> ShowS)
-> Show VoiceNote
forall a.
(I32 -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [VoiceNote] -> ShowS
$cshowList :: [VoiceNote] -> ShowS
show :: VoiceNote -> String
$cshow :: VoiceNote -> String
showsPrec :: I32 -> VoiceNote -> ShowS
$cshowsPrec :: I32 -> VoiceNote -> ShowS
Show, VoiceNote -> VoiceNote -> Bool
(VoiceNote -> VoiceNote -> Bool)
-> (VoiceNote -> VoiceNote -> Bool) -> Eq VoiceNote
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: VoiceNote -> VoiceNote -> Bool
$c/= :: VoiceNote -> VoiceNote -> Bool
== :: VoiceNote -> VoiceNote -> Bool
$c== :: VoiceNote -> VoiceNote -> Bool
Eq, (forall x. VoiceNote -> Rep VoiceNote x)
-> (forall x. Rep VoiceNote x -> VoiceNote) -> Generic VoiceNote
forall x. Rep VoiceNote x -> VoiceNote
forall x. VoiceNote -> Rep VoiceNote x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x. Rep VoiceNote x -> VoiceNote
$cfrom :: forall x. VoiceNote -> Rep VoiceNote x
Generic)
data Contact
=
Contact
{
Contact -> T
phoneNumber :: T,
Contact -> T
firstName :: T,
Contact -> T
lastName :: T,
Contact -> T
vcard :: T,
Contact -> I32
userId :: I32
}
deriving (I32 -> Contact -> ShowS
[Contact] -> ShowS
Contact -> String
(I32 -> Contact -> ShowS)
-> (Contact -> String) -> ([Contact] -> ShowS) -> Show Contact
forall a.
(I32 -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [Contact] -> ShowS
$cshowList :: [Contact] -> ShowS
show :: Contact -> String
$cshow :: Contact -> String
showsPrec :: I32 -> Contact -> ShowS
$cshowsPrec :: I32 -> Contact -> ShowS
Show, Contact -> Contact -> Bool
(Contact -> Contact -> Bool)
-> (Contact -> Contact -> Bool) -> Eq Contact
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: Contact -> Contact -> Bool
$c/= :: Contact -> Contact -> Bool
== :: Contact -> Contact -> Bool
$c== :: Contact -> Contact -> Bool
Eq, (forall x. Contact -> Rep Contact x)
-> (forall x. Rep Contact x -> Contact) -> Generic Contact
forall x. Rep Contact x -> Contact
forall x. Contact -> Rep Contact x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x. Rep Contact x -> Contact
$cfrom :: forall x. Contact -> Rep Contact x
Generic)
data Location
=
Location
{
Location -> Double
latitude :: Double,
Location -> Double
longitude :: Double
}
deriving (I32 -> Location -> ShowS
[Location] -> ShowS
Location -> String
(I32 -> Location -> ShowS)
-> (Location -> String) -> ([Location] -> ShowS) -> Show Location
forall a.
(I32 -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [Location] -> ShowS
$cshowList :: [Location] -> ShowS
show :: Location -> String
$cshow :: Location -> String
showsPrec :: I32 -> Location -> ShowS
$cshowsPrec :: I32 -> Location -> ShowS
Show, Location -> Location -> Bool
(Location -> Location -> Bool)
-> (Location -> Location -> Bool) -> Eq Location
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: Location -> Location -> Bool
$c/= :: Location -> Location -> Bool
== :: Location -> Location -> Bool
$c== :: Location -> Location -> Bool
Eq, (forall x. Location -> Rep Location x)
-> (forall x. Rep Location x -> Location) -> Generic Location
forall x. Rep Location x -> Location
forall x. Location -> Rep Location x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x. Rep Location x -> Location
$cfrom :: forall x. Location -> Rep Location x
Generic)
data Venue
=
Venue
{
Venue -> Location
location :: Location,
Venue -> T
title :: T,
Venue -> T
address :: T,
Venue -> T
provider :: T,
Venue -> T
id :: T,
Venue -> T
type_ :: T
}
deriving (I32 -> Venue -> ShowS
[Venue] -> ShowS
Venue -> String
(I32 -> Venue -> ShowS)
-> (Venue -> String) -> ([Venue] -> ShowS) -> Show Venue
forall a.
(I32 -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [Venue] -> ShowS
$cshowList :: [Venue] -> ShowS
show :: Venue -> String
$cshow :: Venue -> String
showsPrec :: I32 -> Venue -> ShowS
$cshowsPrec :: I32 -> Venue -> ShowS
Show, Venue -> Venue -> Bool
(Venue -> Venue -> Bool) -> (Venue -> Venue -> Bool) -> Eq Venue
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: Venue -> Venue -> Bool
$c/= :: Venue -> Venue -> Bool
== :: Venue -> Venue -> Bool
$c== :: Venue -> Venue -> Bool
Eq, (forall x. Venue -> Rep Venue x)
-> (forall x. Rep Venue x -> Venue) -> Generic Venue
forall x. Rep Venue x -> Venue
forall x. Venue -> Rep Venue x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x. Rep Venue x -> Venue
$cfrom :: forall x. Venue -> Rep Venue x
Generic)
data Game
=
Game
{
Game -> I64
id :: I64,
Game -> T
shortName :: T,
Game -> T
title :: T,
Game -> FormattedText
text :: FormattedText,
Game -> T
description :: T,
Game -> Photo
photo :: Photo,
Game -> Maybe Animation
animation :: (Maybe) (Animation)
}
deriving (I32 -> Game -> ShowS
[Game] -> ShowS
Game -> String
(I32 -> Game -> ShowS)
-> (Game -> String) -> ([Game] -> ShowS) -> Show Game
forall a.
(I32 -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [Game] -> ShowS
$cshowList :: [Game] -> ShowS
show :: Game -> String
$cshow :: Game -> String
showsPrec :: I32 -> Game -> ShowS
$cshowsPrec :: I32 -> Game -> ShowS
Show, Game -> Game -> Bool
(Game -> Game -> Bool) -> (Game -> Game -> Bool) -> Eq Game
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: Game -> Game -> Bool
$c/= :: Game -> Game -> Bool
== :: Game -> Game -> Bool
$c== :: Game -> Game -> Bool
Eq, (forall x. Game -> Rep Game x)
-> (forall x. Rep Game x -> Game) -> Generic Game
forall x. Rep Game x -> Game
forall x. Game -> Rep Game x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x. Rep Game x -> Game
$cfrom :: forall x. Game -> Rep Game x
Generic)
data Poll
=
Poll
{
Poll -> I64
id :: I64,
Poll -> T
question :: T,
Poll -> [PollOption]
options :: [PollOption],
Poll -> I32
totalVoterCount :: I32,
Poll -> [I32]
recentVoterUserIds :: [I32],
Poll -> Bool
isAnonymous :: Bool,
Poll -> PollType
type_ :: PollType,
Poll -> I32
openPeriod :: I32,
Poll -> I32
closeDate :: I32,
Poll -> Bool
isClosed :: Bool
}
deriving (I32 -> Poll -> ShowS
[Poll] -> ShowS
Poll -> String
(I32 -> Poll -> ShowS)
-> (Poll -> String) -> ([Poll] -> ShowS) -> Show Poll
forall a.
(I32 -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [Poll] -> ShowS
$cshowList :: [Poll] -> ShowS
show :: Poll -> String
$cshow :: Poll -> String
showsPrec :: I32 -> Poll -> ShowS
$cshowsPrec :: I32 -> Poll -> ShowS
Show, Poll -> Poll -> Bool
(Poll -> Poll -> Bool) -> (Poll -> Poll -> Bool) -> Eq Poll
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: Poll -> Poll -> Bool
$c/= :: Poll -> Poll -> Bool
== :: Poll -> Poll -> Bool
$c== :: Poll -> Poll -> Bool
Eq, (forall x. Poll -> Rep Poll x)
-> (forall x. Rep Poll x -> Poll) -> Generic Poll
forall x. Rep Poll x -> Poll
forall x. Poll -> Rep Poll x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x. Rep Poll x -> Poll
$cfrom :: forall x. Poll -> Rep Poll x
Generic)
data ProfilePhoto
=
ProfilePhoto
{
ProfilePhoto -> I64
id :: I64,
ProfilePhoto -> File
small :: File,
ProfilePhoto -> File
big :: File
}
deriving (I32 -> ProfilePhoto -> ShowS
[ProfilePhoto] -> ShowS
ProfilePhoto -> String
(I32 -> ProfilePhoto -> ShowS)
-> (ProfilePhoto -> String)
-> ([ProfilePhoto] -> ShowS)
-> Show ProfilePhoto
forall a.
(I32 -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [ProfilePhoto] -> ShowS
$cshowList :: [ProfilePhoto] -> ShowS
show :: ProfilePhoto -> String
$cshow :: ProfilePhoto -> String
showsPrec :: I32 -> ProfilePhoto -> ShowS
$cshowsPrec :: I32 -> ProfilePhoto -> ShowS
Show, ProfilePhoto -> ProfilePhoto -> Bool
(ProfilePhoto -> ProfilePhoto -> Bool)
-> (ProfilePhoto -> ProfilePhoto -> Bool) -> Eq ProfilePhoto
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: ProfilePhoto -> ProfilePhoto -> Bool
$c/= :: ProfilePhoto -> ProfilePhoto -> Bool
== :: ProfilePhoto -> ProfilePhoto -> Bool
$c== :: ProfilePhoto -> ProfilePhoto -> Bool
Eq, (forall x. ProfilePhoto -> Rep ProfilePhoto x)
-> (forall x. Rep ProfilePhoto x -> ProfilePhoto)
-> Generic ProfilePhoto
forall x. Rep ProfilePhoto x -> ProfilePhoto
forall x. ProfilePhoto -> Rep ProfilePhoto x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x. Rep ProfilePhoto x -> ProfilePhoto
$cfrom :: forall x. ProfilePhoto -> Rep ProfilePhoto x
Generic)
data ChatPhoto
=
ChatPhoto
{
ChatPhoto -> File
small :: File,
ChatPhoto -> File
big :: File
}
deriving (I32 -> ChatPhoto -> ShowS
[ChatPhoto] -> ShowS
ChatPhoto -> String
(I32 -> ChatPhoto -> ShowS)
-> (ChatPhoto -> String)
-> ([ChatPhoto] -> ShowS)
-> Show ChatPhoto
forall a.
(I32 -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [ChatPhoto] -> ShowS
$cshowList :: [ChatPhoto] -> ShowS
show :: ChatPhoto -> String
$cshow :: ChatPhoto -> String
showsPrec :: I32 -> ChatPhoto -> ShowS
$cshowsPrec :: I32 -> ChatPhoto -> ShowS
Show, ChatPhoto -> ChatPhoto -> Bool
(ChatPhoto -> ChatPhoto -> Bool)
-> (ChatPhoto -> ChatPhoto -> Bool) -> Eq ChatPhoto
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: ChatPhoto -> ChatPhoto -> Bool
$c/= :: ChatPhoto -> ChatPhoto -> Bool
== :: ChatPhoto -> ChatPhoto -> Bool
$c== :: ChatPhoto -> ChatPhoto -> Bool
Eq, (forall x. ChatPhoto -> Rep ChatPhoto x)
-> (forall x. Rep ChatPhoto x -> ChatPhoto) -> Generic ChatPhoto
forall x. Rep ChatPhoto x -> ChatPhoto
forall x. ChatPhoto -> Rep ChatPhoto x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x. Rep ChatPhoto x -> ChatPhoto
$cfrom :: forall x. ChatPhoto -> Rep ChatPhoto x
Generic)
data UserType
=
UserTypeRegular
{
}
|
UserTypeDeleted
{
}
|
UserTypeBot
{
UserType -> Bool
canJoinGroups :: Bool,
UserType -> Bool
canReadAllGroupMessages :: Bool,
UserType -> Bool
isInline :: Bool,
UserType -> T
inlineQueryPlaceholder :: T,
UserType -> Bool
needLocation :: Bool
}
|
UserTypeUnknown
{
}
deriving (I32 -> UserType -> ShowS
[UserType] -> ShowS
UserType -> String
(I32 -> UserType -> ShowS)
-> (UserType -> String) -> ([UserType] -> ShowS) -> Show UserType
forall a.
(I32 -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [UserType] -> ShowS
$cshowList :: [UserType] -> ShowS
show :: UserType -> String
$cshow :: UserType -> String
showsPrec :: I32 -> UserType -> ShowS
$cshowsPrec :: I32 -> UserType -> ShowS
Show, UserType -> UserType -> Bool
(UserType -> UserType -> Bool)
-> (UserType -> UserType -> Bool) -> Eq UserType
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: UserType -> UserType -> Bool
$c/= :: UserType -> UserType -> Bool
== :: UserType -> UserType -> Bool
$c== :: UserType -> UserType -> Bool
Eq, (forall x. UserType -> Rep UserType x)
-> (forall x. Rep UserType x -> UserType) -> Generic UserType
forall x. Rep UserType x -> UserType
forall x. UserType -> Rep UserType x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x. Rep UserType x -> UserType
$cfrom :: forall x. UserType -> Rep UserType x
Generic)
data BotCommand
=
BotCommand
{
BotCommand -> T
command :: T,
BotCommand -> T
description :: T
}
deriving (I32 -> BotCommand -> ShowS
[BotCommand] -> ShowS
BotCommand -> String
(I32 -> BotCommand -> ShowS)
-> (BotCommand -> String)
-> ([BotCommand] -> ShowS)
-> Show BotCommand
forall a.
(I32 -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [BotCommand] -> ShowS
$cshowList :: [BotCommand] -> ShowS
show :: BotCommand -> String
$cshow :: BotCommand -> String
showsPrec :: I32 -> BotCommand -> ShowS
$cshowsPrec :: I32 -> BotCommand -> ShowS
Show, BotCommand -> BotCommand -> Bool
(BotCommand -> BotCommand -> Bool)
-> (BotCommand -> BotCommand -> Bool) -> Eq BotCommand
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: BotCommand -> BotCommand -> Bool
$c/= :: BotCommand -> BotCommand -> Bool
== :: BotCommand -> BotCommand -> Bool
$c== :: BotCommand -> BotCommand -> Bool
Eq, (forall x. BotCommand -> Rep BotCommand x)
-> (forall x. Rep BotCommand x -> BotCommand) -> Generic BotCommand
forall x. Rep BotCommand x -> BotCommand
forall x. BotCommand -> Rep BotCommand x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x. Rep BotCommand x -> BotCommand
$cfrom :: forall x. BotCommand -> Rep BotCommand x
Generic)
data BotInfo
=
BotInfo
{
BotInfo -> T
description :: T,
BotInfo -> [BotCommand]
commands :: [BotCommand]
}
deriving (I32 -> BotInfo -> ShowS
[BotInfo] -> ShowS
BotInfo -> String
(I32 -> BotInfo -> ShowS)
-> (BotInfo -> String) -> ([BotInfo] -> ShowS) -> Show BotInfo
forall a.
(I32 -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [BotInfo] -> ShowS
$cshowList :: [BotInfo] -> ShowS
show :: BotInfo -> String
$cshow :: BotInfo -> String
showsPrec :: I32 -> BotInfo -> ShowS
$cshowsPrec :: I32 -> BotInfo -> ShowS
Show, BotInfo -> BotInfo -> Bool
(BotInfo -> BotInfo -> Bool)
-> (BotInfo -> BotInfo -> Bool) -> Eq BotInfo
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: BotInfo -> BotInfo -> Bool
$c/= :: BotInfo -> BotInfo -> Bool
== :: BotInfo -> BotInfo -> Bool
$c== :: BotInfo -> BotInfo -> Bool
Eq, (forall x. BotInfo -> Rep BotInfo x)
-> (forall x. Rep BotInfo x -> BotInfo) -> Generic BotInfo
forall x. Rep BotInfo x -> BotInfo
forall x. BotInfo -> Rep BotInfo x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x. Rep BotInfo x -> BotInfo
$cfrom :: forall x. BotInfo -> Rep BotInfo x
Generic)
data ChatLocation
=
ChatLocation
{
ChatLocation -> Location
location :: Location,
ChatLocation -> T
address :: T
}
deriving (I32 -> ChatLocation -> ShowS
[ChatLocation] -> ShowS
ChatLocation -> String
(I32 -> ChatLocation -> ShowS)
-> (ChatLocation -> String)
-> ([ChatLocation] -> ShowS)
-> Show ChatLocation
forall a.
(I32 -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [ChatLocation] -> ShowS
$cshowList :: [ChatLocation] -> ShowS
show :: ChatLocation -> String
$cshow :: ChatLocation -> String
showsPrec :: I32 -> ChatLocation -> ShowS
$cshowsPrec :: I32 -> ChatLocation -> ShowS
Show, ChatLocation -> ChatLocation -> Bool
(ChatLocation -> ChatLocation -> Bool)
-> (ChatLocation -> ChatLocation -> Bool) -> Eq ChatLocation
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: ChatLocation -> ChatLocation -> Bool
$c/= :: ChatLocation -> ChatLocation -> Bool
== :: ChatLocation -> ChatLocation -> Bool
$c== :: ChatLocation -> ChatLocation -> Bool
Eq, (forall x. ChatLocation -> Rep ChatLocation x)
-> (forall x. Rep ChatLocation x -> ChatLocation)
-> Generic ChatLocation
forall x. Rep ChatLocation x -> ChatLocation
forall x. ChatLocation -> Rep ChatLocation x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x. Rep ChatLocation x -> ChatLocation
$cfrom :: forall x. ChatLocation -> Rep ChatLocation x
Generic)
data User
=
User
{
User -> I32
id :: I32,
User -> T
firstName :: T,
User -> T
lastName :: T,
User -> T
username :: T,
User -> T
phoneNumber :: T,
User -> UserStatus
status :: UserStatus,
User -> Maybe ProfilePhoto
profilePhoto :: (Maybe) (ProfilePhoto),
User -> Bool
isContact :: Bool,
User -> Bool
isMutualContact :: Bool,
User -> Bool
isVerified :: Bool,
User -> Bool
isSupport :: Bool,
User -> T
restrictionReason :: T,
User -> Bool
isScam :: Bool,
User -> Bool
haveAccess :: Bool,
User -> UserType
type_ :: UserType,
User -> T
languageCode :: T
}
deriving (I32 -> User -> ShowS
[User] -> ShowS
User -> String
(I32 -> User -> ShowS)
-> (User -> String) -> ([User] -> ShowS) -> Show User
forall a.
(I32 -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [User] -> ShowS
$cshowList :: [User] -> ShowS
show :: User -> String
$cshow :: User -> String
showsPrec :: I32 -> User -> ShowS
$cshowsPrec :: I32 -> User -> ShowS
Show, User -> User -> Bool
(User -> User -> Bool) -> (User -> User -> Bool) -> Eq User
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: User -> User -> Bool
$c/= :: User -> User -> Bool
== :: User -> User -> Bool
$c== :: User -> User -> Bool
Eq, (forall x. User -> Rep User x)
-> (forall x. Rep User x -> User) -> Generic User
forall x. Rep User x -> User
forall x. User -> Rep User x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x. Rep User x -> User
$cfrom :: forall x. User -> Rep User x
Generic)
data UserFullInfo
=
UserFullInfo
{
UserFullInfo -> Bool
isBlocked :: Bool,
UserFullInfo -> Bool
canBeCalled :: Bool,
UserFullInfo -> Bool
hasPrivateCalls :: Bool,
UserFullInfo -> Bool
needPhoneNumberPrivacyException :: Bool,
UserFullInfo -> T
bio :: T,
UserFullInfo -> T
shareText :: T,
UserFullInfo -> I32
groupInCommonCount :: I32,
UserFullInfo -> Maybe BotInfo
botInfo :: (Maybe) (BotInfo)
}
deriving (I32 -> UserFullInfo -> ShowS
[UserFullInfo] -> ShowS
UserFullInfo -> String
(I32 -> UserFullInfo -> ShowS)
-> (UserFullInfo -> String)
-> ([UserFullInfo] -> ShowS)
-> Show UserFullInfo
forall a.
(I32 -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [UserFullInfo] -> ShowS
$cshowList :: [UserFullInfo] -> ShowS
show :: UserFullInfo -> String
$cshow :: UserFullInfo -> String
showsPrec :: I32 -> UserFullInfo -> ShowS
$cshowsPrec :: I32 -> UserFullInfo -> ShowS
Show, UserFullInfo -> UserFullInfo -> Bool
(UserFullInfo -> UserFullInfo -> Bool)
-> (UserFullInfo -> UserFullInfo -> Bool) -> Eq UserFullInfo
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: UserFullInfo -> UserFullInfo -> Bool
$c/= :: UserFullInfo -> UserFullInfo -> Bool
== :: UserFullInfo -> UserFullInfo -> Bool
$c== :: UserFullInfo -> UserFullInfo -> Bool
Eq, (forall x. UserFullInfo -> Rep UserFullInfo x)
-> (forall x. Rep UserFullInfo x -> UserFullInfo)
-> Generic UserFullInfo
forall x. Rep UserFullInfo x -> UserFullInfo
forall x. UserFullInfo -> Rep UserFullInfo x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x. Rep UserFullInfo x -> UserFullInfo
$cfrom :: forall x. UserFullInfo -> Rep UserFullInfo x
Generic)
data UserProfilePhoto
=
UserProfilePhoto
{
UserProfilePhoto -> I64
id :: I64,
UserProfilePhoto -> I32
addedDate :: I32,
UserProfilePhoto -> [PhotoSize]
sizes :: [PhotoSize]
}
deriving (I32 -> UserProfilePhoto -> ShowS
[UserProfilePhoto] -> ShowS
UserProfilePhoto -> String
(I32 -> UserProfilePhoto -> ShowS)
-> (UserProfilePhoto -> String)
-> ([UserProfilePhoto] -> ShowS)
-> Show UserProfilePhoto
forall a.
(I32 -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [UserProfilePhoto] -> ShowS
$cshowList :: [UserProfilePhoto] -> ShowS
show :: UserProfilePhoto -> String
$cshow :: UserProfilePhoto -> String
showsPrec :: I32 -> UserProfilePhoto -> ShowS
$cshowsPrec :: I32 -> UserProfilePhoto -> ShowS
Show, UserProfilePhoto -> UserProfilePhoto -> Bool
(UserProfilePhoto -> UserProfilePhoto -> Bool)
-> (UserProfilePhoto -> UserProfilePhoto -> Bool)
-> Eq UserProfilePhoto
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: UserProfilePhoto -> UserProfilePhoto -> Bool
$c/= :: UserProfilePhoto -> UserProfilePhoto -> Bool
== :: UserProfilePhoto -> UserProfilePhoto -> Bool
$c== :: UserProfilePhoto -> UserProfilePhoto -> Bool
Eq, (forall x. UserProfilePhoto -> Rep UserProfilePhoto x)
-> (forall x. Rep UserProfilePhoto x -> UserProfilePhoto)
-> Generic UserProfilePhoto
forall x. Rep UserProfilePhoto x -> UserProfilePhoto
forall x. UserProfilePhoto -> Rep UserProfilePhoto x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x. Rep UserProfilePhoto x -> UserProfilePhoto
$cfrom :: forall x. UserProfilePhoto -> Rep UserProfilePhoto x
Generic)
data UserProfilePhotos
=
UserProfilePhotos
{
UserProfilePhotos -> I32
totalCount :: I32,
UserProfilePhotos -> [UserProfilePhoto]
photos :: [UserProfilePhoto]
}
deriving (I32 -> UserProfilePhotos -> ShowS
[UserProfilePhotos] -> ShowS
UserProfilePhotos -> String
(I32 -> UserProfilePhotos -> ShowS)
-> (UserProfilePhotos -> String)
-> ([UserProfilePhotos] -> ShowS)
-> Show UserProfilePhotos
forall a.
(I32 -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [UserProfilePhotos] -> ShowS
$cshowList :: [UserProfilePhotos] -> ShowS
show :: UserProfilePhotos -> String
$cshow :: UserProfilePhotos -> String
showsPrec :: I32 -> UserProfilePhotos -> ShowS
$cshowsPrec :: I32 -> UserProfilePhotos -> ShowS
Show, UserProfilePhotos -> UserProfilePhotos -> Bool
(UserProfilePhotos -> UserProfilePhotos -> Bool)
-> (UserProfilePhotos -> UserProfilePhotos -> Bool)
-> Eq UserProfilePhotos
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: UserProfilePhotos -> UserProfilePhotos -> Bool
$c/= :: UserProfilePhotos -> UserProfilePhotos -> Bool
== :: UserProfilePhotos -> UserProfilePhotos -> Bool
$c== :: UserProfilePhotos -> UserProfilePhotos -> Bool
Eq, (forall x. UserProfilePhotos -> Rep UserProfilePhotos x)
-> (forall x. Rep UserProfilePhotos x -> UserProfilePhotos)
-> Generic UserProfilePhotos
forall x. Rep UserProfilePhotos x -> UserProfilePhotos
forall x. UserProfilePhotos -> Rep UserProfilePhotos x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x. Rep UserProfilePhotos x -> UserProfilePhotos
$cfrom :: forall x. UserProfilePhotos -> Rep UserProfilePhotos x
Generic)
data Users
=
Users
{
Users -> I32
totalCount :: I32,
Users -> [I32]
userIds :: [I32]
}
deriving (I32 -> Users -> ShowS
[Users] -> ShowS
Users -> String
(I32 -> Users -> ShowS)
-> (Users -> String) -> ([Users] -> ShowS) -> Show Users
forall a.
(I32 -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [Users] -> ShowS
$cshowList :: [Users] -> ShowS
show :: Users -> String
$cshow :: Users -> String
showsPrec :: I32 -> Users -> ShowS
$cshowsPrec :: I32 -> Users -> ShowS
Show, Users -> Users -> Bool
(Users -> Users -> Bool) -> (Users -> Users -> Bool) -> Eq Users
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: Users -> Users -> Bool
$c/= :: Users -> Users -> Bool
== :: Users -> Users -> Bool
$c== :: Users -> Users -> Bool
Eq, (forall x. Users -> Rep Users x)
-> (forall x. Rep Users x -> Users) -> Generic Users
forall x. Rep Users x -> Users
forall x. Users -> Rep Users x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x. Rep Users x -> Users
$cfrom :: forall x. Users -> Rep Users x
Generic)
data ChatAdministrator
=
ChatAdministrator
{
ChatAdministrator -> I32
userId :: I32,
ChatAdministrator -> T
customTitle :: T,
ChatAdministrator -> Bool
isOwner :: Bool
}
deriving (I32 -> ChatAdministrator -> ShowS
[ChatAdministrator] -> ShowS
ChatAdministrator -> String
(I32 -> ChatAdministrator -> ShowS)
-> (ChatAdministrator -> String)
-> ([ChatAdministrator] -> ShowS)
-> Show ChatAdministrator
forall a.
(I32 -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [ChatAdministrator] -> ShowS
$cshowList :: [ChatAdministrator] -> ShowS
show :: ChatAdministrator -> String
$cshow :: ChatAdministrator -> String
showsPrec :: I32 -> ChatAdministrator -> ShowS
$cshowsPrec :: I32 -> ChatAdministrator -> ShowS
Show, ChatAdministrator -> ChatAdministrator -> Bool
(ChatAdministrator -> ChatAdministrator -> Bool)
-> (ChatAdministrator -> ChatAdministrator -> Bool)
-> Eq ChatAdministrator
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: ChatAdministrator -> ChatAdministrator -> Bool
$c/= :: ChatAdministrator -> ChatAdministrator -> Bool
== :: ChatAdministrator -> ChatAdministrator -> Bool
$c== :: ChatAdministrator -> ChatAdministrator -> Bool
Eq, (forall x. ChatAdministrator -> Rep ChatAdministrator x)
-> (forall x. Rep ChatAdministrator x -> ChatAdministrator)
-> Generic ChatAdministrator
forall x. Rep ChatAdministrator x -> ChatAdministrator
forall x. ChatAdministrator -> Rep ChatAdministrator x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x. Rep ChatAdministrator x -> ChatAdministrator
$cfrom :: forall x. ChatAdministrator -> Rep ChatAdministrator x
Generic)
data ChatAdministrators
=
ChatAdministrators
{
ChatAdministrators -> [ChatAdministrator]
administrators :: [ChatAdministrator]
}
deriving (I32 -> ChatAdministrators -> ShowS
[ChatAdministrators] -> ShowS
ChatAdministrators -> String
(I32 -> ChatAdministrators -> ShowS)
-> (ChatAdministrators -> String)
-> ([ChatAdministrators] -> ShowS)
-> Show ChatAdministrators
forall a.
(I32 -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [ChatAdministrators] -> ShowS
$cshowList :: [ChatAdministrators] -> ShowS
show :: ChatAdministrators -> String
$cshow :: ChatAdministrators -> String
showsPrec :: I32 -> ChatAdministrators -> ShowS
$cshowsPrec :: I32 -> ChatAdministrators -> ShowS
Show, ChatAdministrators -> ChatAdministrators -> Bool
(ChatAdministrators -> ChatAdministrators -> Bool)
-> (ChatAdministrators -> ChatAdministrators -> Bool)
-> Eq ChatAdministrators
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: ChatAdministrators -> ChatAdministrators -> Bool
$c/= :: ChatAdministrators -> ChatAdministrators -> Bool
== :: ChatAdministrators -> ChatAdministrators -> Bool
$c== :: ChatAdministrators -> ChatAdministrators -> Bool
Eq, (forall x. ChatAdministrators -> Rep ChatAdministrators x)
-> (forall x. Rep ChatAdministrators x -> ChatAdministrators)
-> Generic ChatAdministrators
forall x. Rep ChatAdministrators x -> ChatAdministrators
forall x. ChatAdministrators -> Rep ChatAdministrators x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x. Rep ChatAdministrators x -> ChatAdministrators
$cfrom :: forall x. ChatAdministrators -> Rep ChatAdministrators x
Generic)
data ChatPermissions
=
ChatPermissions
{
ChatPermissions -> Bool
canSendMessages :: Bool,
ChatPermissions -> Bool
canSendMediaMessages :: Bool,
ChatPermissions -> Bool
canSendPolls :: Bool,
ChatPermissions -> Bool
canSendOtherMessages :: Bool,
ChatPermissions -> Bool
canAddWebPagePreviews :: Bool,
ChatPermissions -> Bool
canChangeInfo :: Bool,
ChatPermissions -> Bool
canInviteUsers :: Bool,
ChatPermissions -> Bool
canPinMessages :: Bool
}
deriving (I32 -> ChatPermissions -> ShowS
[ChatPermissions] -> ShowS
ChatPermissions -> String
(I32 -> ChatPermissions -> ShowS)
-> (ChatPermissions -> String)
-> ([ChatPermissions] -> ShowS)
-> Show ChatPermissions
forall a.
(I32 -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [ChatPermissions] -> ShowS
$cshowList :: [ChatPermissions] -> ShowS
show :: ChatPermissions -> String
$cshow :: ChatPermissions -> String
showsPrec :: I32 -> ChatPermissions -> ShowS
$cshowsPrec :: I32 -> ChatPermissions -> ShowS
Show, ChatPermissions -> ChatPermissions -> Bool
(ChatPermissions -> ChatPermissions -> Bool)
-> (ChatPermissions -> ChatPermissions -> Bool)
-> Eq ChatPermissions
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: ChatPermissions -> ChatPermissions -> Bool
$c/= :: ChatPermissions -> ChatPermissions -> Bool
== :: ChatPermissions -> ChatPermissions -> Bool
$c== :: ChatPermissions -> ChatPermissions -> Bool
Eq, (forall x. ChatPermissions -> Rep ChatPermissions x)
-> (forall x. Rep ChatPermissions x -> ChatPermissions)
-> Generic ChatPermissions
forall x. Rep ChatPermissions x -> ChatPermissions
forall x. ChatPermissions -> Rep ChatPermissions x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x. Rep ChatPermissions x -> ChatPermissions
$cfrom :: forall x. ChatPermissions -> Rep ChatPermissions x
Generic)
data ChatMemberStatus
=
ChatMemberStatusCreator
{
ChatMemberStatus -> T
customTitle :: T,
ChatMemberStatus -> Bool
isMember :: Bool
}
|
ChatMemberStatusAdministrator
{
customTitle :: T,
ChatMemberStatus -> Bool
canBeEdited :: Bool,
ChatMemberStatus -> Bool
canChangeInfo :: Bool,
ChatMemberStatus -> Bool
canPostMessages :: Bool,
ChatMemberStatus -> Bool
canEditMessages :: Bool,
ChatMemberStatus -> Bool
canDeleteMessages :: Bool,
ChatMemberStatus -> Bool
canInviteUsers :: Bool,
ChatMemberStatus -> Bool
canRestrictMembers :: Bool,
ChatMemberStatus -> Bool
canPinMessages :: Bool,
ChatMemberStatus -> Bool
canPromoteMembers :: Bool
}
|
ChatMemberStatusMember
{
}
|
ChatMemberStatusRestricted
{
isMember :: Bool,
ChatMemberStatus -> I32
restrictedUntilDate :: I32,
ChatMemberStatus -> ChatPermissions
permissions :: ChatPermissions
}
|
ChatMemberStatusLeft
{
}
|
ChatMemberStatusBanned
{
ChatMemberStatus -> I32
bannedUntilDate :: I32
}
deriving (I32 -> ChatMemberStatus -> ShowS
[ChatMemberStatus] -> ShowS
ChatMemberStatus -> String
(I32 -> ChatMemberStatus -> ShowS)
-> (ChatMemberStatus -> String)
-> ([ChatMemberStatus] -> ShowS)
-> Show ChatMemberStatus
forall a.
(I32 -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [ChatMemberStatus] -> ShowS
$cshowList :: [ChatMemberStatus] -> ShowS
show :: ChatMemberStatus -> String
$cshow :: ChatMemberStatus -> String
showsPrec :: I32 -> ChatMemberStatus -> ShowS
$cshowsPrec :: I32 -> ChatMemberStatus -> ShowS
Show, ChatMemberStatus -> ChatMemberStatus -> Bool
(ChatMemberStatus -> ChatMemberStatus -> Bool)
-> (ChatMemberStatus -> ChatMemberStatus -> Bool)
-> Eq ChatMemberStatus
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: ChatMemberStatus -> ChatMemberStatus -> Bool
$c/= :: ChatMemberStatus -> ChatMemberStatus -> Bool
== :: ChatMemberStatus -> ChatMemberStatus -> Bool
$c== :: ChatMemberStatus -> ChatMemberStatus -> Bool
Eq, (forall x. ChatMemberStatus -> Rep ChatMemberStatus x)
-> (forall x. Rep ChatMemberStatus x -> ChatMemberStatus)
-> Generic ChatMemberStatus
forall x. Rep ChatMemberStatus x -> ChatMemberStatus
forall x. ChatMemberStatus -> Rep ChatMemberStatus x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x. Rep ChatMemberStatus x -> ChatMemberStatus
$cfrom :: forall x. ChatMemberStatus -> Rep ChatMemberStatus x
Generic)
data ChatMember
=
ChatMember
{
ChatMember -> I32
userId :: I32,
ChatMember -> I32
inviterUserId :: I32,
ChatMember -> I32
joinedChatDate :: I32,
ChatMember -> ChatMemberStatus
status :: ChatMemberStatus,
ChatMember -> Maybe BotInfo
botInfo :: (Maybe) (BotInfo)
}
deriving (I32 -> ChatMember -> ShowS
[ChatMember] -> ShowS
ChatMember -> String
(I32 -> ChatMember -> ShowS)
-> (ChatMember -> String)
-> ([ChatMember] -> ShowS)
-> Show ChatMember
forall a.
(I32 -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [ChatMember] -> ShowS
$cshowList :: [ChatMember] -> ShowS
show :: ChatMember -> String
$cshow :: ChatMember -> String
showsPrec :: I32 -> ChatMember -> ShowS
$cshowsPrec :: I32 -> ChatMember -> ShowS
Show, ChatMember -> ChatMember -> Bool
(ChatMember -> ChatMember -> Bool)
-> (ChatMember -> ChatMember -> Bool) -> Eq ChatMember
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: ChatMember -> ChatMember -> Bool
$c/= :: ChatMember -> ChatMember -> Bool
== :: ChatMember -> ChatMember -> Bool
$c== :: ChatMember -> ChatMember -> Bool
Eq, (forall x. ChatMember -> Rep ChatMember x)
-> (forall x. Rep ChatMember x -> ChatMember) -> Generic ChatMember
forall x. Rep ChatMember x -> ChatMember
forall x. ChatMember -> Rep ChatMember x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x. Rep ChatMember x -> ChatMember
$cfrom :: forall x. ChatMember -> Rep ChatMember x
Generic)
data ChatMembers
=
ChatMembers
{
ChatMembers -> I32
totalCount :: I32,
ChatMembers -> [ChatMember]
members :: [ChatMember]
}
deriving (I32 -> ChatMembers -> ShowS
[ChatMembers] -> ShowS
ChatMembers -> String
(I32 -> ChatMembers -> ShowS)
-> (ChatMembers -> String)
-> ([ChatMembers] -> ShowS)
-> Show ChatMembers
forall a.
(I32 -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [ChatMembers] -> ShowS
$cshowList :: [ChatMembers] -> ShowS
show :: ChatMembers -> String
$cshow :: ChatMembers -> String
showsPrec :: I32 -> ChatMembers -> ShowS
$cshowsPrec :: I32 -> ChatMembers -> ShowS
Show, ChatMembers -> ChatMembers -> Bool
(ChatMembers -> ChatMembers -> Bool)
-> (ChatMembers -> ChatMembers -> Bool) -> Eq ChatMembers
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: ChatMembers -> ChatMembers -> Bool
$c/= :: ChatMembers -> ChatMembers -> Bool
== :: ChatMembers -> ChatMembers -> Bool
$c== :: ChatMembers -> ChatMembers -> Bool
Eq, (forall x. ChatMembers -> Rep ChatMembers x)
-> (forall x. Rep ChatMembers x -> ChatMembers)
-> Generic ChatMembers
forall x. Rep ChatMembers x -> ChatMembers
forall x. ChatMembers -> Rep ChatMembers x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x. Rep ChatMembers x -> ChatMembers
$cfrom :: forall x. ChatMembers -> Rep ChatMembers x
Generic)
data ChatMembersFilter
=
ChatMembersFilterContacts
{
}
|
ChatMembersFilterAdministrators
{
}
|
ChatMembersFilterMembers
{
}
|
ChatMembersFilterRestricted
{
}
|
ChatMembersFilterBanned
{
}
|
ChatMembersFilterBots
{
}
deriving (I32 -> ChatMembersFilter -> ShowS
[ChatMembersFilter] -> ShowS
ChatMembersFilter -> String
(I32 -> ChatMembersFilter -> ShowS)
-> (ChatMembersFilter -> String)
-> ([ChatMembersFilter] -> ShowS)
-> Show ChatMembersFilter
forall a.
(I32 -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [ChatMembersFilter] -> ShowS
$cshowList :: [ChatMembersFilter] -> ShowS
show :: ChatMembersFilter -> String
$cshow :: ChatMembersFilter -> String
showsPrec :: I32 -> ChatMembersFilter -> ShowS
$cshowsPrec :: I32 -> ChatMembersFilter -> ShowS
Show, ChatMembersFilter -> ChatMembersFilter -> Bool
(ChatMembersFilter -> ChatMembersFilter -> Bool)
-> (ChatMembersFilter -> ChatMembersFilter -> Bool)
-> Eq ChatMembersFilter
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: ChatMembersFilter -> ChatMembersFilter -> Bool
$c/= :: ChatMembersFilter -> ChatMembersFilter -> Bool
== :: ChatMembersFilter -> ChatMembersFilter -> Bool
$c== :: ChatMembersFilter -> ChatMembersFilter -> Bool
Eq, (forall x. ChatMembersFilter -> Rep ChatMembersFilter x)
-> (forall x. Rep ChatMembersFilter x -> ChatMembersFilter)
-> Generic ChatMembersFilter
forall x. Rep ChatMembersFilter x -> ChatMembersFilter
forall x. ChatMembersFilter -> Rep ChatMembersFilter x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x. Rep ChatMembersFilter x -> ChatMembersFilter
$cfrom :: forall x. ChatMembersFilter -> Rep ChatMembersFilter x
Generic)
data SupergroupMembersFilter
=
SupergroupMembersFilterRecent
{
}
|
SupergroupMembersFilterContacts
{
SupergroupMembersFilter -> T
query :: T
}
|
SupergroupMembersFilterAdministrators
{
}
|
SupergroupMembersFilterSearch
{
query :: T
}
|
SupergroupMembersFilterRestricted
{
query :: T
}
|
SupergroupMembersFilterBanned
{
query :: T
}
|
SupergroupMembersFilterBots
{
}
deriving (I32 -> SupergroupMembersFilter -> ShowS
[SupergroupMembersFilter] -> ShowS
SupergroupMembersFilter -> String
(I32 -> SupergroupMembersFilter -> ShowS)
-> (SupergroupMembersFilter -> String)
-> ([SupergroupMembersFilter] -> ShowS)
-> Show SupergroupMembersFilter
forall a.
(I32 -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [SupergroupMembersFilter] -> ShowS
$cshowList :: [SupergroupMembersFilter] -> ShowS
show :: SupergroupMembersFilter -> String
$cshow :: SupergroupMembersFilter -> String
showsPrec :: I32 -> SupergroupMembersFilter -> ShowS
$cshowsPrec :: I32 -> SupergroupMembersFilter -> ShowS
Show, SupergroupMembersFilter -> SupergroupMembersFilter -> Bool
(SupergroupMembersFilter -> SupergroupMembersFilter -> Bool)
-> (SupergroupMembersFilter -> SupergroupMembersFilter -> Bool)
-> Eq SupergroupMembersFilter
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: SupergroupMembersFilter -> SupergroupMembersFilter -> Bool
$c/= :: SupergroupMembersFilter -> SupergroupMembersFilter -> Bool
== :: SupergroupMembersFilter -> SupergroupMembersFilter -> Bool
$c== :: SupergroupMembersFilter -> SupergroupMembersFilter -> Bool
Eq, (forall x.
SupergroupMembersFilter -> Rep SupergroupMembersFilter x)
-> (forall x.
Rep SupergroupMembersFilter x -> SupergroupMembersFilter)
-> Generic SupergroupMembersFilter
forall x. Rep SupergroupMembersFilter x -> SupergroupMembersFilter
forall x. SupergroupMembersFilter -> Rep SupergroupMembersFilter x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x. Rep SupergroupMembersFilter x -> SupergroupMembersFilter
$cfrom :: forall x. SupergroupMembersFilter -> Rep SupergroupMembersFilter x
Generic)
data BasicGroup
=
BasicGroup
{
BasicGroup -> I32
id :: I32,
BasicGroup -> I32
memberCount :: I32,
BasicGroup -> ChatMemberStatus
status :: ChatMemberStatus,
BasicGroup -> Bool
isActive :: Bool,
BasicGroup -> I32
upgradedToSupergroupId :: I32
}
deriving (I32 -> BasicGroup -> ShowS
[BasicGroup] -> ShowS
BasicGroup -> String
(I32 -> BasicGroup -> ShowS)
-> (BasicGroup -> String)
-> ([BasicGroup] -> ShowS)
-> Show BasicGroup
forall a.
(I32 -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [BasicGroup] -> ShowS
$cshowList :: [BasicGroup] -> ShowS
show :: BasicGroup -> String
$cshow :: BasicGroup -> String
showsPrec :: I32 -> BasicGroup -> ShowS
$cshowsPrec :: I32 -> BasicGroup -> ShowS
Show, BasicGroup -> BasicGroup -> Bool
(BasicGroup -> BasicGroup -> Bool)
-> (BasicGroup -> BasicGroup -> Bool) -> Eq BasicGroup
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: BasicGroup -> BasicGroup -> Bool
$c/= :: BasicGroup -> BasicGroup -> Bool
== :: BasicGroup -> BasicGroup -> Bool
$c== :: BasicGroup -> BasicGroup -> Bool
Eq, (forall x. BasicGroup -> Rep BasicGroup x)
-> (forall x. Rep BasicGroup x -> BasicGroup) -> Generic BasicGroup
forall x. Rep BasicGroup x -> BasicGroup
forall x. BasicGroup -> Rep BasicGroup x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x. Rep BasicGroup x -> BasicGroup
$cfrom :: forall x. BasicGroup -> Rep BasicGroup x
Generic)
data BasicGroupFullInfo
=
BasicGroupFullInfo
{
BasicGroupFullInfo -> T
description :: T,
BasicGroupFullInfo -> I32
creatorUserId :: I32,
BasicGroupFullInfo -> [ChatMember]
members :: [ChatMember],
BasicGroupFullInfo -> T
inviteLink :: T
}
deriving (I32 -> BasicGroupFullInfo -> ShowS
[BasicGroupFullInfo] -> ShowS
BasicGroupFullInfo -> String
(I32 -> BasicGroupFullInfo -> ShowS)
-> (BasicGroupFullInfo -> String)
-> ([BasicGroupFullInfo] -> ShowS)
-> Show BasicGroupFullInfo
forall a.
(I32 -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [BasicGroupFullInfo] -> ShowS
$cshowList :: [BasicGroupFullInfo] -> ShowS
show :: BasicGroupFullInfo -> String
$cshow :: BasicGroupFullInfo -> String
showsPrec :: I32 -> BasicGroupFullInfo -> ShowS
$cshowsPrec :: I32 -> BasicGroupFullInfo -> ShowS
Show, BasicGroupFullInfo -> BasicGroupFullInfo -> Bool
(BasicGroupFullInfo -> BasicGroupFullInfo -> Bool)
-> (BasicGroupFullInfo -> BasicGroupFullInfo -> Bool)
-> Eq BasicGroupFullInfo
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: BasicGroupFullInfo -> BasicGroupFullInfo -> Bool
$c/= :: BasicGroupFullInfo -> BasicGroupFullInfo -> Bool
== :: BasicGroupFullInfo -> BasicGroupFullInfo -> Bool
$c== :: BasicGroupFullInfo -> BasicGroupFullInfo -> Bool
Eq, (forall x. BasicGroupFullInfo -> Rep BasicGroupFullInfo x)
-> (forall x. Rep BasicGroupFullInfo x -> BasicGroupFullInfo)
-> Generic BasicGroupFullInfo
forall x. Rep BasicGroupFullInfo x -> BasicGroupFullInfo
forall x. BasicGroupFullInfo -> Rep BasicGroupFullInfo x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x. Rep BasicGroupFullInfo x -> BasicGroupFullInfo
$cfrom :: forall x. BasicGroupFullInfo -> Rep BasicGroupFullInfo x
Generic)
data Supergroup
=
Supergroup
{
Supergroup -> I32
id :: I32,
Supergroup -> T
username :: T,
Supergroup -> I32
date :: I32,
Supergroup -> ChatMemberStatus
status :: ChatMemberStatus,
Supergroup -> I32
memberCount :: I32,
Supergroup -> Bool
hasLinkedChat :: Bool,
Supergroup -> Bool
hasLocation :: Bool,
Supergroup -> Bool
signMessages :: Bool,
Supergroup -> Bool
isSlowModeEnabled :: Bool,
Supergroup -> Bool
isChannel :: Bool,
Supergroup -> Bool
isVerified :: Bool,
Supergroup -> T
restrictionReason :: T,
Supergroup -> Bool
isScam :: Bool
}
deriving (I32 -> Supergroup -> ShowS
[Supergroup] -> ShowS
Supergroup -> String
(I32 -> Supergroup -> ShowS)
-> (Supergroup -> String)
-> ([Supergroup] -> ShowS)
-> Show Supergroup
forall a.
(I32 -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [Supergroup] -> ShowS
$cshowList :: [Supergroup] -> ShowS
show :: Supergroup -> String
$cshow :: Supergroup -> String
showsPrec :: I32 -> Supergroup -> ShowS
$cshowsPrec :: I32 -> Supergroup -> ShowS
Show, Supergroup -> Supergroup -> Bool
(Supergroup -> Supergroup -> Bool)
-> (Supergroup -> Supergroup -> Bool) -> Eq Supergroup
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: Supergroup -> Supergroup -> Bool
$c/= :: Supergroup -> Supergroup -> Bool
== :: Supergroup -> Supergroup -> Bool
$c== :: Supergroup -> Supergroup -> Bool
Eq, (forall x. Supergroup -> Rep Supergroup x)
-> (forall x. Rep Supergroup x -> Supergroup) -> Generic Supergroup
forall x. Rep Supergroup x -> Supergroup
forall x. Supergroup -> Rep Supergroup x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x. Rep Supergroup x -> Supergroup
$cfrom :: forall x. Supergroup -> Rep Supergroup x
Generic)
data SupergroupFullInfo
=
SupergroupFullInfo
{
SupergroupFullInfo -> T
description :: T,
SupergroupFullInfo -> I32
memberCount :: I32,
SupergroupFullInfo -> I32
administratorCount :: I32,
SupergroupFullInfo -> I32
restrictedCount :: I32,
SupergroupFullInfo -> I32
bannedCount :: I32,
SupergroupFullInfo -> I32
linkedChatId :: I53,
SupergroupFullInfo -> I32
slowModeDelay :: I32,
SupergroupFullInfo -> Double
slowModeDelayExpiresIn :: Double,
SupergroupFullInfo -> Bool
canGetMembers :: Bool,
SupergroupFullInfo -> Bool
canSetUsername :: Bool,
SupergroupFullInfo -> Bool
canSetStickerSet :: Bool,
SupergroupFullInfo -> Bool
canSetLocation :: Bool,
SupergroupFullInfo -> Bool
canViewStatistics :: Bool,
SupergroupFullInfo -> Bool
isAllHistoryAvailable :: Bool,
SupergroupFullInfo -> I64
stickerSetId :: I64,
SupergroupFullInfo -> Maybe ChatLocation
location :: (Maybe) (ChatLocation),
SupergroupFullInfo -> T
inviteLink :: T,
SupergroupFullInfo -> I32
upgradedFromBasicGroupId :: I32,
SupergroupFullInfo -> I32
upgradedFromMaxMessageId :: I53
}
deriving (I32 -> SupergroupFullInfo -> ShowS
[SupergroupFullInfo] -> ShowS
SupergroupFullInfo -> String
(I32 -> SupergroupFullInfo -> ShowS)
-> (SupergroupFullInfo -> String)
-> ([SupergroupFullInfo] -> ShowS)
-> Show SupergroupFullInfo
forall a.
(I32 -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [SupergroupFullInfo] -> ShowS
$cshowList :: [SupergroupFullInfo] -> ShowS
show :: SupergroupFullInfo -> String
$cshow :: SupergroupFullInfo -> String
showsPrec :: I32 -> SupergroupFullInfo -> ShowS
$cshowsPrec :: I32 -> SupergroupFullInfo -> ShowS
Show, SupergroupFullInfo -> SupergroupFullInfo -> Bool
(SupergroupFullInfo -> SupergroupFullInfo -> Bool)
-> (SupergroupFullInfo -> SupergroupFullInfo -> Bool)
-> Eq SupergroupFullInfo
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: SupergroupFullInfo -> SupergroupFullInfo -> Bool
$c/= :: SupergroupFullInfo -> SupergroupFullInfo -> Bool
== :: SupergroupFullInfo -> SupergroupFullInfo -> Bool
$c== :: SupergroupFullInfo -> SupergroupFullInfo -> Bool
Eq, (forall x. SupergroupFullInfo -> Rep SupergroupFullInfo x)
-> (forall x. Rep SupergroupFullInfo x -> SupergroupFullInfo)
-> Generic SupergroupFullInfo
forall x. Rep SupergroupFullInfo x -> SupergroupFullInfo
forall x. SupergroupFullInfo -> Rep SupergroupFullInfo x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x. Rep SupergroupFullInfo x -> SupergroupFullInfo
$cfrom :: forall x. SupergroupFullInfo -> Rep SupergroupFullInfo x
Generic)
data SecretChatState
=
SecretChatStatePending
{
}
|
SecretChatStateReady
{
}
|
SecretChatStateClosed
{
}
deriving (I32 -> SecretChatState -> ShowS
[SecretChatState] -> ShowS
SecretChatState -> String
(I32 -> SecretChatState -> ShowS)
-> (SecretChatState -> String)
-> ([SecretChatState] -> ShowS)
-> Show SecretChatState
forall a.
(I32 -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [SecretChatState] -> ShowS
$cshowList :: [SecretChatState] -> ShowS
show :: SecretChatState -> String
$cshow :: SecretChatState -> String
showsPrec :: I32 -> SecretChatState -> ShowS
$cshowsPrec :: I32 -> SecretChatState -> ShowS
Show, SecretChatState -> SecretChatState -> Bool
(SecretChatState -> SecretChatState -> Bool)
-> (SecretChatState -> SecretChatState -> Bool)
-> Eq SecretChatState
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: SecretChatState -> SecretChatState -> Bool
$c/= :: SecretChatState -> SecretChatState -> Bool
== :: SecretChatState -> SecretChatState -> Bool
$c== :: SecretChatState -> SecretChatState -> Bool
Eq, (forall x. SecretChatState -> Rep SecretChatState x)
-> (forall x. Rep SecretChatState x -> SecretChatState)
-> Generic SecretChatState
forall x. Rep SecretChatState x -> SecretChatState
forall x. SecretChatState -> Rep SecretChatState x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x. Rep SecretChatState x -> SecretChatState
$cfrom :: forall x. SecretChatState -> Rep SecretChatState x
Generic)
data SecretChat
=
SecretChat
{
SecretChat -> I32
id :: I32,
SecretChat -> I32
userId :: I32,
SecretChat -> SecretChatState
state :: SecretChatState,
SecretChat -> Bool
isOutbound :: Bool,
SecretChat -> I32
ttl :: I32,
SecretChat -> ByteString64
keyHash :: ByteString64,
SecretChat -> I32
layer :: I32
}
deriving (I32 -> SecretChat -> ShowS
[SecretChat] -> ShowS
SecretChat -> String
(I32 -> SecretChat -> ShowS)
-> (SecretChat -> String)
-> ([SecretChat] -> ShowS)
-> Show SecretChat
forall a.
(I32 -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [SecretChat] -> ShowS
$cshowList :: [SecretChat] -> ShowS
show :: SecretChat -> String
$cshow :: SecretChat -> String
showsPrec :: I32 -> SecretChat -> ShowS
$cshowsPrec :: I32 -> SecretChat -> ShowS
Show, SecretChat -> SecretChat -> Bool
(SecretChat -> SecretChat -> Bool)
-> (SecretChat -> SecretChat -> Bool) -> Eq SecretChat
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: SecretChat -> SecretChat -> Bool
$c/= :: SecretChat -> SecretChat -> Bool
== :: SecretChat -> SecretChat -> Bool
$c== :: SecretChat -> SecretChat -> Bool
Eq, (forall x. SecretChat -> Rep SecretChat x)
-> (forall x. Rep SecretChat x -> SecretChat) -> Generic SecretChat
forall x. Rep SecretChat x -> SecretChat
forall x. SecretChat -> Rep SecretChat x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x. Rep SecretChat x -> SecretChat
$cfrom :: forall x. SecretChat -> Rep SecretChat x
Generic)
data MessageForwardOrigin
=
MessageForwardOriginUser
{
MessageForwardOrigin -> I32
senderUserId :: I32
}
|
MessageForwardOriginHiddenUser
{
MessageForwardOrigin -> T
senderName :: T
}
|
MessageForwardOriginChannel
{
MessageForwardOrigin -> I32
chatId :: I53,
MessageForwardOrigin -> I32
messageId :: I53,
MessageForwardOrigin -> T
authorSignature :: T
}
deriving (I32 -> MessageForwardOrigin -> ShowS
[MessageForwardOrigin] -> ShowS
MessageForwardOrigin -> String
(I32 -> MessageForwardOrigin -> ShowS)
-> (MessageForwardOrigin -> String)
-> ([MessageForwardOrigin] -> ShowS)
-> Show MessageForwardOrigin
forall a.
(I32 -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [MessageForwardOrigin] -> ShowS
$cshowList :: [MessageForwardOrigin] -> ShowS
show :: MessageForwardOrigin -> String
$cshow :: MessageForwardOrigin -> String
showsPrec :: I32 -> MessageForwardOrigin -> ShowS
$cshowsPrec :: I32 -> MessageForwardOrigin -> ShowS
Show, MessageForwardOrigin -> MessageForwardOrigin -> Bool
(MessageForwardOrigin -> MessageForwardOrigin -> Bool)
-> (MessageForwardOrigin -> MessageForwardOrigin -> Bool)
-> Eq MessageForwardOrigin
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: MessageForwardOrigin -> MessageForwardOrigin -> Bool
$c/= :: MessageForwardOrigin -> MessageForwardOrigin -> Bool
== :: MessageForwardOrigin -> MessageForwardOrigin -> Bool
$c== :: MessageForwardOrigin -> MessageForwardOrigin -> Bool
Eq, (forall x. MessageForwardOrigin -> Rep MessageForwardOrigin x)
-> (forall x. Rep MessageForwardOrigin x -> MessageForwardOrigin)
-> Generic MessageForwardOrigin
forall x. Rep MessageForwardOrigin x -> MessageForwardOrigin
forall x. MessageForwardOrigin -> Rep MessageForwardOrigin x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x. Rep MessageForwardOrigin x -> MessageForwardOrigin
$cfrom :: forall x. MessageForwardOrigin -> Rep MessageForwardOrigin x
Generic)
data MessageForwardInfo
=
MessageForwardInfo
{
MessageForwardInfo -> MessageForwardOrigin
origin :: MessageForwardOrigin,
MessageForwardInfo -> I32
date :: I32,
MessageForwardInfo -> T
publicServiceAnnouncementType :: T,
MessageForwardInfo -> I32
fromChatId :: I53,
MessageForwardInfo -> I32
fromMessageId :: I53
}
deriving (I32 -> MessageForwardInfo -> ShowS
[MessageForwardInfo] -> ShowS
MessageForwardInfo -> String
(I32 -> MessageForwardInfo -> ShowS)
-> (MessageForwardInfo -> String)
-> ([MessageForwardInfo] -> ShowS)
-> Show MessageForwardInfo
forall a.
(I32 -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [MessageForwardInfo] -> ShowS
$cshowList :: [MessageForwardInfo] -> ShowS
show :: MessageForwardInfo -> String
$cshow :: MessageForwardInfo -> String
showsPrec :: I32 -> MessageForwardInfo -> ShowS
$cshowsPrec :: I32 -> MessageForwardInfo -> ShowS
Show, MessageForwardInfo -> MessageForwardInfo -> Bool
(MessageForwardInfo -> MessageForwardInfo -> Bool)
-> (MessageForwardInfo -> MessageForwardInfo -> Bool)
-> Eq MessageForwardInfo
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: MessageForwardInfo -> MessageForwardInfo -> Bool
$c/= :: MessageForwardInfo -> MessageForwardInfo -> Bool
== :: MessageForwardInfo -> MessageForwardInfo -> Bool
$c== :: MessageForwardInfo -> MessageForwardInfo -> Bool
Eq, (forall x. MessageForwardInfo -> Rep MessageForwardInfo x)
-> (forall x. Rep MessageForwardInfo x -> MessageForwardInfo)
-> Generic MessageForwardInfo
forall x. Rep MessageForwardInfo x -> MessageForwardInfo
forall x. MessageForwardInfo -> Rep MessageForwardInfo x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x. Rep MessageForwardInfo x -> MessageForwardInfo
$cfrom :: forall x. MessageForwardInfo -> Rep MessageForwardInfo x
Generic)
data MessageSendingState
=
MessageSendingStatePending
{
}
|
MessageSendingStateFailed
{
MessageSendingState -> I32
errorCode :: I32,
MessageSendingState -> T
errorMessage :: T,
MessageSendingState -> Bool
canRetry :: Bool,
MessageSendingState -> Double
retryAfter :: Double
}
deriving (I32 -> MessageSendingState -> ShowS
[MessageSendingState] -> ShowS
MessageSendingState -> String
(I32 -> MessageSendingState -> ShowS)
-> (MessageSendingState -> String)
-> ([MessageSendingState] -> ShowS)
-> Show MessageSendingState
forall a.
(I32 -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [MessageSendingState] -> ShowS
$cshowList :: [MessageSendingState] -> ShowS
show :: MessageSendingState -> String
$cshow :: MessageSendingState -> String
showsPrec :: I32 -> MessageSendingState -> ShowS
$cshowsPrec :: I32 -> MessageSendingState -> ShowS
Show, MessageSendingState -> MessageSendingState -> Bool
(MessageSendingState -> MessageSendingState -> Bool)
-> (MessageSendingState -> MessageSendingState -> Bool)
-> Eq MessageSendingState
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: MessageSendingState -> MessageSendingState -> Bool
$c/= :: MessageSendingState -> MessageSendingState -> Bool
== :: MessageSendingState -> MessageSendingState -> Bool
$c== :: MessageSendingState -> MessageSendingState -> Bool
Eq, (forall x. MessageSendingState -> Rep MessageSendingState x)
-> (forall x. Rep MessageSendingState x -> MessageSendingState)
-> Generic MessageSendingState
forall x. Rep MessageSendingState x -> MessageSendingState
forall x. MessageSendingState -> Rep MessageSendingState x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x. Rep MessageSendingState x -> MessageSendingState
$cfrom :: forall x. MessageSendingState -> Rep MessageSendingState x
Generic)
data Message
=
Message
{
Message -> I32
id :: I53,
Message -> I32
senderUserId :: I32,
Message -> I32
chatId :: I53,
Message -> Maybe MessageSendingState
sendingState :: (Maybe) (MessageSendingState),
Message -> Maybe MessageSchedulingState
schedulingState :: (Maybe) (MessageSchedulingState),
Message -> Bool
isOutgoing :: Bool,
Message -> Bool
canBeEdited :: Bool,
Message -> Bool
canBeForwarded :: Bool,
Message -> Bool
canBeDeletedOnlyForSelf :: Bool,
Message -> Bool
canBeDeletedForAllUsers :: Bool,
Message -> Bool
isChannelPost :: Bool,
Message -> Bool
containsUnreadMention :: Bool,
Message -> I32
date :: I32,
Message -> I32
editDate :: I32,
Message -> Maybe MessageForwardInfo
forwardInfo :: (Maybe) (MessageForwardInfo),
Message -> I32
replyToMessageId :: I53,
Message -> I32
ttl :: I32,
Message -> Double
ttlExpiresIn :: Double,
Message -> I32
viaBotUserId :: I32,
Message -> T
authorSignature :: T,
Message -> I32
views :: I32,
Message -> I64
mediaAlbumId :: I64,
Message -> T
restrictionReason :: T,
Message -> MessageContent
content :: MessageContent,
Message -> Maybe ReplyMarkup
replyMarkup :: (Maybe) (ReplyMarkup)
}
deriving (I32 -> Message -> ShowS
[Message] -> ShowS
Message -> String
(I32 -> Message -> ShowS)
-> (Message -> String) -> ([Message] -> ShowS) -> Show Message
forall a.
(I32 -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [Message] -> ShowS
$cshowList :: [Message] -> ShowS
show :: Message -> String
$cshow :: Message -> String
showsPrec :: I32 -> Message -> ShowS
$cshowsPrec :: I32 -> Message -> ShowS
Show, Message -> Message -> Bool
(Message -> Message -> Bool)
-> (Message -> Message -> Bool) -> Eq Message
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: Message -> Message -> Bool
$c/= :: Message -> Message -> Bool
== :: Message -> Message -> Bool
$c== :: Message -> Message -> Bool
Eq, (forall x. Message -> Rep Message x)
-> (forall x. Rep Message x -> Message) -> Generic Message
forall x. Rep Message x -> Message
forall x. Message -> Rep Message x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x. Rep Message x -> Message
$cfrom :: forall x. Message -> Rep Message x
Generic)
data Messages
=
Messages
{
Messages -> I32
totalCount :: I32,
Messages -> [Maybe Message]
messages :: [(Maybe) (Message)]
}
deriving (I32 -> Messages -> ShowS
[Messages] -> ShowS
Messages -> String
(I32 -> Messages -> ShowS)
-> (Messages -> String) -> ([Messages] -> ShowS) -> Show Messages
forall a.
(I32 -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [Messages] -> ShowS
$cshowList :: [Messages] -> ShowS
show :: Messages -> String
$cshow :: Messages -> String
showsPrec :: I32 -> Messages -> ShowS
$cshowsPrec :: I32 -> Messages -> ShowS
Show, Messages -> Messages -> Bool
(Messages -> Messages -> Bool)
-> (Messages -> Messages -> Bool) -> Eq Messages
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: Messages -> Messages -> Bool
$c/= :: Messages -> Messages -> Bool
== :: Messages -> Messages -> Bool
$c== :: Messages -> Messages -> Bool
Eq, (forall x. Messages -> Rep Messages x)
-> (forall x. Rep Messages x -> Messages) -> Generic Messages
forall x. Rep Messages x -> Messages
forall x. Messages -> Rep Messages x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x. Rep Messages x -> Messages
$cfrom :: forall x. Messages -> Rep Messages x
Generic)
data FoundMessages
=
FoundMessages
{
FoundMessages -> [Message]
messages :: [Message],
FoundMessages -> I64
nextFromSearchId :: I64
}
deriving (I32 -> FoundMessages -> ShowS
[FoundMessages] -> ShowS
FoundMessages -> String
(I32 -> FoundMessages -> ShowS)
-> (FoundMessages -> String)
-> ([FoundMessages] -> ShowS)
-> Show FoundMessages
forall a.
(I32 -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [FoundMessages] -> ShowS
$cshowList :: [FoundMessages] -> ShowS
show :: FoundMessages -> String
$cshow :: FoundMessages -> String
showsPrec :: I32 -> FoundMessages -> ShowS
$cshowsPrec :: I32 -> FoundMessages -> ShowS
Show, FoundMessages -> FoundMessages -> Bool
(FoundMessages -> FoundMessages -> Bool)
-> (FoundMessages -> FoundMessages -> Bool) -> Eq FoundMessages
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: FoundMessages -> FoundMessages -> Bool
$c/= :: FoundMessages -> FoundMessages -> Bool
== :: FoundMessages -> FoundMessages -> Bool
$c== :: FoundMessages -> FoundMessages -> Bool
Eq, (forall x. FoundMessages -> Rep FoundMessages x)
-> (forall x. Rep FoundMessages x -> FoundMessages)
-> Generic FoundMessages
forall x. Rep FoundMessages x -> FoundMessages
forall x. FoundMessages -> Rep FoundMessages x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x. Rep FoundMessages x -> FoundMessages
$cfrom :: forall x. FoundMessages -> Rep FoundMessages x
Generic)
data NotificationSettingsScope
=
NotificationSettingsScopePrivateChats
{
}
|
NotificationSettingsScopeGroupChats
{
}
|
NotificationSettingsScopeChannelChats
{
}
deriving (I32 -> NotificationSettingsScope -> ShowS
[NotificationSettingsScope] -> ShowS
NotificationSettingsScope -> String
(I32 -> NotificationSettingsScope -> ShowS)
-> (NotificationSettingsScope -> String)
-> ([NotificationSettingsScope] -> ShowS)
-> Show NotificationSettingsScope
forall a.
(I32 -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [NotificationSettingsScope] -> ShowS
$cshowList :: [NotificationSettingsScope] -> ShowS
show :: NotificationSettingsScope -> String
$cshow :: NotificationSettingsScope -> String
showsPrec :: I32 -> NotificationSettingsScope -> ShowS
$cshowsPrec :: I32 -> NotificationSettingsScope -> ShowS
Show, NotificationSettingsScope -> NotificationSettingsScope -> Bool
(NotificationSettingsScope -> NotificationSettingsScope -> Bool)
-> (NotificationSettingsScope -> NotificationSettingsScope -> Bool)
-> Eq NotificationSettingsScope
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: NotificationSettingsScope -> NotificationSettingsScope -> Bool
$c/= :: NotificationSettingsScope -> NotificationSettingsScope -> Bool
== :: NotificationSettingsScope -> NotificationSettingsScope -> Bool
$c== :: NotificationSettingsScope -> NotificationSettingsScope -> Bool
Eq, (forall x.
NotificationSettingsScope -> Rep NotificationSettingsScope x)
-> (forall x.
Rep NotificationSettingsScope x -> NotificationSettingsScope)
-> Generic NotificationSettingsScope
forall x.
Rep NotificationSettingsScope x -> NotificationSettingsScope
forall x.
NotificationSettingsScope -> Rep NotificationSettingsScope x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x.
Rep NotificationSettingsScope x -> NotificationSettingsScope
$cfrom :: forall x.
NotificationSettingsScope -> Rep NotificationSettingsScope x
Generic)
data ChatNotificationSettings
=
ChatNotificationSettings
{
ChatNotificationSettings -> Bool
useDefaultMuteFor :: Bool,
ChatNotificationSettings -> I32
muteFor :: I32,
ChatNotificationSettings -> Bool
useDefaultSound :: Bool,
ChatNotificationSettings -> T
sound :: T,
ChatNotificationSettings -> Bool
useDefaultShowPreview :: Bool,
ChatNotificationSettings -> Bool
showPreview :: Bool,
ChatNotificationSettings -> Bool
useDefaultDisablePinnedMessageNotifications :: Bool,
ChatNotificationSettings -> Bool
disablePinnedMessageNotifications :: Bool,
ChatNotificationSettings -> Bool
useDefaultDisableMentionNotifications :: Bool,
ChatNotificationSettings -> Bool
disableMentionNotifications :: Bool
}
deriving (I32 -> ChatNotificationSettings -> ShowS
[ChatNotificationSettings] -> ShowS
ChatNotificationSettings -> String
(I32 -> ChatNotificationSettings -> ShowS)
-> (ChatNotificationSettings -> String)
-> ([ChatNotificationSettings] -> ShowS)
-> Show ChatNotificationSettings
forall a.
(I32 -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [ChatNotificationSettings] -> ShowS
$cshowList :: [ChatNotificationSettings] -> ShowS
show :: ChatNotificationSettings -> String
$cshow :: ChatNotificationSettings -> String
showsPrec :: I32 -> ChatNotificationSettings -> ShowS
$cshowsPrec :: I32 -> ChatNotificationSettings -> ShowS
Show, ChatNotificationSettings -> ChatNotificationSettings -> Bool
(ChatNotificationSettings -> ChatNotificationSettings -> Bool)
-> (ChatNotificationSettings -> ChatNotificationSettings -> Bool)
-> Eq ChatNotificationSettings
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: ChatNotificationSettings -> ChatNotificationSettings -> Bool
$c/= :: ChatNotificationSettings -> ChatNotificationSettings -> Bool
== :: ChatNotificationSettings -> ChatNotificationSettings -> Bool
$c== :: ChatNotificationSettings -> ChatNotificationSettings -> Bool
Eq, (forall x.
ChatNotificationSettings -> Rep ChatNotificationSettings x)
-> (forall x.
Rep ChatNotificationSettings x -> ChatNotificationSettings)
-> Generic ChatNotificationSettings
forall x.
Rep ChatNotificationSettings x -> ChatNotificationSettings
forall x.
ChatNotificationSettings -> Rep ChatNotificationSettings x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x.
Rep ChatNotificationSettings x -> ChatNotificationSettings
$cfrom :: forall x.
ChatNotificationSettings -> Rep ChatNotificationSettings x
Generic)
data ScopeNotificationSettings
=
ScopeNotificationSettings
{
ScopeNotificationSettings -> I32
muteFor :: I32,
ScopeNotificationSettings -> T
sound :: T,
ScopeNotificationSettings -> Bool
showPreview :: Bool,
ScopeNotificationSettings -> Bool
disablePinnedMessageNotifications :: Bool,
ScopeNotificationSettings -> Bool
disableMentionNotifications :: Bool
}
deriving (I32 -> ScopeNotificationSettings -> ShowS
[ScopeNotificationSettings] -> ShowS
ScopeNotificationSettings -> String
(I32 -> ScopeNotificationSettings -> ShowS)
-> (ScopeNotificationSettings -> String)
-> ([ScopeNotificationSettings] -> ShowS)
-> Show ScopeNotificationSettings
forall a.
(I32 -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [ScopeNotificationSettings] -> ShowS
$cshowList :: [ScopeNotificationSettings] -> ShowS
show :: ScopeNotificationSettings -> String
$cshow :: ScopeNotificationSettings -> String
showsPrec :: I32 -> ScopeNotificationSettings -> ShowS
$cshowsPrec :: I32 -> ScopeNotificationSettings -> ShowS
Show, ScopeNotificationSettings -> ScopeNotificationSettings -> Bool
(ScopeNotificationSettings -> ScopeNotificationSettings -> Bool)
-> (ScopeNotificationSettings -> ScopeNotificationSettings -> Bool)
-> Eq ScopeNotificationSettings
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: ScopeNotificationSettings -> ScopeNotificationSettings -> Bool
$c/= :: ScopeNotificationSettings -> ScopeNotificationSettings -> Bool
== :: ScopeNotificationSettings -> ScopeNotificationSettings -> Bool
$c== :: ScopeNotificationSettings -> ScopeNotificationSettings -> Bool
Eq, (forall x.
ScopeNotificationSettings -> Rep ScopeNotificationSettings x)
-> (forall x.
Rep ScopeNotificationSettings x -> ScopeNotificationSettings)
-> Generic ScopeNotificationSettings
forall x.
Rep ScopeNotificationSettings x -> ScopeNotificationSettings
forall x.
ScopeNotificationSettings -> Rep ScopeNotificationSettings x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x.
Rep ScopeNotificationSettings x -> ScopeNotificationSettings
$cfrom :: forall x.
ScopeNotificationSettings -> Rep ScopeNotificationSettings x
Generic)
data DraftMessage
=
DraftMessage
{
DraftMessage -> I32
replyToMessageId :: I53,
DraftMessage -> I32
date :: I32,
DraftMessage -> InputMessageContent
inputMessageText :: InputMessageContent
}
deriving (I32 -> DraftMessage -> ShowS
[DraftMessage] -> ShowS
DraftMessage -> String
(I32 -> DraftMessage -> ShowS)
-> (DraftMessage -> String)
-> ([DraftMessage] -> ShowS)
-> Show DraftMessage
forall a.
(I32 -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [DraftMessage] -> ShowS
$cshowList :: [DraftMessage] -> ShowS
show :: DraftMessage -> String
$cshow :: DraftMessage -> String
showsPrec :: I32 -> DraftMessage -> ShowS
$cshowsPrec :: I32 -> DraftMessage -> ShowS
Show, DraftMessage -> DraftMessage -> Bool
(DraftMessage -> DraftMessage -> Bool)
-> (DraftMessage -> DraftMessage -> Bool) -> Eq DraftMessage
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: DraftMessage -> DraftMessage -> Bool
$c/= :: DraftMessage -> DraftMessage -> Bool
== :: DraftMessage -> DraftMessage -> Bool
$c== :: DraftMessage -> DraftMessage -> Bool
Eq, (forall x. DraftMessage -> Rep DraftMessage x)
-> (forall x. Rep DraftMessage x -> DraftMessage)
-> Generic DraftMessage
forall x. Rep DraftMessage x -> DraftMessage
forall x. DraftMessage -> Rep DraftMessage x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x. Rep DraftMessage x -> DraftMessage
$cfrom :: forall x. DraftMessage -> Rep DraftMessage x
Generic)
data ChatType
=
ChatTypePrivate
{
ChatType -> I32
userId :: I32
}
|
ChatTypeBasicGroup
{
ChatType -> I32
basicGroupId :: I32
}
|
ChatTypeSupergroup
{
ChatType -> I32
supergroupId :: I32,
ChatType -> Bool
isChannel :: Bool
}
|
ChatTypeSecret
{
ChatType -> I32
secretChatId :: I32,
userId :: I32
}
deriving (I32 -> ChatType -> ShowS
[ChatType] -> ShowS
ChatType -> String
(I32 -> ChatType -> ShowS)
-> (ChatType -> String) -> ([ChatType] -> ShowS) -> Show ChatType
forall a.
(I32 -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [ChatType] -> ShowS
$cshowList :: [ChatType] -> ShowS
show :: ChatType -> String
$cshow :: ChatType -> String
showsPrec :: I32 -> ChatType -> ShowS
$cshowsPrec :: I32 -> ChatType -> ShowS
Show, ChatType -> ChatType -> Bool
(ChatType -> ChatType -> Bool)
-> (ChatType -> ChatType -> Bool) -> Eq ChatType
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: ChatType -> ChatType -> Bool
$c/= :: ChatType -> ChatType -> Bool
== :: ChatType -> ChatType -> Bool
$c== :: ChatType -> ChatType -> Bool
Eq, (forall x. ChatType -> Rep ChatType x)
-> (forall x. Rep ChatType x -> ChatType) -> Generic ChatType
forall x. Rep ChatType x -> ChatType
forall x. ChatType -> Rep ChatType x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x. Rep ChatType x -> ChatType
$cfrom :: forall x. ChatType -> Rep ChatType x
Generic)
data ChatFilter
=
ChatFilter
{
ChatFilter -> T
title :: T,
ChatFilter -> T
iconName :: T,
ChatFilter -> [I32]
pinnedChatIds :: [I53],
ChatFilter -> [I32]
includedChatIds :: [I53],
ChatFilter -> [I32]
excludedChatIds :: [I53],
ChatFilter -> Bool
excludeMuted :: Bool,
ChatFilter -> Bool
excludeRead :: Bool,
ChatFilter -> Bool
excludeArchived :: Bool,
ChatFilter -> Bool
includeContacts :: Bool,
ChatFilter -> Bool
includeNonContacts :: Bool,
ChatFilter -> Bool
includeBots :: Bool,
ChatFilter -> Bool
includeGroups :: Bool,
ChatFilter -> Bool
includeChannels :: Bool
}
deriving (I32 -> ChatFilter -> ShowS
[ChatFilter] -> ShowS
ChatFilter -> String
(I32 -> ChatFilter -> ShowS)
-> (ChatFilter -> String)
-> ([ChatFilter] -> ShowS)
-> Show ChatFilter
forall a.
(I32 -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [ChatFilter] -> ShowS
$cshowList :: [ChatFilter] -> ShowS
show :: ChatFilter -> String
$cshow :: ChatFilter -> String
showsPrec :: I32 -> ChatFilter -> ShowS
$cshowsPrec :: I32 -> ChatFilter -> ShowS
Show, ChatFilter -> ChatFilter -> Bool
(ChatFilter -> ChatFilter -> Bool)
-> (ChatFilter -> ChatFilter -> Bool) -> Eq ChatFilter
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: ChatFilter -> ChatFilter -> Bool
$c/= :: ChatFilter -> ChatFilter -> Bool
== :: ChatFilter -> ChatFilter -> Bool
$c== :: ChatFilter -> ChatFilter -> Bool
Eq, (forall x. ChatFilter -> Rep ChatFilter x)
-> (forall x. Rep ChatFilter x -> ChatFilter) -> Generic ChatFilter
forall x. Rep ChatFilter x -> ChatFilter
forall x. ChatFilter -> Rep ChatFilter x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x. Rep ChatFilter x -> ChatFilter
$cfrom :: forall x. ChatFilter -> Rep ChatFilter x
Generic)
data ChatFilterInfo
=
ChatFilterInfo
{
ChatFilterInfo -> I32
id :: I32,
ChatFilterInfo -> T
title :: T,
ChatFilterInfo -> T
iconName :: T
}
deriving (I32 -> ChatFilterInfo -> ShowS
[ChatFilterInfo] -> ShowS
ChatFilterInfo -> String
(I32 -> ChatFilterInfo -> ShowS)
-> (ChatFilterInfo -> String)
-> ([ChatFilterInfo] -> ShowS)
-> Show ChatFilterInfo
forall a.
(I32 -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [ChatFilterInfo] -> ShowS
$cshowList :: [ChatFilterInfo] -> ShowS
show :: ChatFilterInfo -> String
$cshow :: ChatFilterInfo -> String
showsPrec :: I32 -> ChatFilterInfo -> ShowS
$cshowsPrec :: I32 -> ChatFilterInfo -> ShowS
Show, ChatFilterInfo -> ChatFilterInfo -> Bool
(ChatFilterInfo -> ChatFilterInfo -> Bool)
-> (ChatFilterInfo -> ChatFilterInfo -> Bool) -> Eq ChatFilterInfo
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: ChatFilterInfo -> ChatFilterInfo -> Bool
$c/= :: ChatFilterInfo -> ChatFilterInfo -> Bool
== :: ChatFilterInfo -> ChatFilterInfo -> Bool
$c== :: ChatFilterInfo -> ChatFilterInfo -> Bool
Eq, (forall x. ChatFilterInfo -> Rep ChatFilterInfo x)
-> (forall x. Rep ChatFilterInfo x -> ChatFilterInfo)
-> Generic ChatFilterInfo
forall x. Rep ChatFilterInfo x -> ChatFilterInfo
forall x. ChatFilterInfo -> Rep ChatFilterInfo x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x. Rep ChatFilterInfo x -> ChatFilterInfo
$cfrom :: forall x. ChatFilterInfo -> Rep ChatFilterInfo x
Generic)
data RecommendedChatFilter
=
RecommendedChatFilter
{
RecommendedChatFilter -> ChatFilter
filter :: ChatFilter,
RecommendedChatFilter -> T
description :: T
}
deriving (I32 -> RecommendedChatFilter -> ShowS
[RecommendedChatFilter] -> ShowS
RecommendedChatFilter -> String
(I32 -> RecommendedChatFilter -> ShowS)
-> (RecommendedChatFilter -> String)
-> ([RecommendedChatFilter] -> ShowS)
-> Show RecommendedChatFilter
forall a.
(I32 -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [RecommendedChatFilter] -> ShowS
$cshowList :: [RecommendedChatFilter] -> ShowS
show :: RecommendedChatFilter -> String
$cshow :: RecommendedChatFilter -> String
showsPrec :: I32 -> RecommendedChatFilter -> ShowS
$cshowsPrec :: I32 -> RecommendedChatFilter -> ShowS
Show, RecommendedChatFilter -> RecommendedChatFilter -> Bool
(RecommendedChatFilter -> RecommendedChatFilter -> Bool)
-> (RecommendedChatFilter -> RecommendedChatFilter -> Bool)
-> Eq RecommendedChatFilter
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: RecommendedChatFilter -> RecommendedChatFilter -> Bool
$c/= :: RecommendedChatFilter -> RecommendedChatFilter -> Bool
== :: RecommendedChatFilter -> RecommendedChatFilter -> Bool
$c== :: RecommendedChatFilter -> RecommendedChatFilter -> Bool
Eq, (forall x. RecommendedChatFilter -> Rep RecommendedChatFilter x)
-> (forall x. Rep RecommendedChatFilter x -> RecommendedChatFilter)
-> Generic RecommendedChatFilter
forall x. Rep RecommendedChatFilter x -> RecommendedChatFilter
forall x. RecommendedChatFilter -> Rep RecommendedChatFilter x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x. Rep RecommendedChatFilter x -> RecommendedChatFilter
$cfrom :: forall x. RecommendedChatFilter -> Rep RecommendedChatFilter x
Generic)
data RecommendedChatFilters
=
RecommendedChatFilters
{
RecommendedChatFilters -> [RecommendedChatFilter]
chatFilters :: [RecommendedChatFilter]
}
deriving (I32 -> RecommendedChatFilters -> ShowS
[RecommendedChatFilters] -> ShowS
RecommendedChatFilters -> String
(I32 -> RecommendedChatFilters -> ShowS)
-> (RecommendedChatFilters -> String)
-> ([RecommendedChatFilters] -> ShowS)
-> Show RecommendedChatFilters
forall a.
(I32 -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [RecommendedChatFilters] -> ShowS
$cshowList :: [RecommendedChatFilters] -> ShowS
show :: RecommendedChatFilters -> String
$cshow :: RecommendedChatFilters -> String
showsPrec :: I32 -> RecommendedChatFilters -> ShowS
$cshowsPrec :: I32 -> RecommendedChatFilters -> ShowS
Show, RecommendedChatFilters -> RecommendedChatFilters -> Bool
(RecommendedChatFilters -> RecommendedChatFilters -> Bool)
-> (RecommendedChatFilters -> RecommendedChatFilters -> Bool)
-> Eq RecommendedChatFilters
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: RecommendedChatFilters -> RecommendedChatFilters -> Bool
$c/= :: RecommendedChatFilters -> RecommendedChatFilters -> Bool
== :: RecommendedChatFilters -> RecommendedChatFilters -> Bool
$c== :: RecommendedChatFilters -> RecommendedChatFilters -> Bool
Eq, (forall x. RecommendedChatFilters -> Rep RecommendedChatFilters x)
-> (forall x.
Rep RecommendedChatFilters x -> RecommendedChatFilters)
-> Generic RecommendedChatFilters
forall x. Rep RecommendedChatFilters x -> RecommendedChatFilters
forall x. RecommendedChatFilters -> Rep RecommendedChatFilters x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x. Rep RecommendedChatFilters x -> RecommendedChatFilters
$cfrom :: forall x. RecommendedChatFilters -> Rep RecommendedChatFilters x
Generic)
data ChatList
=
ChatListMain
{
}
|
ChatListArchive
{
}
|
ChatListFilter
{
ChatList -> I32
chatFilterId :: I32
}
deriving (I32 -> ChatList -> ShowS
[ChatList] -> ShowS
ChatList -> String
(I32 -> ChatList -> ShowS)
-> (ChatList -> String) -> ([ChatList] -> ShowS) -> Show ChatList
forall a.
(I32 -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [ChatList] -> ShowS
$cshowList :: [ChatList] -> ShowS
show :: ChatList -> String
$cshow :: ChatList -> String
showsPrec :: I32 -> ChatList -> ShowS
$cshowsPrec :: I32 -> ChatList -> ShowS
Show, ChatList -> ChatList -> Bool
(ChatList -> ChatList -> Bool)
-> (ChatList -> ChatList -> Bool) -> Eq ChatList
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: ChatList -> ChatList -> Bool
$c/= :: ChatList -> ChatList -> Bool
== :: ChatList -> ChatList -> Bool
$c== :: ChatList -> ChatList -> Bool
Eq, (forall x. ChatList -> Rep ChatList x)
-> (forall x. Rep ChatList x -> ChatList) -> Generic ChatList
forall x. Rep ChatList x -> ChatList
forall x. ChatList -> Rep ChatList x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x. Rep ChatList x -> ChatList
$cfrom :: forall x. ChatList -> Rep ChatList x
Generic)
data ChatLists
=
ChatLists
{
ChatLists -> [ChatList]
chatLists :: [ChatList]
}
deriving (I32 -> ChatLists -> ShowS
[ChatLists] -> ShowS
ChatLists -> String
(I32 -> ChatLists -> ShowS)
-> (ChatLists -> String)
-> ([ChatLists] -> ShowS)
-> Show ChatLists
forall a.
(I32 -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [ChatLists] -> ShowS
$cshowList :: [ChatLists] -> ShowS
show :: ChatLists -> String
$cshow :: ChatLists -> String
showsPrec :: I32 -> ChatLists -> ShowS
$cshowsPrec :: I32 -> ChatLists -> ShowS
Show, ChatLists -> ChatLists -> Bool
(ChatLists -> ChatLists -> Bool)
-> (ChatLists -> ChatLists -> Bool) -> Eq ChatLists
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: ChatLists -> ChatLists -> Bool
$c/= :: ChatLists -> ChatLists -> Bool
== :: ChatLists -> ChatLists -> Bool
$c== :: ChatLists -> ChatLists -> Bool
Eq, (forall x. ChatLists -> Rep ChatLists x)
-> (forall x. Rep ChatLists x -> ChatLists) -> Generic ChatLists
forall x. Rep ChatLists x -> ChatLists
forall x. ChatLists -> Rep ChatLists x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x. Rep ChatLists x -> ChatLists
$cfrom :: forall x. ChatLists -> Rep ChatLists x
Generic)
data ChatSource
=
ChatSourceMtprotoProxy
{
}
|
ChatSourcePublicServiceAnnouncement
{
ChatSource -> T
type_ :: T,
ChatSource -> T
text :: T
}
deriving (I32 -> ChatSource -> ShowS
[ChatSource] -> ShowS
ChatSource -> String
(I32 -> ChatSource -> ShowS)
-> (ChatSource -> String)
-> ([ChatSource] -> ShowS)
-> Show ChatSource
forall a.
(I32 -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [ChatSource] -> ShowS
$cshowList :: [ChatSource] -> ShowS
show :: ChatSource -> String
$cshow :: ChatSource -> String
showsPrec :: I32 -> ChatSource -> ShowS
$cshowsPrec :: I32 -> ChatSource -> ShowS
Show, ChatSource -> ChatSource -> Bool
(ChatSource -> ChatSource -> Bool)
-> (ChatSource -> ChatSource -> Bool) -> Eq ChatSource
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: ChatSource -> ChatSource -> Bool
$c/= :: ChatSource -> ChatSource -> Bool
== :: ChatSource -> ChatSource -> Bool
$c== :: ChatSource -> ChatSource -> Bool
Eq, (forall x. ChatSource -> Rep ChatSource x)
-> (forall x. Rep ChatSource x -> ChatSource) -> Generic ChatSource
forall x. Rep ChatSource x -> ChatSource
forall x. ChatSource -> Rep ChatSource x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x. Rep ChatSource x -> ChatSource
$cfrom :: forall x. ChatSource -> Rep ChatSource x
Generic)
data ChatPosition
=
ChatPosition
{
ChatPosition -> ChatList
list :: ChatList,
ChatPosition -> I64
order :: I64,
ChatPosition -> Bool
isPinned :: Bool,
ChatPosition -> Maybe ChatSource
source :: (Maybe) (ChatSource)
}
deriving (I32 -> ChatPosition -> ShowS
[ChatPosition] -> ShowS
ChatPosition -> String
(I32 -> ChatPosition -> ShowS)
-> (ChatPosition -> String)
-> ([ChatPosition] -> ShowS)
-> Show ChatPosition
forall a.
(I32 -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [ChatPosition] -> ShowS
$cshowList :: [ChatPosition] -> ShowS
show :: ChatPosition -> String
$cshow :: ChatPosition -> String
showsPrec :: I32 -> ChatPosition -> ShowS
$cshowsPrec :: I32 -> ChatPosition -> ShowS
Show, ChatPosition -> ChatPosition -> Bool
(ChatPosition -> ChatPosition -> Bool)
-> (ChatPosition -> ChatPosition -> Bool) -> Eq ChatPosition
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: ChatPosition -> ChatPosition -> Bool
$c/= :: ChatPosition -> ChatPosition -> Bool
== :: ChatPosition -> ChatPosition -> Bool
$c== :: ChatPosition -> ChatPosition -> Bool
Eq, (forall x. ChatPosition -> Rep ChatPosition x)
-> (forall x. Rep ChatPosition x -> ChatPosition)
-> Generic ChatPosition
forall x. Rep ChatPosition x -> ChatPosition
forall x. ChatPosition -> Rep ChatPosition x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x. Rep ChatPosition x -> ChatPosition
$cfrom :: forall x. ChatPosition -> Rep ChatPosition x
Generic)
data Chat
=
Chat
{
Chat -> I32
id :: I53,
Chat -> ChatType
type_ :: ChatType,
Chat -> T
title :: T,
Chat -> Maybe ChatPhoto
photo :: (Maybe) (ChatPhoto),
Chat -> ChatPermissions
permissions :: ChatPermissions,
Chat -> Maybe Message
lastMessage :: (Maybe) (Message),
Chat -> [ChatPosition]
positions :: [ChatPosition],
Chat -> Bool
isMarkedAsUnread :: Bool,
Chat -> Bool
hasScheduledMessages :: Bool,
Chat -> Bool
canBeDeletedOnlyForSelf :: Bool,
Chat -> Bool
canBeDeletedForAllUsers :: Bool,
Chat -> Bool
canBeReported :: Bool,
Chat -> Bool
defaultDisableNotification :: Bool,
Chat -> I32
unreadCount :: I32,
Chat -> I32
lastReadInboxMessageId :: I53,
Chat -> I32
lastReadOutboxMessageId :: I53,
Chat -> I32
unreadMentionCount :: I32,
Chat -> ChatNotificationSettings
notificationSettings :: ChatNotificationSettings,
Chat -> Maybe ChatActionBar
actionBar :: (Maybe) (ChatActionBar),
Chat -> I32
pinnedMessageId :: I53,
Chat -> I32
replyMarkupMessageId :: I53,
Chat -> Maybe DraftMessage
draftMessage :: (Maybe) (DraftMessage),
Chat -> T
clientData :: T
}
deriving (I32 -> Chat -> ShowS
[Chat] -> ShowS
Chat -> String
(I32 -> Chat -> ShowS)
-> (Chat -> String) -> ([Chat] -> ShowS) -> Show Chat
forall a.
(I32 -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [Chat] -> ShowS
$cshowList :: [Chat] -> ShowS
show :: Chat -> String
$cshow :: Chat -> String
showsPrec :: I32 -> Chat -> ShowS
$cshowsPrec :: I32 -> Chat -> ShowS
Show, Chat -> Chat -> Bool
(Chat -> Chat -> Bool) -> (Chat -> Chat -> Bool) -> Eq Chat
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: Chat -> Chat -> Bool
$c/= :: Chat -> Chat -> Bool
== :: Chat -> Chat -> Bool
$c== :: Chat -> Chat -> Bool
Eq, (forall x. Chat -> Rep Chat x)
-> (forall x. Rep Chat x -> Chat) -> Generic Chat
forall x. Rep Chat x -> Chat
forall x. Chat -> Rep Chat x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x. Rep Chat x -> Chat
$cfrom :: forall x. Chat -> Rep Chat x
Generic)
data Chats
=
Chats
{
Chats -> [I32]
chatIds :: [I53]
}
deriving (I32 -> Chats -> ShowS
[Chats] -> ShowS
Chats -> String
(I32 -> Chats -> ShowS)
-> (Chats -> String) -> ([Chats] -> ShowS) -> Show Chats
forall a.
(I32 -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [Chats] -> ShowS
$cshowList :: [Chats] -> ShowS
show :: Chats -> String
$cshow :: Chats -> String
showsPrec :: I32 -> Chats -> ShowS
$cshowsPrec :: I32 -> Chats -> ShowS
Show, Chats -> Chats -> Bool
(Chats -> Chats -> Bool) -> (Chats -> Chats -> Bool) -> Eq Chats
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: Chats -> Chats -> Bool
$c/= :: Chats -> Chats -> Bool
== :: Chats -> Chats -> Bool
$c== :: Chats -> Chats -> Bool
Eq, (forall x. Chats -> Rep Chats x)
-> (forall x. Rep Chats x -> Chats) -> Generic Chats
forall x. Rep Chats x -> Chats
forall x. Chats -> Rep Chats x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x. Rep Chats x -> Chats
$cfrom :: forall x. Chats -> Rep Chats x
Generic)
data ChatNearby
=
ChatNearby
{
ChatNearby -> I32
chatId :: I53,
ChatNearby -> I32
distance :: I32
}
deriving (I32 -> ChatNearby -> ShowS
[ChatNearby] -> ShowS
ChatNearby -> String
(I32 -> ChatNearby -> ShowS)
-> (ChatNearby -> String)
-> ([ChatNearby] -> ShowS)
-> Show ChatNearby
forall a.
(I32 -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [ChatNearby] -> ShowS
$cshowList :: [ChatNearby] -> ShowS
show :: ChatNearby -> String
$cshow :: ChatNearby -> String
showsPrec :: I32 -> ChatNearby -> ShowS
$cshowsPrec :: I32 -> ChatNearby -> ShowS
Show, ChatNearby -> ChatNearby -> Bool
(ChatNearby -> ChatNearby -> Bool)
-> (ChatNearby -> ChatNearby -> Bool) -> Eq ChatNearby
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: ChatNearby -> ChatNearby -> Bool
$c/= :: ChatNearby -> ChatNearby -> Bool
== :: ChatNearby -> ChatNearby -> Bool
$c== :: ChatNearby -> ChatNearby -> Bool
Eq, (forall x. ChatNearby -> Rep ChatNearby x)
-> (forall x. Rep ChatNearby x -> ChatNearby) -> Generic ChatNearby
forall x. Rep ChatNearby x -> ChatNearby
forall x. ChatNearby -> Rep ChatNearby x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x. Rep ChatNearby x -> ChatNearby
$cfrom :: forall x. ChatNearby -> Rep ChatNearby x
Generic)
data ChatsNearby
=
ChatsNearby
{
ChatsNearby -> [ChatNearby]
usersNearby :: [ChatNearby],
ChatsNearby -> [ChatNearby]
supergroupsNearby :: [ChatNearby]
}
deriving (I32 -> ChatsNearby -> ShowS
[ChatsNearby] -> ShowS
ChatsNearby -> String
(I32 -> ChatsNearby -> ShowS)
-> (ChatsNearby -> String)
-> ([ChatsNearby] -> ShowS)
-> Show ChatsNearby
forall a.
(I32 -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [ChatsNearby] -> ShowS
$cshowList :: [ChatsNearby] -> ShowS
show :: ChatsNearby -> String
$cshow :: ChatsNearby -> String
showsPrec :: I32 -> ChatsNearby -> ShowS
$cshowsPrec :: I32 -> ChatsNearby -> ShowS
Show, ChatsNearby -> ChatsNearby -> Bool
(ChatsNearby -> ChatsNearby -> Bool)
-> (ChatsNearby -> ChatsNearby -> Bool) -> Eq ChatsNearby
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: ChatsNearby -> ChatsNearby -> Bool
$c/= :: ChatsNearby -> ChatsNearby -> Bool
== :: ChatsNearby -> ChatsNearby -> Bool
$c== :: ChatsNearby -> ChatsNearby -> Bool
Eq, (forall x. ChatsNearby -> Rep ChatsNearby x)
-> (forall x. Rep ChatsNearby x -> ChatsNearby)
-> Generic ChatsNearby
forall x. Rep ChatsNearby x -> ChatsNearby
forall x. ChatsNearby -> Rep ChatsNearby x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x. Rep ChatsNearby x -> ChatsNearby
$cfrom :: forall x. ChatsNearby -> Rep ChatsNearby x
Generic)
data ChatInviteLink
=
ChatInviteLink
{
ChatInviteLink -> T
inviteLink :: T
}
deriving (I32 -> ChatInviteLink -> ShowS
[ChatInviteLink] -> ShowS
ChatInviteLink -> String
(I32 -> ChatInviteLink -> ShowS)
-> (ChatInviteLink -> String)
-> ([ChatInviteLink] -> ShowS)
-> Show ChatInviteLink
forall a.
(I32 -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [ChatInviteLink] -> ShowS
$cshowList :: [ChatInviteLink] -> ShowS
show :: ChatInviteLink -> String
$cshow :: ChatInviteLink -> String
showsPrec :: I32 -> ChatInviteLink -> ShowS
$cshowsPrec :: I32 -> ChatInviteLink -> ShowS
Show, ChatInviteLink -> ChatInviteLink -> Bool
(ChatInviteLink -> ChatInviteLink -> Bool)
-> (ChatInviteLink -> ChatInviteLink -> Bool) -> Eq ChatInviteLink
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: ChatInviteLink -> ChatInviteLink -> Bool
$c/= :: ChatInviteLink -> ChatInviteLink -> Bool
== :: ChatInviteLink -> ChatInviteLink -> Bool
$c== :: ChatInviteLink -> ChatInviteLink -> Bool
Eq, (forall x. ChatInviteLink -> Rep ChatInviteLink x)
-> (forall x. Rep ChatInviteLink x -> ChatInviteLink)
-> Generic ChatInviteLink
forall x. Rep ChatInviteLink x -> ChatInviteLink
forall x. ChatInviteLink -> Rep ChatInviteLink x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x. Rep ChatInviteLink x -> ChatInviteLink
$cfrom :: forall x. ChatInviteLink -> Rep ChatInviteLink x
Generic)
data ChatInviteLinkInfo
=
ChatInviteLinkInfo
{
ChatInviteLinkInfo -> I32
chatId :: I53,
ChatInviteLinkInfo -> ChatType
type_ :: ChatType,
ChatInviteLinkInfo -> T
title :: T,
ChatInviteLinkInfo -> Maybe ChatPhoto
photo :: (Maybe) (ChatPhoto),
ChatInviteLinkInfo -> I32
memberCount :: I32,
ChatInviteLinkInfo -> [I32]
memberUserIds :: [I32],
ChatInviteLinkInfo -> Bool
isPublic :: Bool
}
deriving (I32 -> ChatInviteLinkInfo -> ShowS
[ChatInviteLinkInfo] -> ShowS
ChatInviteLinkInfo -> String
(I32 -> ChatInviteLinkInfo -> ShowS)
-> (ChatInviteLinkInfo -> String)
-> ([ChatInviteLinkInfo] -> ShowS)
-> Show ChatInviteLinkInfo
forall a.
(I32 -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [ChatInviteLinkInfo] -> ShowS
$cshowList :: [ChatInviteLinkInfo] -> ShowS
show :: ChatInviteLinkInfo -> String
$cshow :: ChatInviteLinkInfo -> String
showsPrec :: I32 -> ChatInviteLinkInfo -> ShowS
$cshowsPrec :: I32 -> ChatInviteLinkInfo -> ShowS
Show, ChatInviteLinkInfo -> ChatInviteLinkInfo -> Bool
(ChatInviteLinkInfo -> ChatInviteLinkInfo -> Bool)
-> (ChatInviteLinkInfo -> ChatInviteLinkInfo -> Bool)
-> Eq ChatInviteLinkInfo
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: ChatInviteLinkInfo -> ChatInviteLinkInfo -> Bool
$c/= :: ChatInviteLinkInfo -> ChatInviteLinkInfo -> Bool
== :: ChatInviteLinkInfo -> ChatInviteLinkInfo -> Bool
$c== :: ChatInviteLinkInfo -> ChatInviteLinkInfo -> Bool
Eq, (forall x. ChatInviteLinkInfo -> Rep ChatInviteLinkInfo x)
-> (forall x. Rep ChatInviteLinkInfo x -> ChatInviteLinkInfo)
-> Generic ChatInviteLinkInfo
forall x. Rep ChatInviteLinkInfo x -> ChatInviteLinkInfo
forall x. ChatInviteLinkInfo -> Rep ChatInviteLinkInfo x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x. Rep ChatInviteLinkInfo x -> ChatInviteLinkInfo
$cfrom :: forall x. ChatInviteLinkInfo -> Rep ChatInviteLinkInfo x
Generic)
data PublicChatType
=
PublicChatTypeHasUsername
{
}
|
PublicChatTypeIsLocationBased
{
}
deriving (I32 -> PublicChatType -> ShowS
[PublicChatType] -> ShowS
PublicChatType -> String
(I32 -> PublicChatType -> ShowS)
-> (PublicChatType -> String)
-> ([PublicChatType] -> ShowS)
-> Show PublicChatType
forall a.
(I32 -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [PublicChatType] -> ShowS
$cshowList :: [PublicChatType] -> ShowS
show :: PublicChatType -> String
$cshow :: PublicChatType -> String
showsPrec :: I32 -> PublicChatType -> ShowS
$cshowsPrec :: I32 -> PublicChatType -> ShowS
Show, PublicChatType -> PublicChatType -> Bool
(PublicChatType -> PublicChatType -> Bool)
-> (PublicChatType -> PublicChatType -> Bool) -> Eq PublicChatType
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: PublicChatType -> PublicChatType -> Bool
$c/= :: PublicChatType -> PublicChatType -> Bool
== :: PublicChatType -> PublicChatType -> Bool
$c== :: PublicChatType -> PublicChatType -> Bool
Eq, (forall x. PublicChatType -> Rep PublicChatType x)
-> (forall x. Rep PublicChatType x -> PublicChatType)
-> Generic PublicChatType
forall x. Rep PublicChatType x -> PublicChatType
forall x. PublicChatType -> Rep PublicChatType x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x. Rep PublicChatType x -> PublicChatType
$cfrom :: forall x. PublicChatType -> Rep PublicChatType x
Generic)
data ChatActionBar
=
ChatActionBarReportSpam
{
}
|
ChatActionBarReportUnrelatedLocation
{
}
|
ChatActionBarReportAddBlock
{
}
|
ChatActionBarAddContact
{
}
|
ChatActionBarSharePhoneNumber
{
}
deriving (I32 -> ChatActionBar -> ShowS
[ChatActionBar] -> ShowS
ChatActionBar -> String
(I32 -> ChatActionBar -> ShowS)
-> (ChatActionBar -> String)
-> ([ChatActionBar] -> ShowS)
-> Show ChatActionBar
forall a.
(I32 -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [ChatActionBar] -> ShowS
$cshowList :: [ChatActionBar] -> ShowS
show :: ChatActionBar -> String
$cshow :: ChatActionBar -> String
showsPrec :: I32 -> ChatActionBar -> ShowS
$cshowsPrec :: I32 -> ChatActionBar -> ShowS
Show, ChatActionBar -> ChatActionBar -> Bool
(ChatActionBar -> ChatActionBar -> Bool)
-> (ChatActionBar -> ChatActionBar -> Bool) -> Eq ChatActionBar
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: ChatActionBar -> ChatActionBar -> Bool
$c/= :: ChatActionBar -> ChatActionBar -> Bool
== :: ChatActionBar -> ChatActionBar -> Bool
$c== :: ChatActionBar -> ChatActionBar -> Bool
Eq, (forall x. ChatActionBar -> Rep ChatActionBar x)
-> (forall x. Rep ChatActionBar x -> ChatActionBar)
-> Generic ChatActionBar
forall x. Rep ChatActionBar x -> ChatActionBar
forall x. ChatActionBar -> Rep ChatActionBar x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x. Rep ChatActionBar x -> ChatActionBar
$cfrom :: forall x. ChatActionBar -> Rep ChatActionBar x
Generic)
data KeyboardButtonType
=
KeyboardButtonTypeText
{
}
|
KeyboardButtonTypeRequestPhoneNumber
{
}
|
KeyboardButtonTypeRequestLocation
{
}
|
KeyboardButtonTypeRequestPoll
{
KeyboardButtonType -> Bool
forceRegular :: Bool,
KeyboardButtonType -> Bool
forceQuiz :: Bool
}
deriving (I32 -> KeyboardButtonType -> ShowS
[KeyboardButtonType] -> ShowS
KeyboardButtonType -> String
(I32 -> KeyboardButtonType -> ShowS)
-> (KeyboardButtonType -> String)
-> ([KeyboardButtonType] -> ShowS)
-> Show KeyboardButtonType
forall a.
(I32 -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [KeyboardButtonType] -> ShowS
$cshowList :: [KeyboardButtonType] -> ShowS
show :: KeyboardButtonType -> String
$cshow :: KeyboardButtonType -> String
showsPrec :: I32 -> KeyboardButtonType -> ShowS
$cshowsPrec :: I32 -> KeyboardButtonType -> ShowS
Show, KeyboardButtonType -> KeyboardButtonType -> Bool
(KeyboardButtonType -> KeyboardButtonType -> Bool)
-> (KeyboardButtonType -> KeyboardButtonType -> Bool)
-> Eq KeyboardButtonType
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: KeyboardButtonType -> KeyboardButtonType -> Bool
$c/= :: KeyboardButtonType -> KeyboardButtonType -> Bool
== :: KeyboardButtonType -> KeyboardButtonType -> Bool
$c== :: KeyboardButtonType -> KeyboardButtonType -> Bool
Eq, (forall x. KeyboardButtonType -> Rep KeyboardButtonType x)
-> (forall x. Rep KeyboardButtonType x -> KeyboardButtonType)
-> Generic KeyboardButtonType
forall x. Rep KeyboardButtonType x -> KeyboardButtonType
forall x. KeyboardButtonType -> Rep KeyboardButtonType x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x. Rep KeyboardButtonType x -> KeyboardButtonType
$cfrom :: forall x. KeyboardButtonType -> Rep KeyboardButtonType x
Generic)
data KeyboardButton
=
KeyboardButton
{
KeyboardButton -> T
text :: T,
KeyboardButton -> KeyboardButtonType
type_ :: KeyboardButtonType
}
deriving (I32 -> KeyboardButton -> ShowS
[KeyboardButton] -> ShowS
KeyboardButton -> String
(I32 -> KeyboardButton -> ShowS)
-> (KeyboardButton -> String)
-> ([KeyboardButton] -> ShowS)
-> Show KeyboardButton
forall a.
(I32 -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [KeyboardButton] -> ShowS
$cshowList :: [KeyboardButton] -> ShowS
show :: KeyboardButton -> String
$cshow :: KeyboardButton -> String
showsPrec :: I32 -> KeyboardButton -> ShowS
$cshowsPrec :: I32 -> KeyboardButton -> ShowS
Show, KeyboardButton -> KeyboardButton -> Bool
(KeyboardButton -> KeyboardButton -> Bool)
-> (KeyboardButton -> KeyboardButton -> Bool) -> Eq KeyboardButton
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: KeyboardButton -> KeyboardButton -> Bool
$c/= :: KeyboardButton -> KeyboardButton -> Bool
== :: KeyboardButton -> KeyboardButton -> Bool
$c== :: KeyboardButton -> KeyboardButton -> Bool
Eq, (forall x. KeyboardButton -> Rep KeyboardButton x)
-> (forall x. Rep KeyboardButton x -> KeyboardButton)
-> Generic KeyboardButton
forall x. Rep KeyboardButton x -> KeyboardButton
forall x. KeyboardButton -> Rep KeyboardButton x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x. Rep KeyboardButton x -> KeyboardButton
$cfrom :: forall x. KeyboardButton -> Rep KeyboardButton x
Generic)
data InlineKeyboardButtonType
=
InlineKeyboardButtonTypeUrl
{
InlineKeyboardButtonType -> T
url :: T
}
|
InlineKeyboardButtonTypeLoginUrl
{
url :: T,
InlineKeyboardButtonType -> I32
id :: I32,
InlineKeyboardButtonType -> T
forwardText :: T
}
|
InlineKeyboardButtonTypeCallback
{
InlineKeyboardButtonType -> ByteString64
data_ :: ByteString64
}
|
InlineKeyboardButtonTypeCallbackGame
{
}
|
InlineKeyboardButtonTypeSwitchInline
{
InlineKeyboardButtonType -> T
query :: T,
InlineKeyboardButtonType -> Bool
inCurrentChat :: Bool
}
|
InlineKeyboardButtonTypeBuy
{
}
deriving (I32 -> InlineKeyboardButtonType -> ShowS
[InlineKeyboardButtonType] -> ShowS
InlineKeyboardButtonType -> String
(I32 -> InlineKeyboardButtonType -> ShowS)
-> (InlineKeyboardButtonType -> String)
-> ([InlineKeyboardButtonType] -> ShowS)
-> Show InlineKeyboardButtonType
forall a.
(I32 -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [InlineKeyboardButtonType] -> ShowS
$cshowList :: [InlineKeyboardButtonType] -> ShowS
show :: InlineKeyboardButtonType -> String
$cshow :: InlineKeyboardButtonType -> String
showsPrec :: I32 -> InlineKeyboardButtonType -> ShowS
$cshowsPrec :: I32 -> InlineKeyboardButtonType -> ShowS
Show, InlineKeyboardButtonType -> InlineKeyboardButtonType -> Bool
(InlineKeyboardButtonType -> InlineKeyboardButtonType -> Bool)
-> (InlineKeyboardButtonType -> InlineKeyboardButtonType -> Bool)
-> Eq InlineKeyboardButtonType
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: InlineKeyboardButtonType -> InlineKeyboardButtonType -> Bool
$c/= :: InlineKeyboardButtonType -> InlineKeyboardButtonType -> Bool
== :: InlineKeyboardButtonType -> InlineKeyboardButtonType -> Bool
$c== :: InlineKeyboardButtonType -> InlineKeyboardButtonType -> Bool
Eq, (forall x.
InlineKeyboardButtonType -> Rep InlineKeyboardButtonType x)
-> (forall x.
Rep InlineKeyboardButtonType x -> InlineKeyboardButtonType)
-> Generic InlineKeyboardButtonType
forall x.
Rep InlineKeyboardButtonType x -> InlineKeyboardButtonType
forall x.
InlineKeyboardButtonType -> Rep InlineKeyboardButtonType x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x.
Rep InlineKeyboardButtonType x -> InlineKeyboardButtonType
$cfrom :: forall x.
InlineKeyboardButtonType -> Rep InlineKeyboardButtonType x
Generic)
data InlineKeyboardButton
=
InlineKeyboardButton
{
InlineKeyboardButton -> T
text :: T,
InlineKeyboardButton -> InlineKeyboardButtonType
type_ :: InlineKeyboardButtonType
}
deriving (I32 -> InlineKeyboardButton -> ShowS
[InlineKeyboardButton] -> ShowS
InlineKeyboardButton -> String
(I32 -> InlineKeyboardButton -> ShowS)
-> (InlineKeyboardButton -> String)
-> ([InlineKeyboardButton] -> ShowS)
-> Show InlineKeyboardButton
forall a.
(I32 -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [InlineKeyboardButton] -> ShowS
$cshowList :: [InlineKeyboardButton] -> ShowS
show :: InlineKeyboardButton -> String
$cshow :: InlineKeyboardButton -> String
showsPrec :: I32 -> InlineKeyboardButton -> ShowS
$cshowsPrec :: I32 -> InlineKeyboardButton -> ShowS
Show, InlineKeyboardButton -> InlineKeyboardButton -> Bool
(InlineKeyboardButton -> InlineKeyboardButton -> Bool)
-> (InlineKeyboardButton -> InlineKeyboardButton -> Bool)
-> Eq InlineKeyboardButton
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: InlineKeyboardButton -> InlineKeyboardButton -> Bool
$c/= :: InlineKeyboardButton -> InlineKeyboardButton -> Bool
== :: InlineKeyboardButton -> InlineKeyboardButton -> Bool
$c== :: InlineKeyboardButton -> InlineKeyboardButton -> Bool
Eq, (forall x. InlineKeyboardButton -> Rep InlineKeyboardButton x)
-> (forall x. Rep InlineKeyboardButton x -> InlineKeyboardButton)
-> Generic InlineKeyboardButton
forall x. Rep InlineKeyboardButton x -> InlineKeyboardButton
forall x. InlineKeyboardButton -> Rep InlineKeyboardButton x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x. Rep InlineKeyboardButton x -> InlineKeyboardButton
$cfrom :: forall x. InlineKeyboardButton -> Rep InlineKeyboardButton x
Generic)
data ReplyMarkup
=
ReplyMarkupRemoveKeyboard
{
ReplyMarkup -> Bool
isPersonal :: Bool
}
|
ReplyMarkupForceReply
{
isPersonal :: Bool
}
|
ReplyMarkupShowKeyboard
{
ReplyMarkup -> [[KeyboardButton]]
rows_2 :: [[KeyboardButton]],
ReplyMarkup -> Bool
resizeKeyboard :: Bool,
ReplyMarkup -> Bool
oneTime :: Bool,
isPersonal :: Bool
}
|
ReplyMarkupInlineKeyboard
{
ReplyMarkup -> [[InlineKeyboardButton]]
rows :: [[InlineKeyboardButton]]
}
deriving (I32 -> ReplyMarkup -> ShowS
[ReplyMarkup] -> ShowS
ReplyMarkup -> String
(I32 -> ReplyMarkup -> ShowS)
-> (ReplyMarkup -> String)
-> ([ReplyMarkup] -> ShowS)
-> Show ReplyMarkup
forall a.
(I32 -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [ReplyMarkup] -> ShowS
$cshowList :: [ReplyMarkup] -> ShowS
show :: ReplyMarkup -> String
$cshow :: ReplyMarkup -> String
showsPrec :: I32 -> ReplyMarkup -> ShowS
$cshowsPrec :: I32 -> ReplyMarkup -> ShowS
Show, ReplyMarkup -> ReplyMarkup -> Bool
(ReplyMarkup -> ReplyMarkup -> Bool)
-> (ReplyMarkup -> ReplyMarkup -> Bool) -> Eq ReplyMarkup
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: ReplyMarkup -> ReplyMarkup -> Bool
$c/= :: ReplyMarkup -> ReplyMarkup -> Bool
== :: ReplyMarkup -> ReplyMarkup -> Bool
$c== :: ReplyMarkup -> ReplyMarkup -> Bool
Eq, (forall x. ReplyMarkup -> Rep ReplyMarkup x)
-> (forall x. Rep ReplyMarkup x -> ReplyMarkup)
-> Generic ReplyMarkup
forall x. Rep ReplyMarkup x -> ReplyMarkup
forall x. ReplyMarkup -> Rep ReplyMarkup x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x. Rep ReplyMarkup x -> ReplyMarkup
$cfrom :: forall x. ReplyMarkup -> Rep ReplyMarkup x
Generic)
data LoginUrlInfo
=
LoginUrlInfoOpen
{
LoginUrlInfo -> T
url :: T,
LoginUrlInfo -> Bool
skipConfirm :: Bool
}
|
LoginUrlInfoRequestConfirmation
{
url :: T,
LoginUrlInfo -> T
domain :: T,
LoginUrlInfo -> I32
botUserId :: I32,
LoginUrlInfo -> Bool
requestWriteAccess :: Bool
}
deriving (I32 -> LoginUrlInfo -> ShowS
[LoginUrlInfo] -> ShowS
LoginUrlInfo -> String
(I32 -> LoginUrlInfo -> ShowS)
-> (LoginUrlInfo -> String)
-> ([LoginUrlInfo] -> ShowS)
-> Show LoginUrlInfo
forall a.
(I32 -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [LoginUrlInfo] -> ShowS
$cshowList :: [LoginUrlInfo] -> ShowS
show :: LoginUrlInfo -> String
$cshow :: LoginUrlInfo -> String
showsPrec :: I32 -> LoginUrlInfo -> ShowS
$cshowsPrec :: I32 -> LoginUrlInfo -> ShowS
Show, LoginUrlInfo -> LoginUrlInfo -> Bool
(LoginUrlInfo -> LoginUrlInfo -> Bool)
-> (LoginUrlInfo -> LoginUrlInfo -> Bool) -> Eq LoginUrlInfo
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: LoginUrlInfo -> LoginUrlInfo -> Bool
$c/= :: LoginUrlInfo -> LoginUrlInfo -> Bool
== :: LoginUrlInfo -> LoginUrlInfo -> Bool
$c== :: LoginUrlInfo -> LoginUrlInfo -> Bool
Eq, (forall x. LoginUrlInfo -> Rep LoginUrlInfo x)
-> (forall x. Rep LoginUrlInfo x -> LoginUrlInfo)
-> Generic LoginUrlInfo
forall x. Rep LoginUrlInfo x -> LoginUrlInfo
forall x. LoginUrlInfo -> Rep LoginUrlInfo x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x. Rep LoginUrlInfo x -> LoginUrlInfo
$cfrom :: forall x. LoginUrlInfo -> Rep LoginUrlInfo x
Generic)
data RichText
=
RichTextPlain
{
RichText -> T
text_2 :: T
}
|
RichTextBold
{
RichText -> RichText
text :: RichText
}
|
RichTextItalic
{
text :: RichText
}
|
RichTextUnderline
{
text :: RichText
}
|
RichTextStrikethrough
{
text :: RichText
}
|
RichTextFixed
{
text :: RichText
}
|
RichTextUrl
{
text :: RichText,
RichText -> T
url :: T,
RichText -> Bool
isCached :: Bool
}
|
RichTextEmailAddress
{
text :: RichText,
RichText -> T
emailAddress :: T
}
|
RichTextSubscript
{
text :: RichText
}
|
RichTextSuperscript
{
text :: RichText
}
|
RichTextMarked
{
text :: RichText
}
|
RichTextPhoneNumber
{
text :: RichText,
RichText -> T
phoneNumber :: T
}
|
RichTextIcon
{
RichText -> Document
document :: Document,
RichText -> I32
width :: I32,
RichText -> I32
height :: I32
}
|
RichTextReference
{
text :: RichText,
RichText -> RichText
referenceText :: RichText,
url :: T
}
|
RichTextAnchor
{
RichText -> T
name :: T
}
|
RichTextAnchorLink
{
text :: RichText,
name :: T,
url :: T
}
|
RichTexts
{
RichText -> [RichText]
texts :: [RichText]
}
deriving (I32 -> RichText -> ShowS
[RichText] -> ShowS
RichText -> String
(I32 -> RichText -> ShowS)
-> (RichText -> String) -> ([RichText] -> ShowS) -> Show RichText
forall a.
(I32 -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [RichText] -> ShowS
$cshowList :: [RichText] -> ShowS
show :: RichText -> String
$cshow :: RichText -> String
showsPrec :: I32 -> RichText -> ShowS
$cshowsPrec :: I32 -> RichText -> ShowS
Show, RichText -> RichText -> Bool
(RichText -> RichText -> Bool)
-> (RichText -> RichText -> Bool) -> Eq RichText
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: RichText -> RichText -> Bool
$c/= :: RichText -> RichText -> Bool
== :: RichText -> RichText -> Bool
$c== :: RichText -> RichText -> Bool
Eq, (forall x. RichText -> Rep RichText x)
-> (forall x. Rep RichText x -> RichText) -> Generic RichText
forall x. Rep RichText x -> RichText
forall x. RichText -> Rep RichText x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x. Rep RichText x -> RichText
$cfrom :: forall x. RichText -> Rep RichText x
Generic)
data PageBlockCaption
=
PageBlockCaption
{
PageBlockCaption -> RichText
text :: RichText,
PageBlockCaption -> RichText
credit :: RichText
}
deriving (I32 -> PageBlockCaption -> ShowS
[PageBlockCaption] -> ShowS
PageBlockCaption -> String
(I32 -> PageBlockCaption -> ShowS)
-> (PageBlockCaption -> String)
-> ([PageBlockCaption] -> ShowS)
-> Show PageBlockCaption
forall a.
(I32 -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [PageBlockCaption] -> ShowS
$cshowList :: [PageBlockCaption] -> ShowS
show :: PageBlockCaption -> String
$cshow :: PageBlockCaption -> String
showsPrec :: I32 -> PageBlockCaption -> ShowS
$cshowsPrec :: I32 -> PageBlockCaption -> ShowS
Show, PageBlockCaption -> PageBlockCaption -> Bool
(PageBlockCaption -> PageBlockCaption -> Bool)
-> (PageBlockCaption -> PageBlockCaption -> Bool)
-> Eq PageBlockCaption
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: PageBlockCaption -> PageBlockCaption -> Bool
$c/= :: PageBlockCaption -> PageBlockCaption -> Bool
== :: PageBlockCaption -> PageBlockCaption -> Bool
$c== :: PageBlockCaption -> PageBlockCaption -> Bool
Eq, (forall x. PageBlockCaption -> Rep PageBlockCaption x)
-> (forall x. Rep PageBlockCaption x -> PageBlockCaption)
-> Generic PageBlockCaption
forall x. Rep PageBlockCaption x -> PageBlockCaption
forall x. PageBlockCaption -> Rep PageBlockCaption x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x. Rep PageBlockCaption x -> PageBlockCaption
$cfrom :: forall x. PageBlockCaption -> Rep PageBlockCaption x
Generic)
data PageBlockListItem
=
PageBlockListItem
{
PageBlockListItem -> T
label :: T,
PageBlockListItem -> [PageBlock]
pageBlocks :: [PageBlock]
}
deriving (I32 -> PageBlockListItem -> ShowS
[PageBlockListItem] -> ShowS
PageBlockListItem -> String
(I32 -> PageBlockListItem -> ShowS)
-> (PageBlockListItem -> String)
-> ([PageBlockListItem] -> ShowS)
-> Show PageBlockListItem
forall a.
(I32 -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [PageBlockListItem] -> ShowS
$cshowList :: [PageBlockListItem] -> ShowS
show :: PageBlockListItem -> String
$cshow :: PageBlockListItem -> String
showsPrec :: I32 -> PageBlockListItem -> ShowS
$cshowsPrec :: I32 -> PageBlockListItem -> ShowS
Show, PageBlockListItem -> PageBlockListItem -> Bool
(PageBlockListItem -> PageBlockListItem -> Bool)
-> (PageBlockListItem -> PageBlockListItem -> Bool)
-> Eq PageBlockListItem
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: PageBlockListItem -> PageBlockListItem -> Bool
$c/= :: PageBlockListItem -> PageBlockListItem -> Bool
== :: PageBlockListItem -> PageBlockListItem -> Bool
$c== :: PageBlockListItem -> PageBlockListItem -> Bool
Eq, (forall x. PageBlockListItem -> Rep PageBlockListItem x)
-> (forall x. Rep PageBlockListItem x -> PageBlockListItem)
-> Generic PageBlockListItem
forall x. Rep PageBlockListItem x -> PageBlockListItem
forall x. PageBlockListItem -> Rep PageBlockListItem x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x. Rep PageBlockListItem x -> PageBlockListItem
$cfrom :: forall x. PageBlockListItem -> Rep PageBlockListItem x
Generic)
data PageBlockHorizontalAlignment
=
PageBlockHorizontalAlignmentLeft
{
}
|
PageBlockHorizontalAlignmentCenter
{
}
|
PageBlockHorizontalAlignmentRight
{
}
deriving (I32 -> PageBlockHorizontalAlignment -> ShowS
[PageBlockHorizontalAlignment] -> ShowS
PageBlockHorizontalAlignment -> String
(I32 -> PageBlockHorizontalAlignment -> ShowS)
-> (PageBlockHorizontalAlignment -> String)
-> ([PageBlockHorizontalAlignment] -> ShowS)
-> Show PageBlockHorizontalAlignment
forall a.
(I32 -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [PageBlockHorizontalAlignment] -> ShowS
$cshowList :: [PageBlockHorizontalAlignment] -> ShowS
show :: PageBlockHorizontalAlignment -> String
$cshow :: PageBlockHorizontalAlignment -> String
showsPrec :: I32 -> PageBlockHorizontalAlignment -> ShowS
$cshowsPrec :: I32 -> PageBlockHorizontalAlignment -> ShowS
Show, PageBlockHorizontalAlignment
-> PageBlockHorizontalAlignment -> Bool
(PageBlockHorizontalAlignment
-> PageBlockHorizontalAlignment -> Bool)
-> (PageBlockHorizontalAlignment
-> PageBlockHorizontalAlignment -> Bool)
-> Eq PageBlockHorizontalAlignment
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: PageBlockHorizontalAlignment
-> PageBlockHorizontalAlignment -> Bool
$c/= :: PageBlockHorizontalAlignment
-> PageBlockHorizontalAlignment -> Bool
== :: PageBlockHorizontalAlignment
-> PageBlockHorizontalAlignment -> Bool
$c== :: PageBlockHorizontalAlignment
-> PageBlockHorizontalAlignment -> Bool
Eq, (forall x.
PageBlockHorizontalAlignment -> Rep PageBlockHorizontalAlignment x)
-> (forall x.
Rep PageBlockHorizontalAlignment x -> PageBlockHorizontalAlignment)
-> Generic PageBlockHorizontalAlignment
forall x.
Rep PageBlockHorizontalAlignment x -> PageBlockHorizontalAlignment
forall x.
PageBlockHorizontalAlignment -> Rep PageBlockHorizontalAlignment x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x.
Rep PageBlockHorizontalAlignment x -> PageBlockHorizontalAlignment
$cfrom :: forall x.
PageBlockHorizontalAlignment -> Rep PageBlockHorizontalAlignment x
Generic)
data PageBlockVerticalAlignment
=
PageBlockVerticalAlignmentTop
{
}
|
PageBlockVerticalAlignmentMiddle
{
}
|
PageBlockVerticalAlignmentBottom
{
}
deriving (I32 -> PageBlockVerticalAlignment -> ShowS
[PageBlockVerticalAlignment] -> ShowS
PageBlockVerticalAlignment -> String
(I32 -> PageBlockVerticalAlignment -> ShowS)
-> (PageBlockVerticalAlignment -> String)
-> ([PageBlockVerticalAlignment] -> ShowS)
-> Show PageBlockVerticalAlignment
forall a.
(I32 -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [PageBlockVerticalAlignment] -> ShowS
$cshowList :: [PageBlockVerticalAlignment] -> ShowS
show :: PageBlockVerticalAlignment -> String
$cshow :: PageBlockVerticalAlignment -> String
showsPrec :: I32 -> PageBlockVerticalAlignment -> ShowS
$cshowsPrec :: I32 -> PageBlockVerticalAlignment -> ShowS
Show, PageBlockVerticalAlignment -> PageBlockVerticalAlignment -> Bool
(PageBlockVerticalAlignment -> PageBlockVerticalAlignment -> Bool)
-> (PageBlockVerticalAlignment
-> PageBlockVerticalAlignment -> Bool)
-> Eq PageBlockVerticalAlignment
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: PageBlockVerticalAlignment -> PageBlockVerticalAlignment -> Bool
$c/= :: PageBlockVerticalAlignment -> PageBlockVerticalAlignment -> Bool
== :: PageBlockVerticalAlignment -> PageBlockVerticalAlignment -> Bool
$c== :: PageBlockVerticalAlignment -> PageBlockVerticalAlignment -> Bool
Eq, (forall x.
PageBlockVerticalAlignment -> Rep PageBlockVerticalAlignment x)
-> (forall x.
Rep PageBlockVerticalAlignment x -> PageBlockVerticalAlignment)
-> Generic PageBlockVerticalAlignment
forall x.
Rep PageBlockVerticalAlignment x -> PageBlockVerticalAlignment
forall x.
PageBlockVerticalAlignment -> Rep PageBlockVerticalAlignment x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x.
Rep PageBlockVerticalAlignment x -> PageBlockVerticalAlignment
$cfrom :: forall x.
PageBlockVerticalAlignment -> Rep PageBlockVerticalAlignment x
Generic)
data PageBlockTableCell
=
PageBlockTableCell
{
PageBlockTableCell -> Maybe RichText
text :: (Maybe) (RichText),
:: Bool,
PageBlockTableCell -> I32
colspan :: I32,
PageBlockTableCell -> I32
rowspan :: I32,
PageBlockTableCell -> PageBlockHorizontalAlignment
align :: PageBlockHorizontalAlignment,
PageBlockTableCell -> PageBlockVerticalAlignment
valign :: PageBlockVerticalAlignment
}
deriving (I32 -> PageBlockTableCell -> ShowS
[PageBlockTableCell] -> ShowS
PageBlockTableCell -> String
(I32 -> PageBlockTableCell -> ShowS)
-> (PageBlockTableCell -> String)
-> ([PageBlockTableCell] -> ShowS)
-> Show PageBlockTableCell
forall a.
(I32 -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [PageBlockTableCell] -> ShowS
$cshowList :: [PageBlockTableCell] -> ShowS
show :: PageBlockTableCell -> String
$cshow :: PageBlockTableCell -> String
showsPrec :: I32 -> PageBlockTableCell -> ShowS
$cshowsPrec :: I32 -> PageBlockTableCell -> ShowS
Show, PageBlockTableCell -> PageBlockTableCell -> Bool
(PageBlockTableCell -> PageBlockTableCell -> Bool)
-> (PageBlockTableCell -> PageBlockTableCell -> Bool)
-> Eq PageBlockTableCell
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: PageBlockTableCell -> PageBlockTableCell -> Bool
$c/= :: PageBlockTableCell -> PageBlockTableCell -> Bool
== :: PageBlockTableCell -> PageBlockTableCell -> Bool
$c== :: PageBlockTableCell -> PageBlockTableCell -> Bool
Eq, (forall x. PageBlockTableCell -> Rep PageBlockTableCell x)
-> (forall x. Rep PageBlockTableCell x -> PageBlockTableCell)
-> Generic PageBlockTableCell
forall x. Rep PageBlockTableCell x -> PageBlockTableCell
forall x. PageBlockTableCell -> Rep PageBlockTableCell x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x. Rep PageBlockTableCell x -> PageBlockTableCell
$cfrom :: forall x. PageBlockTableCell -> Rep PageBlockTableCell x
Generic)
data PageBlockRelatedArticle
=
PageBlockRelatedArticle
{
PageBlockRelatedArticle -> T
url :: T,
PageBlockRelatedArticle -> T
title :: T,
PageBlockRelatedArticle -> T
description :: T,
PageBlockRelatedArticle -> Maybe Photo
photo :: (Maybe) (Photo),
PageBlockRelatedArticle -> T
author :: T,
PageBlockRelatedArticle -> I32
publishDate :: I32
}
deriving (I32 -> PageBlockRelatedArticle -> ShowS
[PageBlockRelatedArticle] -> ShowS
PageBlockRelatedArticle -> String
(I32 -> PageBlockRelatedArticle -> ShowS)
-> (PageBlockRelatedArticle -> String)
-> ([PageBlockRelatedArticle] -> ShowS)
-> Show PageBlockRelatedArticle
forall a.
(I32 -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [PageBlockRelatedArticle] -> ShowS
$cshowList :: [PageBlockRelatedArticle] -> ShowS
show :: PageBlockRelatedArticle -> String
$cshow :: PageBlockRelatedArticle -> String
showsPrec :: I32 -> PageBlockRelatedArticle -> ShowS
$cshowsPrec :: I32 -> PageBlockRelatedArticle -> ShowS
Show, PageBlockRelatedArticle -> PageBlockRelatedArticle -> Bool
(PageBlockRelatedArticle -> PageBlockRelatedArticle -> Bool)
-> (PageBlockRelatedArticle -> PageBlockRelatedArticle -> Bool)
-> Eq PageBlockRelatedArticle
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: PageBlockRelatedArticle -> PageBlockRelatedArticle -> Bool
$c/= :: PageBlockRelatedArticle -> PageBlockRelatedArticle -> Bool
== :: PageBlockRelatedArticle -> PageBlockRelatedArticle -> Bool
$c== :: PageBlockRelatedArticle -> PageBlockRelatedArticle -> Bool
Eq, (forall x.
PageBlockRelatedArticle -> Rep PageBlockRelatedArticle x)
-> (forall x.
Rep PageBlockRelatedArticle x -> PageBlockRelatedArticle)
-> Generic PageBlockRelatedArticle
forall x. Rep PageBlockRelatedArticle x -> PageBlockRelatedArticle
forall x. PageBlockRelatedArticle -> Rep PageBlockRelatedArticle x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x. Rep PageBlockRelatedArticle x -> PageBlockRelatedArticle
$cfrom :: forall x. PageBlockRelatedArticle -> Rep PageBlockRelatedArticle x
Generic)
data PageBlock
=
PageBlockTitle
{
PageBlock -> RichText
title_2 :: RichText
}
|
PageBlockSubtitle
{
PageBlock -> RichText
subtitle :: RichText
}
|
PageBlockAuthorDate
{
PageBlock -> RichText
author_2 :: RichText,
PageBlock -> I32
publishDate :: I32
}
|
{
:: RichText
}
|
{
:: RichText
}
|
PageBlockKicker
{
PageBlock -> RichText
kicker :: RichText
}
|
PageBlockParagraph
{
PageBlock -> RichText
text :: RichText
}
|
PageBlockPreformatted
{
text :: RichText,
PageBlock -> T
language :: T
}
|
{
:: RichText
}
|
PageBlockDivider
{
}
|
PageBlockAnchor
{
PageBlock -> T
name :: T
}
|
PageBlockList
{
PageBlock -> [PageBlockListItem]
items :: [PageBlockListItem]
}
|
PageBlockBlockQuote
{
text :: RichText,
PageBlock -> RichText
credit :: RichText
}
|
PageBlockPullQuote
{
text :: RichText,
credit :: RichText
}
|
PageBlockAnimation
{
PageBlock -> Maybe Animation
animation :: (Maybe) (Animation),
PageBlock -> PageBlockCaption
caption :: PageBlockCaption,
PageBlock -> Bool
needAutoplay :: Bool
}
|
PageBlockAudio
{
PageBlock -> Maybe Audio
audio :: (Maybe) (Audio),
caption :: PageBlockCaption
}
|
PageBlockPhoto
{
PageBlock -> Maybe Photo
photo_2 :: (Maybe) (Photo),
caption :: PageBlockCaption,
PageBlock -> T
url :: T
}
|
PageBlockVideo
{
PageBlock -> Maybe Video
video :: (Maybe) (Video),
caption :: PageBlockCaption,
needAutoplay :: Bool,
PageBlock -> Bool
isLooped :: Bool
}
|
PageBlockVoiceNote
{
PageBlock -> Maybe VoiceNote
voiceNote :: (Maybe) (VoiceNote),
caption :: PageBlockCaption
}
|
PageBlockCover
{
PageBlock -> PageBlock
cover :: PageBlock
}
|
PageBlockEmbedded
{
url :: T,
PageBlock -> T
html :: T,
PageBlock -> Maybe Photo
posterPhoto :: (Maybe) (Photo),
PageBlock -> I32
width :: I32,
PageBlock -> I32
height :: I32,
caption :: PageBlockCaption,
PageBlock -> Bool
isFullWidth :: Bool,
PageBlock -> Bool
allowScrolling :: Bool
}
|
PageBlockEmbeddedPost
{
url :: T,
PageBlock -> T
author :: T,
PageBlock -> Maybe Photo
authorPhoto :: (Maybe) (Photo),
PageBlock -> I32
date :: I32,
PageBlock -> [PageBlock]
pageBlocks :: [PageBlock],
caption :: PageBlockCaption
}
|
PageBlockCollage
{
pageBlocks :: [PageBlock],
caption :: PageBlockCaption
}
|
PageBlockSlideshow
{
pageBlocks :: [PageBlock],
caption :: PageBlockCaption
}
|
PageBlockChatLink
{
PageBlock -> T
title :: T,
PageBlock -> Maybe ChatPhoto
photo :: (Maybe) (ChatPhoto),
PageBlock -> T
username :: T
}
|
PageBlockTable
{
PageBlock -> RichText
caption_2 :: RichText,
PageBlock -> [[PageBlockTableCell]]
cells :: [[PageBlockTableCell]],
PageBlock -> Bool
isBordered :: Bool,
PageBlock -> Bool
isStriped :: Bool
}
|
PageBlockDetails
{
:: RichText,
pageBlocks :: [PageBlock],
PageBlock -> Bool
isOpen :: Bool
}
|
PageBlockRelatedArticles
{
:: RichText,
PageBlock -> [PageBlockRelatedArticle]
articles :: [PageBlockRelatedArticle]
}
|
PageBlockMap
{
PageBlock -> Location
location :: Location,
PageBlock -> I32
zoom :: I32,
width :: I32,
height :: I32,
caption :: PageBlockCaption
}
deriving (I32 -> PageBlock -> ShowS
[PageBlock] -> ShowS
PageBlock -> String
(I32 -> PageBlock -> ShowS)
-> (PageBlock -> String)
-> ([PageBlock] -> ShowS)
-> Show PageBlock
forall a.
(I32 -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [PageBlock] -> ShowS
$cshowList :: [PageBlock] -> ShowS
show :: PageBlock -> String
$cshow :: PageBlock -> String
showsPrec :: I32 -> PageBlock -> ShowS
$cshowsPrec :: I32 -> PageBlock -> ShowS
Show, PageBlock -> PageBlock -> Bool
(PageBlock -> PageBlock -> Bool)
-> (PageBlock -> PageBlock -> Bool) -> Eq PageBlock
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: PageBlock -> PageBlock -> Bool
$c/= :: PageBlock -> PageBlock -> Bool
== :: PageBlock -> PageBlock -> Bool
$c== :: PageBlock -> PageBlock -> Bool
Eq, (forall x. PageBlock -> Rep PageBlock x)
-> (forall x. Rep PageBlock x -> PageBlock) -> Generic PageBlock
forall x. Rep PageBlock x -> PageBlock
forall x. PageBlock -> Rep PageBlock x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x. Rep PageBlock x -> PageBlock
$cfrom :: forall x. PageBlock -> Rep PageBlock x
Generic)
data WebPageInstantView
=
WebPageInstantView
{
WebPageInstantView -> [PageBlock]
pageBlocks :: [PageBlock],
WebPageInstantView -> I32
viewCount :: I32,
WebPageInstantView -> I32
version :: I32,
WebPageInstantView -> Bool
isRtl :: Bool,
WebPageInstantView -> Bool
isFull :: Bool
}
deriving (I32 -> WebPageInstantView -> ShowS
[WebPageInstantView] -> ShowS
WebPageInstantView -> String
(I32 -> WebPageInstantView -> ShowS)
-> (WebPageInstantView -> String)
-> ([WebPageInstantView] -> ShowS)
-> Show WebPageInstantView
forall a.
(I32 -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [WebPageInstantView] -> ShowS
$cshowList :: [WebPageInstantView] -> ShowS
show :: WebPageInstantView -> String
$cshow :: WebPageInstantView -> String
showsPrec :: I32 -> WebPageInstantView -> ShowS
$cshowsPrec :: I32 -> WebPageInstantView -> ShowS
Show, WebPageInstantView -> WebPageInstantView -> Bool
(WebPageInstantView -> WebPageInstantView -> Bool)
-> (WebPageInstantView -> WebPageInstantView -> Bool)
-> Eq WebPageInstantView
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: WebPageInstantView -> WebPageInstantView -> Bool
$c/= :: WebPageInstantView -> WebPageInstantView -> Bool
== :: WebPageInstantView -> WebPageInstantView -> Bool
$c== :: WebPageInstantView -> WebPageInstantView -> Bool
Eq, (forall x. WebPageInstantView -> Rep WebPageInstantView x)
-> (forall x. Rep WebPageInstantView x -> WebPageInstantView)
-> Generic WebPageInstantView
forall x. Rep WebPageInstantView x -> WebPageInstantView
forall x. WebPageInstantView -> Rep WebPageInstantView x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x. Rep WebPageInstantView x -> WebPageInstantView
$cfrom :: forall x. WebPageInstantView -> Rep WebPageInstantView x
Generic)
data WebPage
=
WebPage
{
WebPage -> T
url :: T,
WebPage -> T
displayUrl :: T,
WebPage -> T
type_ :: T,
WebPage -> T
siteName :: T,
WebPage -> T
title :: T,
WebPage -> FormattedText
description :: FormattedText,
WebPage -> Maybe Photo
photo :: (Maybe) (Photo),
WebPage -> T
embedUrl :: T,
WebPage -> T
embedType :: T,
WebPage -> I32
embedWidth :: I32,
WebPage -> I32
embedHeight :: I32,
WebPage -> I32
duration :: I32,
WebPage -> T
author :: T,
WebPage -> Maybe Animation
animation :: (Maybe) (Animation),
WebPage -> Maybe Audio
audio :: (Maybe) (Audio),
WebPage -> Maybe Document
document :: (Maybe) (Document),
WebPage -> Maybe Sticker
sticker :: (Maybe) (Sticker),
WebPage -> Maybe Video
video :: (Maybe) (Video),
WebPage -> Maybe VideoNote
videoNote :: (Maybe) (VideoNote),
WebPage -> Maybe VoiceNote
voiceNote :: (Maybe) (VoiceNote),
WebPage -> I32
instantViewVersion :: I32
}
deriving (I32 -> WebPage -> ShowS
[WebPage] -> ShowS
WebPage -> String
(I32 -> WebPage -> ShowS)
-> (WebPage -> String) -> ([WebPage] -> ShowS) -> Show WebPage
forall a.
(I32 -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [WebPage] -> ShowS
$cshowList :: [WebPage] -> ShowS
show :: WebPage -> String
$cshow :: WebPage -> String
showsPrec :: I32 -> WebPage -> ShowS
$cshowsPrec :: I32 -> WebPage -> ShowS
Show, WebPage -> WebPage -> Bool
(WebPage -> WebPage -> Bool)
-> (WebPage -> WebPage -> Bool) -> Eq WebPage
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: WebPage -> WebPage -> Bool
$c/= :: WebPage -> WebPage -> Bool
== :: WebPage -> WebPage -> Bool
$c== :: WebPage -> WebPage -> Bool
Eq, (forall x. WebPage -> Rep WebPage x)
-> (forall x. Rep WebPage x -> WebPage) -> Generic WebPage
forall x. Rep WebPage x -> WebPage
forall x. WebPage -> Rep WebPage x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x. Rep WebPage x -> WebPage
$cfrom :: forall x. WebPage -> Rep WebPage x
Generic)
data BankCardActionOpenUrl
=
BankCardActionOpenUrl
{
BankCardActionOpenUrl -> T
text :: T,
BankCardActionOpenUrl -> T
url :: T
}
deriving (I32 -> BankCardActionOpenUrl -> ShowS
[BankCardActionOpenUrl] -> ShowS
BankCardActionOpenUrl -> String
(I32 -> BankCardActionOpenUrl -> ShowS)
-> (BankCardActionOpenUrl -> String)
-> ([BankCardActionOpenUrl] -> ShowS)
-> Show BankCardActionOpenUrl
forall a.
(I32 -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [BankCardActionOpenUrl] -> ShowS
$cshowList :: [BankCardActionOpenUrl] -> ShowS
show :: BankCardActionOpenUrl -> String
$cshow :: BankCardActionOpenUrl -> String
showsPrec :: I32 -> BankCardActionOpenUrl -> ShowS
$cshowsPrec :: I32 -> BankCardActionOpenUrl -> ShowS
Show, BankCardActionOpenUrl -> BankCardActionOpenUrl -> Bool
(BankCardActionOpenUrl -> BankCardActionOpenUrl -> Bool)
-> (BankCardActionOpenUrl -> BankCardActionOpenUrl -> Bool)
-> Eq BankCardActionOpenUrl
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: BankCardActionOpenUrl -> BankCardActionOpenUrl -> Bool
$c/= :: BankCardActionOpenUrl -> BankCardActionOpenUrl -> Bool
== :: BankCardActionOpenUrl -> BankCardActionOpenUrl -> Bool
$c== :: BankCardActionOpenUrl -> BankCardActionOpenUrl -> Bool
Eq, (forall x. BankCardActionOpenUrl -> Rep BankCardActionOpenUrl x)
-> (forall x. Rep BankCardActionOpenUrl x -> BankCardActionOpenUrl)
-> Generic BankCardActionOpenUrl
forall x. Rep BankCardActionOpenUrl x -> BankCardActionOpenUrl
forall x. BankCardActionOpenUrl -> Rep BankCardActionOpenUrl x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x. Rep BankCardActionOpenUrl x -> BankCardActionOpenUrl
$cfrom :: forall x. BankCardActionOpenUrl -> Rep BankCardActionOpenUrl x
Generic)
data BankCardInfo
=
BankCardInfo
{
BankCardInfo -> T
title :: T,
BankCardInfo -> [BankCardActionOpenUrl]
actions :: [BankCardActionOpenUrl]
}
deriving (I32 -> BankCardInfo -> ShowS
[BankCardInfo] -> ShowS
BankCardInfo -> String
(I32 -> BankCardInfo -> ShowS)
-> (BankCardInfo -> String)
-> ([BankCardInfo] -> ShowS)
-> Show BankCardInfo
forall a.
(I32 -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [BankCardInfo] -> ShowS
$cshowList :: [BankCardInfo] -> ShowS
show :: BankCardInfo -> String
$cshow :: BankCardInfo -> String
showsPrec :: I32 -> BankCardInfo -> ShowS
$cshowsPrec :: I32 -> BankCardInfo -> ShowS
Show, BankCardInfo -> BankCardInfo -> Bool
(BankCardInfo -> BankCardInfo -> Bool)
-> (BankCardInfo -> BankCardInfo -> Bool) -> Eq BankCardInfo
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: BankCardInfo -> BankCardInfo -> Bool
$c/= :: BankCardInfo -> BankCardInfo -> Bool
== :: BankCardInfo -> BankCardInfo -> Bool
$c== :: BankCardInfo -> BankCardInfo -> Bool
Eq, (forall x. BankCardInfo -> Rep BankCardInfo x)
-> (forall x. Rep BankCardInfo x -> BankCardInfo)
-> Generic BankCardInfo
forall x. Rep BankCardInfo x -> BankCardInfo
forall x. BankCardInfo -> Rep BankCardInfo x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x. Rep BankCardInfo x -> BankCardInfo
$cfrom :: forall x. BankCardInfo -> Rep BankCardInfo x
Generic)
data Address
=
Address
{
Address -> T
countryCode :: T,
Address -> T
state :: T,
Address -> T
city :: T,
Address -> T
streetLine1 :: T,
Address -> T
streetLine2 :: T,
Address -> T
postalCode :: T
}
deriving (I32 -> Address -> ShowS
[Address] -> ShowS
Address -> String
(I32 -> Address -> ShowS)
-> (Address -> String) -> ([Address] -> ShowS) -> Show Address
forall a.
(I32 -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [Address] -> ShowS
$cshowList :: [Address] -> ShowS
show :: Address -> String
$cshow :: Address -> String
showsPrec :: I32 -> Address -> ShowS
$cshowsPrec :: I32 -> Address -> ShowS
Show, Address -> Address -> Bool
(Address -> Address -> Bool)
-> (Address -> Address -> Bool) -> Eq Address
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: Address -> Address -> Bool
$c/= :: Address -> Address -> Bool
== :: Address -> Address -> Bool
$c== :: Address -> Address -> Bool
Eq, (forall x. Address -> Rep Address x)
-> (forall x. Rep Address x -> Address) -> Generic Address
forall x. Rep Address x -> Address
forall x. Address -> Rep Address x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x. Rep Address x -> Address
$cfrom :: forall x. Address -> Rep Address x
Generic)
data LabeledPricePart
=
LabeledPricePart
{
LabeledPricePart -> T
label :: T,
LabeledPricePart -> I32
amount :: I53
}
deriving (I32 -> LabeledPricePart -> ShowS
[LabeledPricePart] -> ShowS
LabeledPricePart -> String
(I32 -> LabeledPricePart -> ShowS)
-> (LabeledPricePart -> String)
-> ([LabeledPricePart] -> ShowS)
-> Show LabeledPricePart
forall a.
(I32 -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [LabeledPricePart] -> ShowS
$cshowList :: [LabeledPricePart] -> ShowS
show :: LabeledPricePart -> String
$cshow :: LabeledPricePart -> String
showsPrec :: I32 -> LabeledPricePart -> ShowS
$cshowsPrec :: I32 -> LabeledPricePart -> ShowS
Show, LabeledPricePart -> LabeledPricePart -> Bool
(LabeledPricePart -> LabeledPricePart -> Bool)
-> (LabeledPricePart -> LabeledPricePart -> Bool)
-> Eq LabeledPricePart
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: LabeledPricePart -> LabeledPricePart -> Bool
$c/= :: LabeledPricePart -> LabeledPricePart -> Bool
== :: LabeledPricePart -> LabeledPricePart -> Bool
$c== :: LabeledPricePart -> LabeledPricePart -> Bool
Eq, (forall x. LabeledPricePart -> Rep LabeledPricePart x)
-> (forall x. Rep LabeledPricePart x -> LabeledPricePart)
-> Generic LabeledPricePart
forall x. Rep LabeledPricePart x -> LabeledPricePart
forall x. LabeledPricePart -> Rep LabeledPricePart x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x. Rep LabeledPricePart x -> LabeledPricePart
$cfrom :: forall x. LabeledPricePart -> Rep LabeledPricePart x
Generic)
data Invoice
=
Invoice
{
Invoice -> T
currency :: T,
Invoice -> [LabeledPricePart]
priceParts :: [LabeledPricePart],
Invoice -> Bool
isTest :: Bool,
Invoice -> Bool
needName :: Bool,
Invoice -> Bool
needPhoneNumber :: Bool,
Invoice -> Bool
needEmailAddress :: Bool,
Invoice -> Bool
needShippingAddress :: Bool,
Invoice -> Bool
sendPhoneNumberToProvider :: Bool,
Invoice -> Bool
sendEmailAddressToProvider :: Bool,
Invoice -> Bool
isFlexible :: Bool
}
deriving (I32 -> Invoice -> ShowS
[Invoice] -> ShowS
Invoice -> String
(I32 -> Invoice -> ShowS)
-> (Invoice -> String) -> ([Invoice] -> ShowS) -> Show Invoice
forall a.
(I32 -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [Invoice] -> ShowS
$cshowList :: [Invoice] -> ShowS
show :: Invoice -> String
$cshow :: Invoice -> String
showsPrec :: I32 -> Invoice -> ShowS
$cshowsPrec :: I32 -> Invoice -> ShowS
Show, Invoice -> Invoice -> Bool
(Invoice -> Invoice -> Bool)
-> (Invoice -> Invoice -> Bool) -> Eq Invoice
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: Invoice -> Invoice -> Bool
$c/= :: Invoice -> Invoice -> Bool
== :: Invoice -> Invoice -> Bool
$c== :: Invoice -> Invoice -> Bool
Eq, (forall x. Invoice -> Rep Invoice x)
-> (forall x. Rep Invoice x -> Invoice) -> Generic Invoice
forall x. Rep Invoice x -> Invoice
forall x. Invoice -> Rep Invoice x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x. Rep Invoice x -> Invoice
$cfrom :: forall x. Invoice -> Rep Invoice x
Generic)
data OrderInfo
=
OrderInfo
{
OrderInfo -> T
name :: T,
OrderInfo -> T
phoneNumber :: T,
OrderInfo -> T
emailAddress :: T,
OrderInfo -> Maybe Address
shippingAddress :: (Maybe) (Address)
}
deriving (I32 -> OrderInfo -> ShowS
[OrderInfo] -> ShowS
OrderInfo -> String
(I32 -> OrderInfo -> ShowS)
-> (OrderInfo -> String)
-> ([OrderInfo] -> ShowS)
-> Show OrderInfo
forall a.
(I32 -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [OrderInfo] -> ShowS
$cshowList :: [OrderInfo] -> ShowS
show :: OrderInfo -> String
$cshow :: OrderInfo -> String
showsPrec :: I32 -> OrderInfo -> ShowS
$cshowsPrec :: I32 -> OrderInfo -> ShowS
Show, OrderInfo -> OrderInfo -> Bool
(OrderInfo -> OrderInfo -> Bool)
-> (OrderInfo -> OrderInfo -> Bool) -> Eq OrderInfo
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: OrderInfo -> OrderInfo -> Bool
$c/= :: OrderInfo -> OrderInfo -> Bool
== :: OrderInfo -> OrderInfo -> Bool
$c== :: OrderInfo -> OrderInfo -> Bool
Eq, (forall x. OrderInfo -> Rep OrderInfo x)
-> (forall x. Rep OrderInfo x -> OrderInfo) -> Generic OrderInfo
forall x. Rep OrderInfo x -> OrderInfo
forall x. OrderInfo -> Rep OrderInfo x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x. Rep OrderInfo x -> OrderInfo
$cfrom :: forall x. OrderInfo -> Rep OrderInfo x
Generic)
data ShippingOption
=
ShippingOption
{
ShippingOption -> T
id :: T,
ShippingOption -> T
title :: T,
ShippingOption -> [LabeledPricePart]
priceParts :: [LabeledPricePart]
}
deriving (I32 -> ShippingOption -> ShowS
[ShippingOption] -> ShowS
ShippingOption -> String
(I32 -> ShippingOption -> ShowS)
-> (ShippingOption -> String)
-> ([ShippingOption] -> ShowS)
-> Show ShippingOption
forall a.
(I32 -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [ShippingOption] -> ShowS
$cshowList :: [ShippingOption] -> ShowS
show :: ShippingOption -> String
$cshow :: ShippingOption -> String
showsPrec :: I32 -> ShippingOption -> ShowS
$cshowsPrec :: I32 -> ShippingOption -> ShowS
Show, ShippingOption -> ShippingOption -> Bool
(ShippingOption -> ShippingOption -> Bool)
-> (ShippingOption -> ShippingOption -> Bool) -> Eq ShippingOption
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: ShippingOption -> ShippingOption -> Bool
$c/= :: ShippingOption -> ShippingOption -> Bool
== :: ShippingOption -> ShippingOption -> Bool
$c== :: ShippingOption -> ShippingOption -> Bool
Eq, (forall x. ShippingOption -> Rep ShippingOption x)
-> (forall x. Rep ShippingOption x -> ShippingOption)
-> Generic ShippingOption
forall x. Rep ShippingOption x -> ShippingOption
forall x. ShippingOption -> Rep ShippingOption x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x. Rep ShippingOption x -> ShippingOption
$cfrom :: forall x. ShippingOption -> Rep ShippingOption x
Generic)
data SavedCredentials
=
SavedCredentials
{
SavedCredentials -> T
id :: T,
SavedCredentials -> T
title :: T
}
deriving (I32 -> SavedCredentials -> ShowS
[SavedCredentials] -> ShowS
SavedCredentials -> String
(I32 -> SavedCredentials -> ShowS)
-> (SavedCredentials -> String)
-> ([SavedCredentials] -> ShowS)
-> Show SavedCredentials
forall a.
(I32 -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [SavedCredentials] -> ShowS
$cshowList :: [SavedCredentials] -> ShowS
show :: SavedCredentials -> String
$cshow :: SavedCredentials -> String
showsPrec :: I32 -> SavedCredentials -> ShowS
$cshowsPrec :: I32 -> SavedCredentials -> ShowS
Show, SavedCredentials -> SavedCredentials -> Bool
(SavedCredentials -> SavedCredentials -> Bool)
-> (SavedCredentials -> SavedCredentials -> Bool)
-> Eq SavedCredentials
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: SavedCredentials -> SavedCredentials -> Bool
$c/= :: SavedCredentials -> SavedCredentials -> Bool
== :: SavedCredentials -> SavedCredentials -> Bool
$c== :: SavedCredentials -> SavedCredentials -> Bool
Eq, (forall x. SavedCredentials -> Rep SavedCredentials x)
-> (forall x. Rep SavedCredentials x -> SavedCredentials)
-> Generic SavedCredentials
forall x. Rep SavedCredentials x -> SavedCredentials
forall x. SavedCredentials -> Rep SavedCredentials x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x. Rep SavedCredentials x -> SavedCredentials
$cfrom :: forall x. SavedCredentials -> Rep SavedCredentials x
Generic)
data InputCredentials
=
InputCredentialsSaved
{
InputCredentials -> T
savedCredentialsId :: T
}
|
InputCredentialsNew
{
InputCredentials -> T
data_ :: T,
InputCredentials -> Bool
allowSave :: Bool
}
|
InputCredentialsAndroidPay
{
data_ :: T
}
|
InputCredentialsApplePay
{
data_ :: T
}
deriving (I32 -> InputCredentials -> ShowS
[InputCredentials] -> ShowS
InputCredentials -> String
(I32 -> InputCredentials -> ShowS)
-> (InputCredentials -> String)
-> ([InputCredentials] -> ShowS)
-> Show InputCredentials
forall a.
(I32 -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [InputCredentials] -> ShowS
$cshowList :: [InputCredentials] -> ShowS
show :: InputCredentials -> String
$cshow :: InputCredentials -> String
showsPrec :: I32 -> InputCredentials -> ShowS
$cshowsPrec :: I32 -> InputCredentials -> ShowS
Show, InputCredentials -> InputCredentials -> Bool
(InputCredentials -> InputCredentials -> Bool)
-> (InputCredentials -> InputCredentials -> Bool)
-> Eq InputCredentials
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: InputCredentials -> InputCredentials -> Bool
$c/= :: InputCredentials -> InputCredentials -> Bool
== :: InputCredentials -> InputCredentials -> Bool
$c== :: InputCredentials -> InputCredentials -> Bool
Eq, (forall x. InputCredentials -> Rep InputCredentials x)
-> (forall x. Rep InputCredentials x -> InputCredentials)
-> Generic InputCredentials
forall x. Rep InputCredentials x -> InputCredentials
forall x. InputCredentials -> Rep InputCredentials x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x. Rep InputCredentials x -> InputCredentials
$cfrom :: forall x. InputCredentials -> Rep InputCredentials x
Generic)
data PaymentsProviderStripe
=
PaymentsProviderStripe
{
PaymentsProviderStripe -> T
publishableKey :: T,
PaymentsProviderStripe -> Bool
needCountry :: Bool,
PaymentsProviderStripe -> Bool
needPostalCode :: Bool,
PaymentsProviderStripe -> Bool
needCardholderName :: Bool
}
deriving (I32 -> PaymentsProviderStripe -> ShowS
[PaymentsProviderStripe] -> ShowS
PaymentsProviderStripe -> String
(I32 -> PaymentsProviderStripe -> ShowS)
-> (PaymentsProviderStripe -> String)
-> ([PaymentsProviderStripe] -> ShowS)
-> Show PaymentsProviderStripe
forall a.
(I32 -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [PaymentsProviderStripe] -> ShowS
$cshowList :: [PaymentsProviderStripe] -> ShowS
show :: PaymentsProviderStripe -> String
$cshow :: PaymentsProviderStripe -> String
showsPrec :: I32 -> PaymentsProviderStripe -> ShowS
$cshowsPrec :: I32 -> PaymentsProviderStripe -> ShowS
Show, PaymentsProviderStripe -> PaymentsProviderStripe -> Bool
(PaymentsProviderStripe -> PaymentsProviderStripe -> Bool)
-> (PaymentsProviderStripe -> PaymentsProviderStripe -> Bool)
-> Eq PaymentsProviderStripe
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: PaymentsProviderStripe -> PaymentsProviderStripe -> Bool
$c/= :: PaymentsProviderStripe -> PaymentsProviderStripe -> Bool
== :: PaymentsProviderStripe -> PaymentsProviderStripe -> Bool
$c== :: PaymentsProviderStripe -> PaymentsProviderStripe -> Bool
Eq, (forall x. PaymentsProviderStripe -> Rep PaymentsProviderStripe x)
-> (forall x.
Rep PaymentsProviderStripe x -> PaymentsProviderStripe)
-> Generic PaymentsProviderStripe
forall x. Rep PaymentsProviderStripe x -> PaymentsProviderStripe
forall x. PaymentsProviderStripe -> Rep PaymentsProviderStripe x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x. Rep PaymentsProviderStripe x -> PaymentsProviderStripe
$cfrom :: forall x. PaymentsProviderStripe -> Rep PaymentsProviderStripe x
Generic)
data PaymentForm
=
PaymentForm
{
PaymentForm -> Invoice
invoice :: Invoice,
PaymentForm -> T
url :: T,
PaymentForm -> Maybe PaymentsProviderStripe
paymentsProvider :: (Maybe) (PaymentsProviderStripe),
PaymentForm -> Maybe OrderInfo
savedOrderInfo :: (Maybe) (OrderInfo),
PaymentForm -> Maybe SavedCredentials
savedCredentials :: (Maybe) (SavedCredentials),
PaymentForm -> Bool
canSaveCredentials :: Bool,
PaymentForm -> Bool
needPassword :: Bool
}
deriving (I32 -> PaymentForm -> ShowS
[PaymentForm] -> ShowS
PaymentForm -> String
(I32 -> PaymentForm -> ShowS)
-> (PaymentForm -> String)
-> ([PaymentForm] -> ShowS)
-> Show PaymentForm
forall a.
(I32 -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [PaymentForm] -> ShowS
$cshowList :: [PaymentForm] -> ShowS
show :: PaymentForm -> String
$cshow :: PaymentForm -> String
showsPrec :: I32 -> PaymentForm -> ShowS
$cshowsPrec :: I32 -> PaymentForm -> ShowS
Show, PaymentForm -> PaymentForm -> Bool
(PaymentForm -> PaymentForm -> Bool)
-> (PaymentForm -> PaymentForm -> Bool) -> Eq PaymentForm
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: PaymentForm -> PaymentForm -> Bool
$c/= :: PaymentForm -> PaymentForm -> Bool
== :: PaymentForm -> PaymentForm -> Bool
$c== :: PaymentForm -> PaymentForm -> Bool
Eq, (forall x. PaymentForm -> Rep PaymentForm x)
-> (forall x. Rep PaymentForm x -> PaymentForm)
-> Generic PaymentForm
forall x. Rep PaymentForm x -> PaymentForm
forall x. PaymentForm -> Rep PaymentForm x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x. Rep PaymentForm x -> PaymentForm
$cfrom :: forall x. PaymentForm -> Rep PaymentForm x
Generic)
data ValidatedOrderInfo
=
ValidatedOrderInfo
{
ValidatedOrderInfo -> T
orderInfoId :: T,
ValidatedOrderInfo -> [ShippingOption]
shippingOptions :: [ShippingOption]
}
deriving (I32 -> ValidatedOrderInfo -> ShowS
[ValidatedOrderInfo] -> ShowS
ValidatedOrderInfo -> String
(I32 -> ValidatedOrderInfo -> ShowS)
-> (ValidatedOrderInfo -> String)
-> ([ValidatedOrderInfo] -> ShowS)
-> Show ValidatedOrderInfo
forall a.
(I32 -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [ValidatedOrderInfo] -> ShowS
$cshowList :: [ValidatedOrderInfo] -> ShowS
show :: ValidatedOrderInfo -> String
$cshow :: ValidatedOrderInfo -> String
showsPrec :: I32 -> ValidatedOrderInfo -> ShowS
$cshowsPrec :: I32 -> ValidatedOrderInfo -> ShowS
Show, ValidatedOrderInfo -> ValidatedOrderInfo -> Bool
(ValidatedOrderInfo -> ValidatedOrderInfo -> Bool)
-> (ValidatedOrderInfo -> ValidatedOrderInfo -> Bool)
-> Eq ValidatedOrderInfo
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: ValidatedOrderInfo -> ValidatedOrderInfo -> Bool
$c/= :: ValidatedOrderInfo -> ValidatedOrderInfo -> Bool
== :: ValidatedOrderInfo -> ValidatedOrderInfo -> Bool
$c== :: ValidatedOrderInfo -> ValidatedOrderInfo -> Bool
Eq, (forall x. ValidatedOrderInfo -> Rep ValidatedOrderInfo x)
-> (forall x. Rep ValidatedOrderInfo x -> ValidatedOrderInfo)
-> Generic ValidatedOrderInfo
forall x. Rep ValidatedOrderInfo x -> ValidatedOrderInfo
forall x. ValidatedOrderInfo -> Rep ValidatedOrderInfo x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x. Rep ValidatedOrderInfo x -> ValidatedOrderInfo
$cfrom :: forall x. ValidatedOrderInfo -> Rep ValidatedOrderInfo x
Generic)
data PaymentResult
=
PaymentResult
{
PaymentResult -> Bool
success :: Bool,
PaymentResult -> T
verificationUrl :: T
}
deriving (I32 -> PaymentResult -> ShowS
[PaymentResult] -> ShowS
PaymentResult -> String
(I32 -> PaymentResult -> ShowS)
-> (PaymentResult -> String)
-> ([PaymentResult] -> ShowS)
-> Show PaymentResult
forall a.
(I32 -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [PaymentResult] -> ShowS
$cshowList :: [PaymentResult] -> ShowS
show :: PaymentResult -> String
$cshow :: PaymentResult -> String
showsPrec :: I32 -> PaymentResult -> ShowS
$cshowsPrec :: I32 -> PaymentResult -> ShowS
Show, PaymentResult -> PaymentResult -> Bool
(PaymentResult -> PaymentResult -> Bool)
-> (PaymentResult -> PaymentResult -> Bool) -> Eq PaymentResult
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: PaymentResult -> PaymentResult -> Bool
$c/= :: PaymentResult -> PaymentResult -> Bool
== :: PaymentResult -> PaymentResult -> Bool
$c== :: PaymentResult -> PaymentResult -> Bool
Eq, (forall x. PaymentResult -> Rep PaymentResult x)
-> (forall x. Rep PaymentResult x -> PaymentResult)
-> Generic PaymentResult
forall x. Rep PaymentResult x -> PaymentResult
forall x. PaymentResult -> Rep PaymentResult x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x. Rep PaymentResult x -> PaymentResult
$cfrom :: forall x. PaymentResult -> Rep PaymentResult x
Generic)
data PaymentReceipt
=
PaymentReceipt
{
PaymentReceipt -> I32
date :: I32,
PaymentReceipt -> I32
paymentsProviderUserId :: I32,
PaymentReceipt -> Invoice
invoice :: Invoice,
PaymentReceipt -> Maybe OrderInfo
orderInfo :: (Maybe) (OrderInfo),
PaymentReceipt -> Maybe ShippingOption
shippingOption :: (Maybe) (ShippingOption),
PaymentReceipt -> T
credentialsTitle :: T
}
deriving (I32 -> PaymentReceipt -> ShowS
[PaymentReceipt] -> ShowS
PaymentReceipt -> String
(I32 -> PaymentReceipt -> ShowS)
-> (PaymentReceipt -> String)
-> ([PaymentReceipt] -> ShowS)
-> Show PaymentReceipt
forall a.
(I32 -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [PaymentReceipt] -> ShowS
$cshowList :: [PaymentReceipt] -> ShowS
show :: PaymentReceipt -> String
$cshow :: PaymentReceipt -> String
showsPrec :: I32 -> PaymentReceipt -> ShowS
$cshowsPrec :: I32 -> PaymentReceipt -> ShowS
Show, PaymentReceipt -> PaymentReceipt -> Bool
(PaymentReceipt -> PaymentReceipt -> Bool)
-> (PaymentReceipt -> PaymentReceipt -> Bool) -> Eq PaymentReceipt
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: PaymentReceipt -> PaymentReceipt -> Bool
$c/= :: PaymentReceipt -> PaymentReceipt -> Bool
== :: PaymentReceipt -> PaymentReceipt -> Bool
$c== :: PaymentReceipt -> PaymentReceipt -> Bool
Eq, (forall x. PaymentReceipt -> Rep PaymentReceipt x)
-> (forall x. Rep PaymentReceipt x -> PaymentReceipt)
-> Generic PaymentReceipt
forall x. Rep PaymentReceipt x -> PaymentReceipt
forall x. PaymentReceipt -> Rep PaymentReceipt x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x. Rep PaymentReceipt x -> PaymentReceipt
$cfrom :: forall x. PaymentReceipt -> Rep PaymentReceipt x
Generic)
data DatedFile
=
DatedFile
{
DatedFile -> File
file :: File,
DatedFile -> I32
date :: I32
}
deriving (I32 -> DatedFile -> ShowS
[DatedFile] -> ShowS
DatedFile -> String
(I32 -> DatedFile -> ShowS)
-> (DatedFile -> String)
-> ([DatedFile] -> ShowS)
-> Show DatedFile
forall a.
(I32 -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [DatedFile] -> ShowS
$cshowList :: [DatedFile] -> ShowS
show :: DatedFile -> String
$cshow :: DatedFile -> String
showsPrec :: I32 -> DatedFile -> ShowS
$cshowsPrec :: I32 -> DatedFile -> ShowS
Show, DatedFile -> DatedFile -> Bool
(DatedFile -> DatedFile -> Bool)
-> (DatedFile -> DatedFile -> Bool) -> Eq DatedFile
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: DatedFile -> DatedFile -> Bool
$c/= :: DatedFile -> DatedFile -> Bool
== :: DatedFile -> DatedFile -> Bool
$c== :: DatedFile -> DatedFile -> Bool
Eq, (forall x. DatedFile -> Rep DatedFile x)
-> (forall x. Rep DatedFile x -> DatedFile) -> Generic DatedFile
forall x. Rep DatedFile x -> DatedFile
forall x. DatedFile -> Rep DatedFile x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x. Rep DatedFile x -> DatedFile
$cfrom :: forall x. DatedFile -> Rep DatedFile x
Generic)
data PassportElementType
=
PassportElementTypePersonalDetails
{
}
|
PassportElementTypePassport
{
}
|
PassportElementTypeDriverLicense
{
}
|
PassportElementTypeIdentityCard
{
}
|
PassportElementTypeInternalPassport
{
}
|
PassportElementTypeAddress
{
}
|
PassportElementTypeUtilityBill
{
}
|
PassportElementTypeBankStatement
{
}
|
PassportElementTypeRentalAgreement
{
}
|
PassportElementTypePassportRegistration
{
}
|
PassportElementTypeTemporaryRegistration
{
}
|
PassportElementTypePhoneNumber
{
}
|
PassportElementTypeEmailAddress
{
}
deriving (I32 -> PassportElementType -> ShowS
[PassportElementType] -> ShowS
PassportElementType -> String
(I32 -> PassportElementType -> ShowS)
-> (PassportElementType -> String)
-> ([PassportElementType] -> ShowS)
-> Show PassportElementType
forall a.
(I32 -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [PassportElementType] -> ShowS
$cshowList :: [PassportElementType] -> ShowS
show :: PassportElementType -> String
$cshow :: PassportElementType -> String
showsPrec :: I32 -> PassportElementType -> ShowS
$cshowsPrec :: I32 -> PassportElementType -> ShowS
Show, PassportElementType -> PassportElementType -> Bool
(PassportElementType -> PassportElementType -> Bool)
-> (PassportElementType -> PassportElementType -> Bool)
-> Eq PassportElementType
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: PassportElementType -> PassportElementType -> Bool
$c/= :: PassportElementType -> PassportElementType -> Bool
== :: PassportElementType -> PassportElementType -> Bool
$c== :: PassportElementType -> PassportElementType -> Bool
Eq, (forall x. PassportElementType -> Rep PassportElementType x)
-> (forall x. Rep PassportElementType x -> PassportElementType)
-> Generic PassportElementType
forall x. Rep PassportElementType x -> PassportElementType
forall x. PassportElementType -> Rep PassportElementType x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x. Rep PassportElementType x -> PassportElementType
$cfrom :: forall x. PassportElementType -> Rep PassportElementType x
Generic)
data Date
=
Date
{
Date -> I32
day :: I32,
Date -> I32
month :: I32,
Date -> I32
year :: I32
}
deriving (I32 -> Date -> ShowS
[Date] -> ShowS
Date -> String
(I32 -> Date -> ShowS)
-> (Date -> String) -> ([Date] -> ShowS) -> Show Date
forall a.
(I32 -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [Date] -> ShowS
$cshowList :: [Date] -> ShowS
show :: Date -> String
$cshow :: Date -> String
showsPrec :: I32 -> Date -> ShowS
$cshowsPrec :: I32 -> Date -> ShowS
Show, Date -> Date -> Bool
(Date -> Date -> Bool) -> (Date -> Date -> Bool) -> Eq Date
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: Date -> Date -> Bool
$c/= :: Date -> Date -> Bool
== :: Date -> Date -> Bool
$c== :: Date -> Date -> Bool
Eq, (forall x. Date -> Rep Date x)
-> (forall x. Rep Date x -> Date) -> Generic Date
forall x. Rep Date x -> Date
forall x. Date -> Rep Date x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x. Rep Date x -> Date
$cfrom :: forall x. Date -> Rep Date x
Generic)
data PersonalDetails
=
PersonalDetails
{
PersonalDetails -> T
firstName :: T,
PersonalDetails -> T
middleName :: T,
PersonalDetails -> T
lastName :: T,
PersonalDetails -> T
nativeFirstName :: T,
PersonalDetails -> T
nativeMiddleName :: T,
PersonalDetails -> T
nativeLastName :: T,
PersonalDetails -> Date
birthdate :: Date,
PersonalDetails -> T
gender :: T,
PersonalDetails -> T
countryCode :: T,
PersonalDetails -> T
residenceCountryCode :: T
}
deriving (I32 -> PersonalDetails -> ShowS
[PersonalDetails] -> ShowS
PersonalDetails -> String
(I32 -> PersonalDetails -> ShowS)
-> (PersonalDetails -> String)
-> ([PersonalDetails] -> ShowS)
-> Show PersonalDetails
forall a.
(I32 -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [PersonalDetails] -> ShowS
$cshowList :: [PersonalDetails] -> ShowS
show :: PersonalDetails -> String
$cshow :: PersonalDetails -> String
showsPrec :: I32 -> PersonalDetails -> ShowS
$cshowsPrec :: I32 -> PersonalDetails -> ShowS
Show, PersonalDetails -> PersonalDetails -> Bool
(PersonalDetails -> PersonalDetails -> Bool)
-> (PersonalDetails -> PersonalDetails -> Bool)
-> Eq PersonalDetails
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: PersonalDetails -> PersonalDetails -> Bool
$c/= :: PersonalDetails -> PersonalDetails -> Bool
== :: PersonalDetails -> PersonalDetails -> Bool
$c== :: PersonalDetails -> PersonalDetails -> Bool
Eq, (forall x. PersonalDetails -> Rep PersonalDetails x)
-> (forall x. Rep PersonalDetails x -> PersonalDetails)
-> Generic PersonalDetails
forall x. Rep PersonalDetails x -> PersonalDetails
forall x. PersonalDetails -> Rep PersonalDetails x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x. Rep PersonalDetails x -> PersonalDetails
$cfrom :: forall x. PersonalDetails -> Rep PersonalDetails x
Generic)
data IdentityDocument
=
IdentityDocument
{
IdentityDocument -> T
number :: T,
IdentityDocument -> Maybe Date
expiryDate :: (Maybe) (Date),
IdentityDocument -> DatedFile
frontSide :: DatedFile,
IdentityDocument -> DatedFile
reverseSide :: DatedFile,
IdentityDocument -> Maybe DatedFile
selfie :: (Maybe) (DatedFile),
IdentityDocument -> [DatedFile]
translation :: [DatedFile]
}
deriving (I32 -> IdentityDocument -> ShowS
[IdentityDocument] -> ShowS
IdentityDocument -> String
(I32 -> IdentityDocument -> ShowS)
-> (IdentityDocument -> String)
-> ([IdentityDocument] -> ShowS)
-> Show IdentityDocument
forall a.
(I32 -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [IdentityDocument] -> ShowS
$cshowList :: [IdentityDocument] -> ShowS
show :: IdentityDocument -> String
$cshow :: IdentityDocument -> String
showsPrec :: I32 -> IdentityDocument -> ShowS
$cshowsPrec :: I32 -> IdentityDocument -> ShowS
Show, IdentityDocument -> IdentityDocument -> Bool
(IdentityDocument -> IdentityDocument -> Bool)
-> (IdentityDocument -> IdentityDocument -> Bool)
-> Eq IdentityDocument
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: IdentityDocument -> IdentityDocument -> Bool
$c/= :: IdentityDocument -> IdentityDocument -> Bool
== :: IdentityDocument -> IdentityDocument -> Bool
$c== :: IdentityDocument -> IdentityDocument -> Bool
Eq, (forall x. IdentityDocument -> Rep IdentityDocument x)
-> (forall x. Rep IdentityDocument x -> IdentityDocument)
-> Generic IdentityDocument
forall x. Rep IdentityDocument x -> IdentityDocument
forall x. IdentityDocument -> Rep IdentityDocument x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x. Rep IdentityDocument x -> IdentityDocument
$cfrom :: forall x. IdentityDocument -> Rep IdentityDocument x
Generic)
data InputIdentityDocument
=
InputIdentityDocument
{
InputIdentityDocument -> T
number :: T,
InputIdentityDocument -> Date
expiryDate :: Date,
InputIdentityDocument -> InputFile
frontSide :: InputFile,
InputIdentityDocument -> InputFile
reverseSide :: InputFile,
InputIdentityDocument -> InputFile
selfie :: InputFile,
InputIdentityDocument -> [InputFile]
translation :: [InputFile]
}
deriving (I32 -> InputIdentityDocument -> ShowS
[InputIdentityDocument] -> ShowS
InputIdentityDocument -> String
(I32 -> InputIdentityDocument -> ShowS)
-> (InputIdentityDocument -> String)
-> ([InputIdentityDocument] -> ShowS)
-> Show InputIdentityDocument
forall a.
(I32 -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [InputIdentityDocument] -> ShowS
$cshowList :: [InputIdentityDocument] -> ShowS
show :: InputIdentityDocument -> String
$cshow :: InputIdentityDocument -> String
showsPrec :: I32 -> InputIdentityDocument -> ShowS
$cshowsPrec :: I32 -> InputIdentityDocument -> ShowS
Show, InputIdentityDocument -> InputIdentityDocument -> Bool
(InputIdentityDocument -> InputIdentityDocument -> Bool)
-> (InputIdentityDocument -> InputIdentityDocument -> Bool)
-> Eq InputIdentityDocument
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: InputIdentityDocument -> InputIdentityDocument -> Bool
$c/= :: InputIdentityDocument -> InputIdentityDocument -> Bool
== :: InputIdentityDocument -> InputIdentityDocument -> Bool
$c== :: InputIdentityDocument -> InputIdentityDocument -> Bool
Eq, (forall x. InputIdentityDocument -> Rep InputIdentityDocument x)
-> (forall x. Rep InputIdentityDocument x -> InputIdentityDocument)
-> Generic InputIdentityDocument
forall x. Rep InputIdentityDocument x -> InputIdentityDocument
forall x. InputIdentityDocument -> Rep InputIdentityDocument x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x. Rep InputIdentityDocument x -> InputIdentityDocument
$cfrom :: forall x. InputIdentityDocument -> Rep InputIdentityDocument x
Generic)
data PersonalDocument
=
PersonalDocument
{
PersonalDocument -> [DatedFile]
files :: [DatedFile],
PersonalDocument -> [DatedFile]
translation :: [DatedFile]
}
deriving (I32 -> PersonalDocument -> ShowS
[PersonalDocument] -> ShowS
PersonalDocument -> String
(I32 -> PersonalDocument -> ShowS)
-> (PersonalDocument -> String)
-> ([PersonalDocument] -> ShowS)
-> Show PersonalDocument
forall a.
(I32 -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [PersonalDocument] -> ShowS
$cshowList :: [PersonalDocument] -> ShowS
show :: PersonalDocument -> String
$cshow :: PersonalDocument -> String
showsPrec :: I32 -> PersonalDocument -> ShowS
$cshowsPrec :: I32 -> PersonalDocument -> ShowS
Show, PersonalDocument -> PersonalDocument -> Bool
(PersonalDocument -> PersonalDocument -> Bool)
-> (PersonalDocument -> PersonalDocument -> Bool)
-> Eq PersonalDocument
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: PersonalDocument -> PersonalDocument -> Bool
$c/= :: PersonalDocument -> PersonalDocument -> Bool
== :: PersonalDocument -> PersonalDocument -> Bool
$c== :: PersonalDocument -> PersonalDocument -> Bool
Eq, (forall x. PersonalDocument -> Rep PersonalDocument x)
-> (forall x. Rep PersonalDocument x -> PersonalDocument)
-> Generic PersonalDocument
forall x. Rep PersonalDocument x -> PersonalDocument
forall x. PersonalDocument -> Rep PersonalDocument x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x. Rep PersonalDocument x -> PersonalDocument
$cfrom :: forall x. PersonalDocument -> Rep PersonalDocument x
Generic)
data InputPersonalDocument
=
InputPersonalDocument
{
InputPersonalDocument -> [InputFile]
files :: [InputFile],
InputPersonalDocument -> [InputFile]
translation :: [InputFile]
}
deriving (I32 -> InputPersonalDocument -> ShowS
[InputPersonalDocument] -> ShowS
InputPersonalDocument -> String
(I32 -> InputPersonalDocument -> ShowS)
-> (InputPersonalDocument -> String)
-> ([InputPersonalDocument] -> ShowS)
-> Show InputPersonalDocument
forall a.
(I32 -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [InputPersonalDocument] -> ShowS
$cshowList :: [InputPersonalDocument] -> ShowS
show :: InputPersonalDocument -> String
$cshow :: InputPersonalDocument -> String
showsPrec :: I32 -> InputPersonalDocument -> ShowS
$cshowsPrec :: I32 -> InputPersonalDocument -> ShowS
Show, InputPersonalDocument -> InputPersonalDocument -> Bool
(InputPersonalDocument -> InputPersonalDocument -> Bool)
-> (InputPersonalDocument -> InputPersonalDocument -> Bool)
-> Eq InputPersonalDocument
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: InputPersonalDocument -> InputPersonalDocument -> Bool
$c/= :: InputPersonalDocument -> InputPersonalDocument -> Bool
== :: InputPersonalDocument -> InputPersonalDocument -> Bool
$c== :: InputPersonalDocument -> InputPersonalDocument -> Bool
Eq, (forall x. InputPersonalDocument -> Rep InputPersonalDocument x)
-> (forall x. Rep InputPersonalDocument x -> InputPersonalDocument)
-> Generic InputPersonalDocument
forall x. Rep InputPersonalDocument x -> InputPersonalDocument
forall x. InputPersonalDocument -> Rep InputPersonalDocument x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x. Rep InputPersonalDocument x -> InputPersonalDocument
$cfrom :: forall x. InputPersonalDocument -> Rep InputPersonalDocument x
Generic)
data PassportElement
=
PassportElementPersonalDetails
{
PassportElement -> PersonalDetails
personalDetails :: PersonalDetails
}
|
PassportElementPassport
{
PassportElement -> IdentityDocument
passport :: IdentityDocument
}
|
PassportElementDriverLicense
{
PassportElement -> IdentityDocument
driverLicense :: IdentityDocument
}
|
PassportElementIdentityCard
{
PassportElement -> IdentityDocument
identityCard :: IdentityDocument
}
|
PassportElementInternalPassport
{
PassportElement -> IdentityDocument
internalPassport :: IdentityDocument
}
|
PassportElementAddress
{
PassportElement -> Address
address :: Address
}
|
PassportElementUtilityBill
{
PassportElement -> PersonalDocument
utilityBill :: PersonalDocument
}
|
PassportElementBankStatement
{
PassportElement -> PersonalDocument
bankStatement :: PersonalDocument
}
|
PassportElementRentalAgreement
{
PassportElement -> PersonalDocument
rentalAgreement :: PersonalDocument
}
|
PassportElementPassportRegistration
{
PassportElement -> PersonalDocument
passportRegistration :: PersonalDocument
}
|
PassportElementTemporaryRegistration
{
PassportElement -> PersonalDocument
temporaryRegistration :: PersonalDocument
}
|
PassportElementPhoneNumber
{
PassportElement -> T
phoneNumber :: T
}
|
PassportElementEmailAddress
{
PassportElement -> T
emailAddress :: T
}
deriving (I32 -> PassportElement -> ShowS
[PassportElement] -> ShowS
PassportElement -> String
(I32 -> PassportElement -> ShowS)
-> (PassportElement -> String)
-> ([PassportElement] -> ShowS)
-> Show PassportElement
forall a.
(I32 -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [PassportElement] -> ShowS
$cshowList :: [PassportElement] -> ShowS
show :: PassportElement -> String
$cshow :: PassportElement -> String
showsPrec :: I32 -> PassportElement -> ShowS
$cshowsPrec :: I32 -> PassportElement -> ShowS
Show, PassportElement -> PassportElement -> Bool
(PassportElement -> PassportElement -> Bool)
-> (PassportElement -> PassportElement -> Bool)
-> Eq PassportElement
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: PassportElement -> PassportElement -> Bool
$c/= :: PassportElement -> PassportElement -> Bool
== :: PassportElement -> PassportElement -> Bool
$c== :: PassportElement -> PassportElement -> Bool
Eq, (forall x. PassportElement -> Rep PassportElement x)
-> (forall x. Rep PassportElement x -> PassportElement)
-> Generic PassportElement
forall x. Rep PassportElement x -> PassportElement
forall x. PassportElement -> Rep PassportElement x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x. Rep PassportElement x -> PassportElement
$cfrom :: forall x. PassportElement -> Rep PassportElement x
Generic)
data InputPassportElement
=
InputPassportElementPersonalDetails
{
InputPassportElement -> PersonalDetails
personalDetails :: PersonalDetails
}
|
InputPassportElementPassport
{
InputPassportElement -> InputIdentityDocument
passport :: InputIdentityDocument
}
|
InputPassportElementDriverLicense
{
InputPassportElement -> InputIdentityDocument
driverLicense :: InputIdentityDocument
}
|
InputPassportElementIdentityCard
{
InputPassportElement -> InputIdentityDocument
identityCard :: InputIdentityDocument
}
|
InputPassportElementInternalPassport
{
InputPassportElement -> InputIdentityDocument
internalPassport :: InputIdentityDocument
}
|
InputPassportElementAddress
{
InputPassportElement -> Address
address :: Address
}
|
InputPassportElementUtilityBill
{
InputPassportElement -> InputPersonalDocument
utilityBill :: InputPersonalDocument
}
|
InputPassportElementBankStatement
{
InputPassportElement -> InputPersonalDocument
bankStatement :: InputPersonalDocument
}
|
InputPassportElementRentalAgreement
{
InputPassportElement -> InputPersonalDocument
rentalAgreement :: InputPersonalDocument
}
|
InputPassportElementPassportRegistration
{
InputPassportElement -> InputPersonalDocument
passportRegistration :: InputPersonalDocument
}
|
InputPassportElementTemporaryRegistration
{
InputPassportElement -> InputPersonalDocument
temporaryRegistration :: InputPersonalDocument
}
|
InputPassportElementPhoneNumber
{
InputPassportElement -> T
phoneNumber :: T
}
|
InputPassportElementEmailAddress
{
InputPassportElement -> T
emailAddress :: T
}
deriving (I32 -> InputPassportElement -> ShowS
[InputPassportElement] -> ShowS
InputPassportElement -> String
(I32 -> InputPassportElement -> ShowS)
-> (InputPassportElement -> String)
-> ([InputPassportElement] -> ShowS)
-> Show InputPassportElement
forall a.
(I32 -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [InputPassportElement] -> ShowS
$cshowList :: [InputPassportElement] -> ShowS
show :: InputPassportElement -> String
$cshow :: InputPassportElement -> String
showsPrec :: I32 -> InputPassportElement -> ShowS
$cshowsPrec :: I32 -> InputPassportElement -> ShowS
Show, InputPassportElement -> InputPassportElement -> Bool
(InputPassportElement -> InputPassportElement -> Bool)
-> (InputPassportElement -> InputPassportElement -> Bool)
-> Eq InputPassportElement
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: InputPassportElement -> InputPassportElement -> Bool
$c/= :: InputPassportElement -> InputPassportElement -> Bool
== :: InputPassportElement -> InputPassportElement -> Bool
$c== :: InputPassportElement -> InputPassportElement -> Bool
Eq, (forall x. InputPassportElement -> Rep InputPassportElement x)
-> (forall x. Rep InputPassportElement x -> InputPassportElement)
-> Generic InputPassportElement
forall x. Rep InputPassportElement x -> InputPassportElement
forall x. InputPassportElement -> Rep InputPassportElement x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x. Rep InputPassportElement x -> InputPassportElement
$cfrom :: forall x. InputPassportElement -> Rep InputPassportElement x
Generic)
data PassportElements
=
PassportElements
{
PassportElements -> [PassportElement]
elements :: [PassportElement]
}
deriving (I32 -> PassportElements -> ShowS
[PassportElements] -> ShowS
PassportElements -> String
(I32 -> PassportElements -> ShowS)
-> (PassportElements -> String)
-> ([PassportElements] -> ShowS)
-> Show PassportElements
forall a.
(I32 -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [PassportElements] -> ShowS
$cshowList :: [PassportElements] -> ShowS
show :: PassportElements -> String
$cshow :: PassportElements -> String
showsPrec :: I32 -> PassportElements -> ShowS
$cshowsPrec :: I32 -> PassportElements -> ShowS
Show, PassportElements -> PassportElements -> Bool
(PassportElements -> PassportElements -> Bool)
-> (PassportElements -> PassportElements -> Bool)
-> Eq PassportElements
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: PassportElements -> PassportElements -> Bool
$c/= :: PassportElements -> PassportElements -> Bool
== :: PassportElements -> PassportElements -> Bool
$c== :: PassportElements -> PassportElements -> Bool
Eq, (forall x. PassportElements -> Rep PassportElements x)
-> (forall x. Rep PassportElements x -> PassportElements)
-> Generic PassportElements
forall x. Rep PassportElements x -> PassportElements
forall x. PassportElements -> Rep PassportElements x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x. Rep PassportElements x -> PassportElements
$cfrom :: forall x. PassportElements -> Rep PassportElements x
Generic)
data PassportElementErrorSource
=
PassportElementErrorSourceUnspecified
{
}
|
PassportElementErrorSourceDataField
{
PassportElementErrorSource -> T
fieldName :: T
}
|
PassportElementErrorSourceFrontSide
{
}
|
PassportElementErrorSourceReverseSide
{
}
|
PassportElementErrorSourceSelfie
{
}
|
PassportElementErrorSourceTranslationFile
{
PassportElementErrorSource -> I32
fileIndex :: I32
}
|
PassportElementErrorSourceTranslationFiles
{
}
|
PassportElementErrorSourceFile
{
fileIndex :: I32
}
|
PassportElementErrorSourceFiles
{
}
deriving (I32 -> PassportElementErrorSource -> ShowS
[PassportElementErrorSource] -> ShowS
PassportElementErrorSource -> String
(I32 -> PassportElementErrorSource -> ShowS)
-> (PassportElementErrorSource -> String)
-> ([PassportElementErrorSource] -> ShowS)
-> Show PassportElementErrorSource
forall a.
(I32 -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [PassportElementErrorSource] -> ShowS
$cshowList :: [PassportElementErrorSource] -> ShowS
show :: PassportElementErrorSource -> String
$cshow :: PassportElementErrorSource -> String
showsPrec :: I32 -> PassportElementErrorSource -> ShowS
$cshowsPrec :: I32 -> PassportElementErrorSource -> ShowS
Show, PassportElementErrorSource -> PassportElementErrorSource -> Bool
(PassportElementErrorSource -> PassportElementErrorSource -> Bool)
-> (PassportElementErrorSource
-> PassportElementErrorSource -> Bool)
-> Eq PassportElementErrorSource
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: PassportElementErrorSource -> PassportElementErrorSource -> Bool
$c/= :: PassportElementErrorSource -> PassportElementErrorSource -> Bool
== :: PassportElementErrorSource -> PassportElementErrorSource -> Bool
$c== :: PassportElementErrorSource -> PassportElementErrorSource -> Bool
Eq, (forall x.
PassportElementErrorSource -> Rep PassportElementErrorSource x)
-> (forall x.
Rep PassportElementErrorSource x -> PassportElementErrorSource)
-> Generic PassportElementErrorSource
forall x.
Rep PassportElementErrorSource x -> PassportElementErrorSource
forall x.
PassportElementErrorSource -> Rep PassportElementErrorSource x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x.
Rep PassportElementErrorSource x -> PassportElementErrorSource
$cfrom :: forall x.
PassportElementErrorSource -> Rep PassportElementErrorSource x
Generic)
data PassportElementError
=
PassportElementError
{
PassportElementError -> PassportElementType
type_ :: PassportElementType,
PassportElementError -> T
message :: T,
PassportElementError -> PassportElementErrorSource
source :: PassportElementErrorSource
}
deriving (I32 -> PassportElementError -> ShowS
[PassportElementError] -> ShowS
PassportElementError -> String
(I32 -> PassportElementError -> ShowS)
-> (PassportElementError -> String)
-> ([PassportElementError] -> ShowS)
-> Show PassportElementError
forall a.
(I32 -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [PassportElementError] -> ShowS
$cshowList :: [PassportElementError] -> ShowS
show :: PassportElementError -> String
$cshow :: PassportElementError -> String
showsPrec :: I32 -> PassportElementError -> ShowS
$cshowsPrec :: I32 -> PassportElementError -> ShowS
Show, PassportElementError -> PassportElementError -> Bool
(PassportElementError -> PassportElementError -> Bool)
-> (PassportElementError -> PassportElementError -> Bool)
-> Eq PassportElementError
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: PassportElementError -> PassportElementError -> Bool
$c/= :: PassportElementError -> PassportElementError -> Bool
== :: PassportElementError -> PassportElementError -> Bool
$c== :: PassportElementError -> PassportElementError -> Bool
Eq, (forall x. PassportElementError -> Rep PassportElementError x)
-> (forall x. Rep PassportElementError x -> PassportElementError)
-> Generic PassportElementError
forall x. Rep PassportElementError x -> PassportElementError
forall x. PassportElementError -> Rep PassportElementError x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x. Rep PassportElementError x -> PassportElementError
$cfrom :: forall x. PassportElementError -> Rep PassportElementError x
Generic)
data PassportSuitableElement
=
PassportSuitableElement
{
PassportSuitableElement -> PassportElementType
type_ :: PassportElementType,
PassportSuitableElement -> Bool
isSelfieRequired :: Bool,
PassportSuitableElement -> Bool
isTranslationRequired :: Bool,
PassportSuitableElement -> Bool
isNativeNameRequired :: Bool
}
deriving (I32 -> PassportSuitableElement -> ShowS
[PassportSuitableElement] -> ShowS
PassportSuitableElement -> String
(I32 -> PassportSuitableElement -> ShowS)
-> (PassportSuitableElement -> String)
-> ([PassportSuitableElement] -> ShowS)
-> Show PassportSuitableElement
forall a.
(I32 -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [PassportSuitableElement] -> ShowS
$cshowList :: [PassportSuitableElement] -> ShowS
show :: PassportSuitableElement -> String
$cshow :: PassportSuitableElement -> String
showsPrec :: I32 -> PassportSuitableElement -> ShowS
$cshowsPrec :: I32 -> PassportSuitableElement -> ShowS
Show, PassportSuitableElement -> PassportSuitableElement -> Bool
(PassportSuitableElement -> PassportSuitableElement -> Bool)
-> (PassportSuitableElement -> PassportSuitableElement -> Bool)
-> Eq PassportSuitableElement
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: PassportSuitableElement -> PassportSuitableElement -> Bool
$c/= :: PassportSuitableElement -> PassportSuitableElement -> Bool
== :: PassportSuitableElement -> PassportSuitableElement -> Bool
$c== :: PassportSuitableElement -> PassportSuitableElement -> Bool
Eq, (forall x.
PassportSuitableElement -> Rep PassportSuitableElement x)
-> (forall x.
Rep PassportSuitableElement x -> PassportSuitableElement)
-> Generic PassportSuitableElement
forall x. Rep PassportSuitableElement x -> PassportSuitableElement
forall x. PassportSuitableElement -> Rep PassportSuitableElement x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x. Rep PassportSuitableElement x -> PassportSuitableElement
$cfrom :: forall x. PassportSuitableElement -> Rep PassportSuitableElement x
Generic)
data PassportRequiredElement
=
PassportRequiredElement
{
PassportRequiredElement -> [PassportSuitableElement]
suitableElements :: [PassportSuitableElement]
}
deriving (I32 -> PassportRequiredElement -> ShowS
[PassportRequiredElement] -> ShowS
PassportRequiredElement -> String
(I32 -> PassportRequiredElement -> ShowS)
-> (PassportRequiredElement -> String)
-> ([PassportRequiredElement] -> ShowS)
-> Show PassportRequiredElement
forall a.
(I32 -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [PassportRequiredElement] -> ShowS
$cshowList :: [PassportRequiredElement] -> ShowS
show :: PassportRequiredElement -> String
$cshow :: PassportRequiredElement -> String
showsPrec :: I32 -> PassportRequiredElement -> ShowS
$cshowsPrec :: I32 -> PassportRequiredElement -> ShowS
Show, PassportRequiredElement -> PassportRequiredElement -> Bool
(PassportRequiredElement -> PassportRequiredElement -> Bool)
-> (PassportRequiredElement -> PassportRequiredElement -> Bool)
-> Eq PassportRequiredElement
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: PassportRequiredElement -> PassportRequiredElement -> Bool
$c/= :: PassportRequiredElement -> PassportRequiredElement -> Bool
== :: PassportRequiredElement -> PassportRequiredElement -> Bool
$c== :: PassportRequiredElement -> PassportRequiredElement -> Bool
Eq, (forall x.
PassportRequiredElement -> Rep PassportRequiredElement x)
-> (forall x.
Rep PassportRequiredElement x -> PassportRequiredElement)
-> Generic PassportRequiredElement
forall x. Rep PassportRequiredElement x -> PassportRequiredElement
forall x. PassportRequiredElement -> Rep PassportRequiredElement x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x. Rep PassportRequiredElement x -> PassportRequiredElement
$cfrom :: forall x. PassportRequiredElement -> Rep PassportRequiredElement x
Generic)
data PassportAuthorizationForm
=
PassportAuthorizationForm
{
PassportAuthorizationForm -> I32
id :: I32,
PassportAuthorizationForm -> [PassportRequiredElement]
requiredElements :: [PassportRequiredElement],
PassportAuthorizationForm -> T
privacyPolicyUrl :: T
}
deriving (I32 -> PassportAuthorizationForm -> ShowS
[PassportAuthorizationForm] -> ShowS
PassportAuthorizationForm -> String
(I32 -> PassportAuthorizationForm -> ShowS)
-> (PassportAuthorizationForm -> String)
-> ([PassportAuthorizationForm] -> ShowS)
-> Show PassportAuthorizationForm
forall a.
(I32 -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [PassportAuthorizationForm] -> ShowS
$cshowList :: [PassportAuthorizationForm] -> ShowS
show :: PassportAuthorizationForm -> String
$cshow :: PassportAuthorizationForm -> String
showsPrec :: I32 -> PassportAuthorizationForm -> ShowS
$cshowsPrec :: I32 -> PassportAuthorizationForm -> ShowS
Show, PassportAuthorizationForm -> PassportAuthorizationForm -> Bool
(PassportAuthorizationForm -> PassportAuthorizationForm -> Bool)
-> (PassportAuthorizationForm -> PassportAuthorizationForm -> Bool)
-> Eq PassportAuthorizationForm
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: PassportAuthorizationForm -> PassportAuthorizationForm -> Bool
$c/= :: PassportAuthorizationForm -> PassportAuthorizationForm -> Bool
== :: PassportAuthorizationForm -> PassportAuthorizationForm -> Bool
$c== :: PassportAuthorizationForm -> PassportAuthorizationForm -> Bool
Eq, (forall x.
PassportAuthorizationForm -> Rep PassportAuthorizationForm x)
-> (forall x.
Rep PassportAuthorizationForm x -> PassportAuthorizationForm)
-> Generic PassportAuthorizationForm
forall x.
Rep PassportAuthorizationForm x -> PassportAuthorizationForm
forall x.
PassportAuthorizationForm -> Rep PassportAuthorizationForm x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x.
Rep PassportAuthorizationForm x -> PassportAuthorizationForm
$cfrom :: forall x.
PassportAuthorizationForm -> Rep PassportAuthorizationForm x
Generic)
data PassportElementsWithErrors
=
PassportElementsWithErrors
{
PassportElementsWithErrors -> [PassportElement]
elements :: [PassportElement],
PassportElementsWithErrors -> [PassportElementError]
errors :: [PassportElementError]
}
deriving (I32 -> PassportElementsWithErrors -> ShowS
[PassportElementsWithErrors] -> ShowS
PassportElementsWithErrors -> String
(I32 -> PassportElementsWithErrors -> ShowS)
-> (PassportElementsWithErrors -> String)
-> ([PassportElementsWithErrors] -> ShowS)
-> Show PassportElementsWithErrors
forall a.
(I32 -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [PassportElementsWithErrors] -> ShowS
$cshowList :: [PassportElementsWithErrors] -> ShowS
show :: PassportElementsWithErrors -> String
$cshow :: PassportElementsWithErrors -> String
showsPrec :: I32 -> PassportElementsWithErrors -> ShowS
$cshowsPrec :: I32 -> PassportElementsWithErrors -> ShowS
Show, PassportElementsWithErrors -> PassportElementsWithErrors -> Bool
(PassportElementsWithErrors -> PassportElementsWithErrors -> Bool)
-> (PassportElementsWithErrors
-> PassportElementsWithErrors -> Bool)
-> Eq PassportElementsWithErrors
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: PassportElementsWithErrors -> PassportElementsWithErrors -> Bool
$c/= :: PassportElementsWithErrors -> PassportElementsWithErrors -> Bool
== :: PassportElementsWithErrors -> PassportElementsWithErrors -> Bool
$c== :: PassportElementsWithErrors -> PassportElementsWithErrors -> Bool
Eq, (forall x.
PassportElementsWithErrors -> Rep PassportElementsWithErrors x)
-> (forall x.
Rep PassportElementsWithErrors x -> PassportElementsWithErrors)
-> Generic PassportElementsWithErrors
forall x.
Rep PassportElementsWithErrors x -> PassportElementsWithErrors
forall x.
PassportElementsWithErrors -> Rep PassportElementsWithErrors x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x.
Rep PassportElementsWithErrors x -> PassportElementsWithErrors
$cfrom :: forall x.
PassportElementsWithErrors -> Rep PassportElementsWithErrors x
Generic)
data EncryptedCredentials
=
EncryptedCredentials
{
EncryptedCredentials -> ByteString64
data_ :: ByteString64,
EncryptedCredentials -> ByteString64
hash :: ByteString64,
EncryptedCredentials -> ByteString64
secret :: ByteString64
}
deriving (I32 -> EncryptedCredentials -> ShowS
[EncryptedCredentials] -> ShowS
EncryptedCredentials -> String
(I32 -> EncryptedCredentials -> ShowS)
-> (EncryptedCredentials -> String)
-> ([EncryptedCredentials] -> ShowS)
-> Show EncryptedCredentials
forall a.
(I32 -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [EncryptedCredentials] -> ShowS
$cshowList :: [EncryptedCredentials] -> ShowS
show :: EncryptedCredentials -> String
$cshow :: EncryptedCredentials -> String
showsPrec :: I32 -> EncryptedCredentials -> ShowS
$cshowsPrec :: I32 -> EncryptedCredentials -> ShowS
Show, EncryptedCredentials -> EncryptedCredentials -> Bool
(EncryptedCredentials -> EncryptedCredentials -> Bool)
-> (EncryptedCredentials -> EncryptedCredentials -> Bool)
-> Eq EncryptedCredentials
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: EncryptedCredentials -> EncryptedCredentials -> Bool
$c/= :: EncryptedCredentials -> EncryptedCredentials -> Bool
== :: EncryptedCredentials -> EncryptedCredentials -> Bool
$c== :: EncryptedCredentials -> EncryptedCredentials -> Bool
Eq, (forall x. EncryptedCredentials -> Rep EncryptedCredentials x)
-> (forall x. Rep EncryptedCredentials x -> EncryptedCredentials)
-> Generic EncryptedCredentials
forall x. Rep EncryptedCredentials x -> EncryptedCredentials
forall x. EncryptedCredentials -> Rep EncryptedCredentials x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x. Rep EncryptedCredentials x -> EncryptedCredentials
$cfrom :: forall x. EncryptedCredentials -> Rep EncryptedCredentials x
Generic)
data EncryptedPassportElement
=
EncryptedPassportElement
{
EncryptedPassportElement -> PassportElementType
type_ :: PassportElementType,
EncryptedPassportElement -> ByteString64
data_ :: ByteString64,
EncryptedPassportElement -> DatedFile
frontSide :: DatedFile,
EncryptedPassportElement -> Maybe DatedFile
reverseSide :: (Maybe) (DatedFile),
EncryptedPassportElement -> Maybe DatedFile
selfie :: (Maybe) (DatedFile),
EncryptedPassportElement -> [DatedFile]
translation :: [DatedFile],
EncryptedPassportElement -> [DatedFile]
files :: [DatedFile],
EncryptedPassportElement -> T
value :: T,
EncryptedPassportElement -> T
hash :: T
}
deriving (I32 -> EncryptedPassportElement -> ShowS
[EncryptedPassportElement] -> ShowS
EncryptedPassportElement -> String
(I32 -> EncryptedPassportElement -> ShowS)
-> (EncryptedPassportElement -> String)
-> ([EncryptedPassportElement] -> ShowS)
-> Show EncryptedPassportElement
forall a.
(I32 -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [EncryptedPassportElement] -> ShowS
$cshowList :: [EncryptedPassportElement] -> ShowS
show :: EncryptedPassportElement -> String
$cshow :: EncryptedPassportElement -> String
showsPrec :: I32 -> EncryptedPassportElement -> ShowS
$cshowsPrec :: I32 -> EncryptedPassportElement -> ShowS
Show, EncryptedPassportElement -> EncryptedPassportElement -> Bool
(EncryptedPassportElement -> EncryptedPassportElement -> Bool)
-> (EncryptedPassportElement -> EncryptedPassportElement -> Bool)
-> Eq EncryptedPassportElement
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: EncryptedPassportElement -> EncryptedPassportElement -> Bool
$c/= :: EncryptedPassportElement -> EncryptedPassportElement -> Bool
== :: EncryptedPassportElement -> EncryptedPassportElement -> Bool
$c== :: EncryptedPassportElement -> EncryptedPassportElement -> Bool
Eq, (forall x.
EncryptedPassportElement -> Rep EncryptedPassportElement x)
-> (forall x.
Rep EncryptedPassportElement x -> EncryptedPassportElement)
-> Generic EncryptedPassportElement
forall x.
Rep EncryptedPassportElement x -> EncryptedPassportElement
forall x.
EncryptedPassportElement -> Rep EncryptedPassportElement x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x.
Rep EncryptedPassportElement x -> EncryptedPassportElement
$cfrom :: forall x.
EncryptedPassportElement -> Rep EncryptedPassportElement x
Generic)
data InputPassportElementErrorSource
=
InputPassportElementErrorSourceUnspecified
{
InputPassportElementErrorSource -> ByteString64
elementHash :: ByteString64
}
|
InputPassportElementErrorSourceDataField
{
InputPassportElementErrorSource -> T
fieldName :: T,
InputPassportElementErrorSource -> ByteString64
dataHash :: ByteString64
}
|
InputPassportElementErrorSourceFrontSide
{
InputPassportElementErrorSource -> ByteString64
fileHash :: ByteString64
}
|
InputPassportElementErrorSourceReverseSide
{
fileHash :: ByteString64
}
|
InputPassportElementErrorSourceSelfie
{
fileHash :: ByteString64
}
|
InputPassportElementErrorSourceTranslationFile
{
fileHash :: ByteString64
}
|
InputPassportElementErrorSourceTranslationFiles
{
InputPassportElementErrorSource -> [ByteString64]
fileHashes :: [ByteString64]
}
|
InputPassportElementErrorSourceFile
{
fileHash :: ByteString64
}
|
InputPassportElementErrorSourceFiles
{
fileHashes :: [ByteString64]
}
deriving (I32 -> InputPassportElementErrorSource -> ShowS
[InputPassportElementErrorSource] -> ShowS
InputPassportElementErrorSource -> String
(I32 -> InputPassportElementErrorSource -> ShowS)
-> (InputPassportElementErrorSource -> String)
-> ([InputPassportElementErrorSource] -> ShowS)
-> Show InputPassportElementErrorSource
forall a.
(I32 -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [InputPassportElementErrorSource] -> ShowS
$cshowList :: [InputPassportElementErrorSource] -> ShowS
show :: InputPassportElementErrorSource -> String
$cshow :: InputPassportElementErrorSource -> String
showsPrec :: I32 -> InputPassportElementErrorSource -> ShowS
$cshowsPrec :: I32 -> InputPassportElementErrorSource -> ShowS
Show, InputPassportElementErrorSource
-> InputPassportElementErrorSource -> Bool
(InputPassportElementErrorSource
-> InputPassportElementErrorSource -> Bool)
-> (InputPassportElementErrorSource
-> InputPassportElementErrorSource -> Bool)
-> Eq InputPassportElementErrorSource
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: InputPassportElementErrorSource
-> InputPassportElementErrorSource -> Bool
$c/= :: InputPassportElementErrorSource
-> InputPassportElementErrorSource -> Bool
== :: InputPassportElementErrorSource
-> InputPassportElementErrorSource -> Bool
$c== :: InputPassportElementErrorSource
-> InputPassportElementErrorSource -> Bool
Eq, (forall x.
InputPassportElementErrorSource
-> Rep InputPassportElementErrorSource x)
-> (forall x.
Rep InputPassportElementErrorSource x
-> InputPassportElementErrorSource)
-> Generic InputPassportElementErrorSource
forall x.
Rep InputPassportElementErrorSource x
-> InputPassportElementErrorSource
forall x.
InputPassportElementErrorSource
-> Rep InputPassportElementErrorSource x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x.
Rep InputPassportElementErrorSource x
-> InputPassportElementErrorSource
$cfrom :: forall x.
InputPassportElementErrorSource
-> Rep InputPassportElementErrorSource x
Generic)
data InputPassportElementError
=
InputPassportElementError
{
InputPassportElementError -> PassportElementType
type_ :: PassportElementType,
InputPassportElementError -> T
message :: T,
InputPassportElementError -> InputPassportElementErrorSource
source :: InputPassportElementErrorSource
}
deriving (I32 -> InputPassportElementError -> ShowS
[InputPassportElementError] -> ShowS
InputPassportElementError -> String
(I32 -> InputPassportElementError -> ShowS)
-> (InputPassportElementError -> String)
-> ([InputPassportElementError] -> ShowS)
-> Show InputPassportElementError
forall a.
(I32 -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [InputPassportElementError] -> ShowS
$cshowList :: [InputPassportElementError] -> ShowS
show :: InputPassportElementError -> String
$cshow :: InputPassportElementError -> String
showsPrec :: I32 -> InputPassportElementError -> ShowS
$cshowsPrec :: I32 -> InputPassportElementError -> ShowS
Show, InputPassportElementError -> InputPassportElementError -> Bool
(InputPassportElementError -> InputPassportElementError -> Bool)
-> (InputPassportElementError -> InputPassportElementError -> Bool)
-> Eq InputPassportElementError
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: InputPassportElementError -> InputPassportElementError -> Bool
$c/= :: InputPassportElementError -> InputPassportElementError -> Bool
== :: InputPassportElementError -> InputPassportElementError -> Bool
$c== :: InputPassportElementError -> InputPassportElementError -> Bool
Eq, (forall x.
InputPassportElementError -> Rep InputPassportElementError x)
-> (forall x.
Rep InputPassportElementError x -> InputPassportElementError)
-> Generic InputPassportElementError
forall x.
Rep InputPassportElementError x -> InputPassportElementError
forall x.
InputPassportElementError -> Rep InputPassportElementError x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x.
Rep InputPassportElementError x -> InputPassportElementError
$cfrom :: forall x.
InputPassportElementError -> Rep InputPassportElementError x
Generic)
data MessageContent
=
MessageText
{
MessageContent -> FormattedText
text_2 :: FormattedText,
MessageContent -> Maybe WebPage
webPage :: (Maybe) (WebPage)
}
|
MessageAnimation
{
MessageContent -> Animation
animation :: Animation,
MessageContent -> FormattedText
caption :: FormattedText,
MessageContent -> Bool
isSecret :: Bool
}
|
MessageAudio
{
MessageContent -> Audio
audio :: Audio,
caption :: FormattedText
}
|
MessageDocument
{
MessageContent -> Document
document :: Document,
caption :: FormattedText
}
|
MessagePhoto
{
MessageContent -> Photo
photo :: Photo,
caption :: FormattedText,
isSecret :: Bool
}
|
MessageExpiredPhoto
{
}
|
MessageSticker
{
MessageContent -> Sticker
sticker :: Sticker
}
|
MessageVideo
{
MessageContent -> Video
video :: Video,
caption :: FormattedText,
isSecret :: Bool
}
|
MessageExpiredVideo
{
}
|
MessageVideoNote
{
MessageContent -> VideoNote
videoNote :: VideoNote,
MessageContent -> Bool
isViewed :: Bool,
isSecret :: Bool
}
|
MessageVoiceNote
{
MessageContent -> VoiceNote
voiceNote :: VoiceNote,
caption :: FormattedText,
MessageContent -> Bool
isListened :: Bool
}
|
MessageLocation
{
MessageContent -> Location
location :: Location,
MessageContent -> I32
livePeriod :: I32,
MessageContent -> I32
expiresIn :: I32
}
|
MessageVenue
{
MessageContent -> Venue
venue :: Venue
}
|
MessageContact
{
MessageContent -> Contact
contact :: Contact
}
|
MessageDice
{
MessageContent -> Maybe Sticker
initialStateSticker :: (Maybe) (Sticker),
MessageContent -> Maybe Sticker
finalStateSticker :: (Maybe) (Sticker),
MessageContent -> T
emoji :: T,
MessageContent -> I32
value :: I32,
:: I32
}
|
MessageGame
{
MessageContent -> Game
game :: Game
}
|
MessagePoll
{
MessageContent -> Poll
poll :: Poll
}
|
MessageInvoice
{
MessageContent -> T
title :: T,
MessageContent -> T
description :: T,
MessageContent -> Maybe Photo
photo_2 :: (Maybe) (Photo),
MessageContent -> T
currency :: T,
MessageContent -> I32
totalAmount :: I53,
MessageContent -> T
startParameter :: T,
MessageContent -> Bool
isTest :: Bool,
MessageContent -> Bool
needShippingAddress :: Bool,
MessageContent -> I32
receiptMessageId :: I53
}
|
MessageCall
{
MessageContent -> CallDiscardReason
discardReason :: CallDiscardReason,
MessageContent -> I32
duration :: I32
}
|
MessageBasicGroupChatCreate
{
title :: T,
MessageContent -> [I32]
memberUserIds :: [I32]
}
|
MessageSupergroupChatCreate
{
title :: T
}
|
MessageChatChangeTitle
{
title :: T
}
|
MessageChatChangePhoto
{
photo :: Photo
}
|
MessageChatDeletePhoto
{
}
|
MessageChatAddMembers
{
memberUserIds :: [I32]
}
|
MessageChatJoinByLink
{
}
|
MessageChatDeleteMember
{
MessageContent -> I32
userId :: I32
}
|
MessageChatUpgradeTo
{
MessageContent -> I32
supergroupId :: I32
}
|
MessageChatUpgradeFrom
{
title :: T,
MessageContent -> I32
basicGroupId :: I32
}
|
MessagePinMessage
{
MessageContent -> I32
messageId :: I53
}
|
MessageScreenshotTaken
{
}
|
MessageChatSetTtl
{
MessageContent -> I32
ttl :: I32
}
|
MessageCustomServiceAction
{
MessageContent -> T
text :: T
}
|
MessageGameScore
{
MessageContent -> I32
gameMessageId :: I53,
MessageContent -> I64
gameId :: I64,
MessageContent -> I32
score :: I32
}
|
MessagePaymentSuccessful
{
MessageContent -> I32
invoiceMessageId :: I53,
currency :: T,
totalAmount :: I53
}
|
MessagePaymentSuccessfulBot
{
invoiceMessageId :: I53,
currency :: T,
totalAmount :: I53,
MessageContent -> ByteString64
invoicePayload :: ByteString64,
MessageContent -> T
shippingOptionId :: T,
MessageContent -> Maybe OrderInfo
orderInfo :: (Maybe) (OrderInfo),
MessageContent -> T
telegramPaymentChargeId :: T,
MessageContent -> T
providerPaymentChargeId :: T
}
|
MessageContactRegistered
{
}
|
MessageWebsiteConnected
{
MessageContent -> T
domainName :: T
}
|
MessagePassportDataSent
{
MessageContent -> [PassportElementType]
types :: [PassportElementType]
}
|
MessagePassportDataReceived
{
MessageContent -> [EncryptedPassportElement]
elements :: [EncryptedPassportElement],
MessageContent -> EncryptedCredentials
credentials :: EncryptedCredentials
}
|
MessageUnsupported
{
}
deriving (I32 -> MessageContent -> ShowS
[MessageContent] -> ShowS
MessageContent -> String
(I32 -> MessageContent -> ShowS)
-> (MessageContent -> String)
-> ([MessageContent] -> ShowS)
-> Show MessageContent
forall a.
(I32 -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [MessageContent] -> ShowS
$cshowList :: [MessageContent] -> ShowS
show :: MessageContent -> String
$cshow :: MessageContent -> String
showsPrec :: I32 -> MessageContent -> ShowS
$cshowsPrec :: I32 -> MessageContent -> ShowS
Show, MessageContent -> MessageContent -> Bool
(MessageContent -> MessageContent -> Bool)
-> (MessageContent -> MessageContent -> Bool) -> Eq MessageContent
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: MessageContent -> MessageContent -> Bool
$c/= :: MessageContent -> MessageContent -> Bool
== :: MessageContent -> MessageContent -> Bool
$c== :: MessageContent -> MessageContent -> Bool
Eq, (forall x. MessageContent -> Rep MessageContent x)
-> (forall x. Rep MessageContent x -> MessageContent)
-> Generic MessageContent
forall x. Rep MessageContent x -> MessageContent
forall x. MessageContent -> Rep MessageContent x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x. Rep MessageContent x -> MessageContent
$cfrom :: forall x. MessageContent -> Rep MessageContent x
Generic)
data TextEntityType
=
TextEntityTypeMention
{
}
|
TextEntityTypeHashtag
{
}
|
TextEntityTypeCashtag
{
}
|
TextEntityTypeBotCommand
{
}
|
TextEntityTypeUrl
{
}
|
TextEntityTypeEmailAddress
{
}
|
TextEntityTypePhoneNumber
{
}
|
TextEntityTypeBankCardNumber
{
}
|
TextEntityTypeBold
{
}
|
TextEntityTypeItalic
{
}
|
TextEntityTypeUnderline
{
}
|
TextEntityTypeStrikethrough
{
}
|
TextEntityTypeCode
{
}
|
TextEntityTypePre
{
}
|
TextEntityTypePreCode
{
TextEntityType -> T
language :: T
}
|
TextEntityTypeTextUrl
{
TextEntityType -> T
url :: T
}
|
TextEntityTypeMentionName
{
TextEntityType -> I32
userId :: I32
}
deriving (I32 -> TextEntityType -> ShowS
[TextEntityType] -> ShowS
TextEntityType -> String
(I32 -> TextEntityType -> ShowS)
-> (TextEntityType -> String)
-> ([TextEntityType] -> ShowS)
-> Show TextEntityType
forall a.
(I32 -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [TextEntityType] -> ShowS
$cshowList :: [TextEntityType] -> ShowS
show :: TextEntityType -> String
$cshow :: TextEntityType -> String
showsPrec :: I32 -> TextEntityType -> ShowS
$cshowsPrec :: I32 -> TextEntityType -> ShowS
Show, TextEntityType -> TextEntityType -> Bool
(TextEntityType -> TextEntityType -> Bool)
-> (TextEntityType -> TextEntityType -> Bool) -> Eq TextEntityType
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: TextEntityType -> TextEntityType -> Bool
$c/= :: TextEntityType -> TextEntityType -> Bool
== :: TextEntityType -> TextEntityType -> Bool
$c== :: TextEntityType -> TextEntityType -> Bool
Eq, (forall x. TextEntityType -> Rep TextEntityType x)
-> (forall x. Rep TextEntityType x -> TextEntityType)
-> Generic TextEntityType
forall x. Rep TextEntityType x -> TextEntityType
forall x. TextEntityType -> Rep TextEntityType x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x. Rep TextEntityType x -> TextEntityType
$cfrom :: forall x. TextEntityType -> Rep TextEntityType x
Generic)
data InputThumbnail
=
InputThumbnail
{
InputThumbnail -> InputFile
thumbnail :: InputFile,
InputThumbnail -> I32
width :: I32,
InputThumbnail -> I32
height :: I32
}
deriving (I32 -> InputThumbnail -> ShowS
[InputThumbnail] -> ShowS
InputThumbnail -> String
(I32 -> InputThumbnail -> ShowS)
-> (InputThumbnail -> String)
-> ([InputThumbnail] -> ShowS)
-> Show InputThumbnail
forall a.
(I32 -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [InputThumbnail] -> ShowS
$cshowList :: [InputThumbnail] -> ShowS
show :: InputThumbnail -> String
$cshow :: InputThumbnail -> String
showsPrec :: I32 -> InputThumbnail -> ShowS
$cshowsPrec :: I32 -> InputThumbnail -> ShowS
Show, InputThumbnail -> InputThumbnail -> Bool
(InputThumbnail -> InputThumbnail -> Bool)
-> (InputThumbnail -> InputThumbnail -> Bool) -> Eq InputThumbnail
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: InputThumbnail -> InputThumbnail -> Bool
$c/= :: InputThumbnail -> InputThumbnail -> Bool
== :: InputThumbnail -> InputThumbnail -> Bool
$c== :: InputThumbnail -> InputThumbnail -> Bool
Eq, (forall x. InputThumbnail -> Rep InputThumbnail x)
-> (forall x. Rep InputThumbnail x -> InputThumbnail)
-> Generic InputThumbnail
forall x. Rep InputThumbnail x -> InputThumbnail
forall x. InputThumbnail -> Rep InputThumbnail x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x. Rep InputThumbnail x -> InputThumbnail
$cfrom :: forall x. InputThumbnail -> Rep InputThumbnail x
Generic)
data MessageSchedulingState
=
MessageSchedulingStateSendAtDate
{
MessageSchedulingState -> I32
sendDate :: I32
}
|
MessageSchedulingStateSendWhenOnline
{
}
deriving (I32 -> MessageSchedulingState -> ShowS
[MessageSchedulingState] -> ShowS
MessageSchedulingState -> String
(I32 -> MessageSchedulingState -> ShowS)
-> (MessageSchedulingState -> String)
-> ([MessageSchedulingState] -> ShowS)
-> Show MessageSchedulingState
forall a.
(I32 -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [MessageSchedulingState] -> ShowS
$cshowList :: [MessageSchedulingState] -> ShowS
show :: MessageSchedulingState -> String
$cshow :: MessageSchedulingState -> String
showsPrec :: I32 -> MessageSchedulingState -> ShowS
$cshowsPrec :: I32 -> MessageSchedulingState -> ShowS
Show, MessageSchedulingState -> MessageSchedulingState -> Bool
(MessageSchedulingState -> MessageSchedulingState -> Bool)
-> (MessageSchedulingState -> MessageSchedulingState -> Bool)
-> Eq MessageSchedulingState
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: MessageSchedulingState -> MessageSchedulingState -> Bool
$c/= :: MessageSchedulingState -> MessageSchedulingState -> Bool
== :: MessageSchedulingState -> MessageSchedulingState -> Bool
$c== :: MessageSchedulingState -> MessageSchedulingState -> Bool
Eq, (forall x. MessageSchedulingState -> Rep MessageSchedulingState x)
-> (forall x.
Rep MessageSchedulingState x -> MessageSchedulingState)
-> Generic MessageSchedulingState
forall x. Rep MessageSchedulingState x -> MessageSchedulingState
forall x. MessageSchedulingState -> Rep MessageSchedulingState x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x. Rep MessageSchedulingState x -> MessageSchedulingState
$cfrom :: forall x. MessageSchedulingState -> Rep MessageSchedulingState x
Generic)
data SendMessageOptions
=
SendMessageOptions
{
SendMessageOptions -> Bool
disableNotification :: Bool,
SendMessageOptions -> Bool
fromBackground :: Bool,
SendMessageOptions -> MessageSchedulingState
schedulingState :: MessageSchedulingState
}
deriving (I32 -> SendMessageOptions -> ShowS
[SendMessageOptions] -> ShowS
SendMessageOptions -> String
(I32 -> SendMessageOptions -> ShowS)
-> (SendMessageOptions -> String)
-> ([SendMessageOptions] -> ShowS)
-> Show SendMessageOptions
forall a.
(I32 -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [SendMessageOptions] -> ShowS
$cshowList :: [SendMessageOptions] -> ShowS
show :: SendMessageOptions -> String
$cshow :: SendMessageOptions -> String
showsPrec :: I32 -> SendMessageOptions -> ShowS
$cshowsPrec :: I32 -> SendMessageOptions -> ShowS
Show, SendMessageOptions -> SendMessageOptions -> Bool
(SendMessageOptions -> SendMessageOptions -> Bool)
-> (SendMessageOptions -> SendMessageOptions -> Bool)
-> Eq SendMessageOptions
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: SendMessageOptions -> SendMessageOptions -> Bool
$c/= :: SendMessageOptions -> SendMessageOptions -> Bool
== :: SendMessageOptions -> SendMessageOptions -> Bool
$c== :: SendMessageOptions -> SendMessageOptions -> Bool
Eq, (forall x. SendMessageOptions -> Rep SendMessageOptions x)
-> (forall x. Rep SendMessageOptions x -> SendMessageOptions)
-> Generic SendMessageOptions
forall x. Rep SendMessageOptions x -> SendMessageOptions
forall x. SendMessageOptions -> Rep SendMessageOptions x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x. Rep SendMessageOptions x -> SendMessageOptions
$cfrom :: forall x. SendMessageOptions -> Rep SendMessageOptions x
Generic)
data InputMessageContent
=
InputMessageText
{
InputMessageContent -> FormattedText
text :: FormattedText,
InputMessageContent -> Bool
disableWebPagePreview :: Bool,
InputMessageContent -> Bool
clearDraft :: Bool
}
|
InputMessageAnimation
{
InputMessageContent -> InputFile
animation :: InputFile,
InputMessageContent -> InputThumbnail
thumbnail :: InputThumbnail,
InputMessageContent -> [I32]
addedStickerFileIds :: [I32],
InputMessageContent -> I32
duration :: I32,
InputMessageContent -> I32
width :: I32,
InputMessageContent -> I32
height :: I32,
InputMessageContent -> FormattedText
caption :: FormattedText
}
|
InputMessageAudio
{
InputMessageContent -> InputFile
audio :: InputFile,
InputMessageContent -> InputThumbnail
albumCoverThumbnail :: InputThumbnail,
duration :: I32,
InputMessageContent -> T
title :: T,
InputMessageContent -> T
performer :: T,
caption :: FormattedText
}
|
InputMessageDocument
{
InputMessageContent -> InputFile
document :: InputFile,
thumbnail :: InputThumbnail,
caption :: FormattedText
}
|
InputMessagePhoto
{
InputMessageContent -> InputFile
photo :: InputFile,
thumbnail :: InputThumbnail,
addedStickerFileIds :: [I32],
width :: I32,
height :: I32,
caption :: FormattedText,
InputMessageContent -> I32
ttl :: I32
}
|
InputMessageSticker
{
InputMessageContent -> InputFile
sticker :: InputFile,
thumbnail :: InputThumbnail,
width :: I32,
height :: I32
}
|
InputMessageVideo
{
InputMessageContent -> InputFile
video :: InputFile,
thumbnail :: InputThumbnail,
addedStickerFileIds :: [I32],
duration :: I32,
width :: I32,
height :: I32,
InputMessageContent -> Bool
supportsStreaming :: Bool,
caption :: FormattedText,
ttl :: I32
}
|
InputMessageVideoNote
{
InputMessageContent -> InputFile
videoNote :: InputFile,
thumbnail :: InputThumbnail,
duration :: I32,
InputMessageContent -> I32
length :: I32
}
|
InputMessageVoiceNote
{
InputMessageContent -> InputFile
voiceNote :: InputFile,
duration :: I32,
InputMessageContent -> ByteString64
waveform :: ByteString64,
caption :: FormattedText
}
|
InputMessageLocation
{
InputMessageContent -> Location
location :: Location,
InputMessageContent -> I32
livePeriod :: I32
}
|
InputMessageVenue
{
InputMessageContent -> Venue
venue :: Venue
}
|
InputMessageContact
{
InputMessageContent -> Contact
contact :: Contact
}
|
InputMessageDice
{
InputMessageContent -> T
emoji :: T,
clearDraft :: Bool
}
|
InputMessageGame
{
InputMessageContent -> I32
botUserId :: I32,
InputMessageContent -> T
gameShortName :: T
}
|
InputMessageInvoice
{
InputMessageContent -> Invoice
invoice :: Invoice,
title :: T,
InputMessageContent -> T
description :: T,
InputMessageContent -> T
photoUrl :: T,
InputMessageContent -> I32
photoSize :: I32,
InputMessageContent -> I32
photoWidth :: I32,
InputMessageContent -> I32
photoHeight :: I32,
InputMessageContent -> ByteString64
payload :: ByteString64,
InputMessageContent -> T
providerToken :: T,
InputMessageContent -> T
providerData :: T,
InputMessageContent -> T
startParameter :: T
}
|
InputMessagePoll
{
InputMessageContent -> T
question :: T,
InputMessageContent -> [T]
options :: [T],
InputMessageContent -> Bool
isAnonymous :: Bool,
InputMessageContent -> PollType
type_ :: PollType,
InputMessageContent -> I32
openPeriod :: I32,
InputMessageContent -> I32
closeDate :: I32,
InputMessageContent -> Bool
isClosed :: Bool
}
|
InputMessageForwarded
{
InputMessageContent -> I32
fromChatId :: I53,
InputMessageContent -> I32
messageId :: I53,
InputMessageContent -> Bool
inGameShare :: Bool,
InputMessageContent -> Bool
sendCopy :: Bool,
InputMessageContent -> Bool
removeCaption :: Bool
}
deriving (I32 -> InputMessageContent -> ShowS
[InputMessageContent] -> ShowS
InputMessageContent -> String
(I32 -> InputMessageContent -> ShowS)
-> (InputMessageContent -> String)
-> ([InputMessageContent] -> ShowS)
-> Show InputMessageContent
forall a.
(I32 -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [InputMessageContent] -> ShowS
$cshowList :: [InputMessageContent] -> ShowS
show :: InputMessageContent -> String
$cshow :: InputMessageContent -> String
showsPrec :: I32 -> InputMessageContent -> ShowS
$cshowsPrec :: I32 -> InputMessageContent -> ShowS
Show, InputMessageContent -> InputMessageContent -> Bool
(InputMessageContent -> InputMessageContent -> Bool)
-> (InputMessageContent -> InputMessageContent -> Bool)
-> Eq InputMessageContent
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: InputMessageContent -> InputMessageContent -> Bool
$c/= :: InputMessageContent -> InputMessageContent -> Bool
== :: InputMessageContent -> InputMessageContent -> Bool
$c== :: InputMessageContent -> InputMessageContent -> Bool
Eq, (forall x. InputMessageContent -> Rep InputMessageContent x)
-> (forall x. Rep InputMessageContent x -> InputMessageContent)
-> Generic InputMessageContent
forall x. Rep InputMessageContent x -> InputMessageContent
forall x. InputMessageContent -> Rep InputMessageContent x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x. Rep InputMessageContent x -> InputMessageContent
$cfrom :: forall x. InputMessageContent -> Rep InputMessageContent x
Generic)
data SearchMessagesFilter
=
SearchMessagesFilterEmpty
{
}
|
SearchMessagesFilterAnimation
{
}
|
SearchMessagesFilterAudio
{
}
|
SearchMessagesFilterDocument
{
}
|
SearchMessagesFilterPhoto
{
}
|
SearchMessagesFilterVideo
{
}
|
SearchMessagesFilterVoiceNote
{
}
|
SearchMessagesFilterPhotoAndVideo
{
}
|
SearchMessagesFilterUrl
{
}
|
SearchMessagesFilterChatPhoto
{
}
|
SearchMessagesFilterCall
{
}
|
SearchMessagesFilterMissedCall
{
}
|
SearchMessagesFilterVideoNote
{
}
|
SearchMessagesFilterVoiceAndVideoNote
{
}
|
SearchMessagesFilterMention
{
}
|
SearchMessagesFilterUnreadMention
{
}
|
SearchMessagesFilterFailedToSend
{
}
deriving (I32 -> SearchMessagesFilter -> ShowS
[SearchMessagesFilter] -> ShowS
SearchMessagesFilter -> String
(I32 -> SearchMessagesFilter -> ShowS)
-> (SearchMessagesFilter -> String)
-> ([SearchMessagesFilter] -> ShowS)
-> Show SearchMessagesFilter
forall a.
(I32 -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [SearchMessagesFilter] -> ShowS
$cshowList :: [SearchMessagesFilter] -> ShowS
show :: SearchMessagesFilter -> String
$cshow :: SearchMessagesFilter -> String
showsPrec :: I32 -> SearchMessagesFilter -> ShowS
$cshowsPrec :: I32 -> SearchMessagesFilter -> ShowS
Show, SearchMessagesFilter -> SearchMessagesFilter -> Bool
(SearchMessagesFilter -> SearchMessagesFilter -> Bool)
-> (SearchMessagesFilter -> SearchMessagesFilter -> Bool)
-> Eq SearchMessagesFilter
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: SearchMessagesFilter -> SearchMessagesFilter -> Bool
$c/= :: SearchMessagesFilter -> SearchMessagesFilter -> Bool
== :: SearchMessagesFilter -> SearchMessagesFilter -> Bool
$c== :: SearchMessagesFilter -> SearchMessagesFilter -> Bool
Eq, (forall x. SearchMessagesFilter -> Rep SearchMessagesFilter x)
-> (forall x. Rep SearchMessagesFilter x -> SearchMessagesFilter)
-> Generic SearchMessagesFilter
forall x. Rep SearchMessagesFilter x -> SearchMessagesFilter
forall x. SearchMessagesFilter -> Rep SearchMessagesFilter x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x. Rep SearchMessagesFilter x -> SearchMessagesFilter
$cfrom :: forall x. SearchMessagesFilter -> Rep SearchMessagesFilter x
Generic)
data ChatAction
=
ChatActionTyping
{
}
|
ChatActionRecordingVideo
{
}
|
ChatActionUploadingVideo
{
ChatAction -> I32
progress :: I32
}
|
ChatActionRecordingVoiceNote
{
}
|
ChatActionUploadingVoiceNote
{
progress :: I32
}
|
ChatActionUploadingPhoto
{
progress :: I32
}
|
ChatActionUploadingDocument
{
progress :: I32
}
|
ChatActionChoosingLocation
{
}
|
ChatActionChoosingContact
{
}
|
ChatActionStartPlayingGame
{
}
|
ChatActionRecordingVideoNote
{
}
|
ChatActionUploadingVideoNote
{
progress :: I32
}
|
ChatActionCancel
{
}
deriving (I32 -> ChatAction -> ShowS
[ChatAction] -> ShowS
ChatAction -> String
(I32 -> ChatAction -> ShowS)
-> (ChatAction -> String)
-> ([ChatAction] -> ShowS)
-> Show ChatAction
forall a.
(I32 -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [ChatAction] -> ShowS
$cshowList :: [ChatAction] -> ShowS
show :: ChatAction -> String
$cshow :: ChatAction -> String
showsPrec :: I32 -> ChatAction -> ShowS
$cshowsPrec :: I32 -> ChatAction -> ShowS
Show, ChatAction -> ChatAction -> Bool
(ChatAction -> ChatAction -> Bool)
-> (ChatAction -> ChatAction -> Bool) -> Eq ChatAction
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: ChatAction -> ChatAction -> Bool
$c/= :: ChatAction -> ChatAction -> Bool
== :: ChatAction -> ChatAction -> Bool
$c== :: ChatAction -> ChatAction -> Bool
Eq, (forall x. ChatAction -> Rep ChatAction x)
-> (forall x. Rep ChatAction x -> ChatAction) -> Generic ChatAction
forall x. Rep ChatAction x -> ChatAction
forall x. ChatAction -> Rep ChatAction x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x. Rep ChatAction x -> ChatAction
$cfrom :: forall x. ChatAction -> Rep ChatAction x
Generic)
data UserStatus
=
UserStatusEmpty
{
}
|
UserStatusOnline
{
UserStatus -> I32
expires :: I32
}
|
UserStatusOffline
{
UserStatus -> I32
wasOnline :: I32
}
|
UserStatusRecently
{
}
|
UserStatusLastWeek
{
}
|
UserStatusLastMonth
{
}
deriving (I32 -> UserStatus -> ShowS
[UserStatus] -> ShowS
UserStatus -> String
(I32 -> UserStatus -> ShowS)
-> (UserStatus -> String)
-> ([UserStatus] -> ShowS)
-> Show UserStatus
forall a.
(I32 -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [UserStatus] -> ShowS
$cshowList :: [UserStatus] -> ShowS
show :: UserStatus -> String
$cshow :: UserStatus -> String
showsPrec :: I32 -> UserStatus -> ShowS
$cshowsPrec :: I32 -> UserStatus -> ShowS
Show, UserStatus -> UserStatus -> Bool
(UserStatus -> UserStatus -> Bool)
-> (UserStatus -> UserStatus -> Bool) -> Eq UserStatus
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: UserStatus -> UserStatus -> Bool
$c/= :: UserStatus -> UserStatus -> Bool
== :: UserStatus -> UserStatus -> Bool
$c== :: UserStatus -> UserStatus -> Bool
Eq, (forall x. UserStatus -> Rep UserStatus x)
-> (forall x. Rep UserStatus x -> UserStatus) -> Generic UserStatus
forall x. Rep UserStatus x -> UserStatus
forall x. UserStatus -> Rep UserStatus x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x. Rep UserStatus x -> UserStatus
$cfrom :: forall x. UserStatus -> Rep UserStatus x
Generic)
data Stickers
=
Stickers
{
Stickers -> [Sticker]
stickers :: [Sticker]
}
deriving (I32 -> Stickers -> ShowS
[Stickers] -> ShowS
Stickers -> String
(I32 -> Stickers -> ShowS)
-> (Stickers -> String) -> ([Stickers] -> ShowS) -> Show Stickers
forall a.
(I32 -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [Stickers] -> ShowS
$cshowList :: [Stickers] -> ShowS
show :: Stickers -> String
$cshow :: Stickers -> String
showsPrec :: I32 -> Stickers -> ShowS
$cshowsPrec :: I32 -> Stickers -> ShowS
Show, Stickers -> Stickers -> Bool
(Stickers -> Stickers -> Bool)
-> (Stickers -> Stickers -> Bool) -> Eq Stickers
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: Stickers -> Stickers -> Bool
$c/= :: Stickers -> Stickers -> Bool
== :: Stickers -> Stickers -> Bool
$c== :: Stickers -> Stickers -> Bool
Eq, (forall x. Stickers -> Rep Stickers x)
-> (forall x. Rep Stickers x -> Stickers) -> Generic Stickers
forall x. Rep Stickers x -> Stickers
forall x. Stickers -> Rep Stickers x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x. Rep Stickers x -> Stickers
$cfrom :: forall x. Stickers -> Rep Stickers x
Generic)
data Emojis
=
Emojis
{
Emojis -> [T]
emojis :: [T]
}
deriving (I32 -> Emojis -> ShowS
[Emojis] -> ShowS
Emojis -> String
(I32 -> Emojis -> ShowS)
-> (Emojis -> String) -> ([Emojis] -> ShowS) -> Show Emojis
forall a.
(I32 -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [Emojis] -> ShowS
$cshowList :: [Emojis] -> ShowS
show :: Emojis -> String
$cshow :: Emojis -> String
showsPrec :: I32 -> Emojis -> ShowS
$cshowsPrec :: I32 -> Emojis -> ShowS
Show, Emojis -> Emojis -> Bool
(Emojis -> Emojis -> Bool)
-> (Emojis -> Emojis -> Bool) -> Eq Emojis
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: Emojis -> Emojis -> Bool
$c/= :: Emojis -> Emojis -> Bool
== :: Emojis -> Emojis -> Bool
$c== :: Emojis -> Emojis -> Bool
Eq, (forall x. Emojis -> Rep Emojis x)
-> (forall x. Rep Emojis x -> Emojis) -> Generic Emojis
forall x. Rep Emojis x -> Emojis
forall x. Emojis -> Rep Emojis x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x. Rep Emojis x -> Emojis
$cfrom :: forall x. Emojis -> Rep Emojis x
Generic)
data StickerSet
=
StickerSet
{
StickerSet -> I64
id :: I64,
StickerSet -> T
title :: T,
StickerSet -> T
name :: T,
StickerSet -> Maybe Thumbnail
thumbnail :: (Maybe) (Thumbnail),
StickerSet -> Bool
isInstalled :: Bool,
StickerSet -> Bool
isArchived :: Bool,
StickerSet -> Bool
isOfficial :: Bool,
StickerSet -> Bool
isAnimated :: Bool,
StickerSet -> Bool
isMasks :: Bool,
StickerSet -> Bool
isViewed :: Bool,
StickerSet -> [Sticker]
stickers :: [Sticker],
StickerSet -> [Emojis]
emojis :: [Emojis]
}
deriving (I32 -> StickerSet -> ShowS
[StickerSet] -> ShowS
StickerSet -> String
(I32 -> StickerSet -> ShowS)
-> (StickerSet -> String)
-> ([StickerSet] -> ShowS)
-> Show StickerSet
forall a.
(I32 -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [StickerSet] -> ShowS
$cshowList :: [StickerSet] -> ShowS
show :: StickerSet -> String
$cshow :: StickerSet -> String
showsPrec :: I32 -> StickerSet -> ShowS
$cshowsPrec :: I32 -> StickerSet -> ShowS
Show, StickerSet -> StickerSet -> Bool
(StickerSet -> StickerSet -> Bool)
-> (StickerSet -> StickerSet -> Bool) -> Eq StickerSet
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: StickerSet -> StickerSet -> Bool
$c/= :: StickerSet -> StickerSet -> Bool
== :: StickerSet -> StickerSet -> Bool
$c== :: StickerSet -> StickerSet -> Bool
Eq, (forall x. StickerSet -> Rep StickerSet x)
-> (forall x. Rep StickerSet x -> StickerSet) -> Generic StickerSet
forall x. Rep StickerSet x -> StickerSet
forall x. StickerSet -> Rep StickerSet x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x. Rep StickerSet x -> StickerSet
$cfrom :: forall x. StickerSet -> Rep StickerSet x
Generic)
data StickerSetInfo
=
StickerSetInfo
{
StickerSetInfo -> I64
id :: I64,
StickerSetInfo -> T
title :: T,
StickerSetInfo -> T
name :: T,
StickerSetInfo -> Maybe Thumbnail
thumbnail :: (Maybe) (Thumbnail),
StickerSetInfo -> Bool
isInstalled :: Bool,
StickerSetInfo -> Bool
isArchived :: Bool,
StickerSetInfo -> Bool
isOfficial :: Bool,
StickerSetInfo -> Bool
isAnimated :: Bool,
StickerSetInfo -> Bool
isMasks :: Bool,
StickerSetInfo -> Bool
isViewed :: Bool,
StickerSetInfo -> I32
size :: I32,
StickerSetInfo -> [Sticker]
covers :: [Sticker]
}
deriving (I32 -> StickerSetInfo -> ShowS
[StickerSetInfo] -> ShowS
StickerSetInfo -> String
(I32 -> StickerSetInfo -> ShowS)
-> (StickerSetInfo -> String)
-> ([StickerSetInfo] -> ShowS)
-> Show StickerSetInfo
forall a.
(I32 -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [StickerSetInfo] -> ShowS
$cshowList :: [StickerSetInfo] -> ShowS
show :: StickerSetInfo -> String
$cshow :: StickerSetInfo -> String
showsPrec :: I32 -> StickerSetInfo -> ShowS
$cshowsPrec :: I32 -> StickerSetInfo -> ShowS
Show, StickerSetInfo -> StickerSetInfo -> Bool
(StickerSetInfo -> StickerSetInfo -> Bool)
-> (StickerSetInfo -> StickerSetInfo -> Bool) -> Eq StickerSetInfo
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: StickerSetInfo -> StickerSetInfo -> Bool
$c/= :: StickerSetInfo -> StickerSetInfo -> Bool
== :: StickerSetInfo -> StickerSetInfo -> Bool
$c== :: StickerSetInfo -> StickerSetInfo -> Bool
Eq, (forall x. StickerSetInfo -> Rep StickerSetInfo x)
-> (forall x. Rep StickerSetInfo x -> StickerSetInfo)
-> Generic StickerSetInfo
forall x. Rep StickerSetInfo x -> StickerSetInfo
forall x. StickerSetInfo -> Rep StickerSetInfo x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x. Rep StickerSetInfo x -> StickerSetInfo
$cfrom :: forall x. StickerSetInfo -> Rep StickerSetInfo x
Generic)
data StickerSets
=
StickerSets
{
StickerSets -> I32
totalCount :: I32,
StickerSets -> [StickerSetInfo]
sets :: [StickerSetInfo]
}
deriving (I32 -> StickerSets -> ShowS
[StickerSets] -> ShowS
StickerSets -> String
(I32 -> StickerSets -> ShowS)
-> (StickerSets -> String)
-> ([StickerSets] -> ShowS)
-> Show StickerSets
forall a.
(I32 -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [StickerSets] -> ShowS
$cshowList :: [StickerSets] -> ShowS
show :: StickerSets -> String
$cshow :: StickerSets -> String
showsPrec :: I32 -> StickerSets -> ShowS
$cshowsPrec :: I32 -> StickerSets -> ShowS
Show, StickerSets -> StickerSets -> Bool
(StickerSets -> StickerSets -> Bool)
-> (StickerSets -> StickerSets -> Bool) -> Eq StickerSets
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: StickerSets -> StickerSets -> Bool
$c/= :: StickerSets -> StickerSets -> Bool
== :: StickerSets -> StickerSets -> Bool
$c== :: StickerSets -> StickerSets -> Bool
Eq, (forall x. StickerSets -> Rep StickerSets x)
-> (forall x. Rep StickerSets x -> StickerSets)
-> Generic StickerSets
forall x. Rep StickerSets x -> StickerSets
forall x. StickerSets -> Rep StickerSets x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x. Rep StickerSets x -> StickerSets
$cfrom :: forall x. StickerSets -> Rep StickerSets x
Generic)
data CallDiscardReason
=
CallDiscardReasonEmpty
{
}
|
CallDiscardReasonMissed
{
}
|
CallDiscardReasonDeclined
{
}
|
CallDiscardReasonDisconnected
{
}
|
CallDiscardReasonHungUp
{
}
deriving (I32 -> CallDiscardReason -> ShowS
[CallDiscardReason] -> ShowS
CallDiscardReason -> String
(I32 -> CallDiscardReason -> ShowS)
-> (CallDiscardReason -> String)
-> ([CallDiscardReason] -> ShowS)
-> Show CallDiscardReason
forall a.
(I32 -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [CallDiscardReason] -> ShowS
$cshowList :: [CallDiscardReason] -> ShowS
show :: CallDiscardReason -> String
$cshow :: CallDiscardReason -> String
showsPrec :: I32 -> CallDiscardReason -> ShowS
$cshowsPrec :: I32 -> CallDiscardReason -> ShowS
Show, CallDiscardReason -> CallDiscardReason -> Bool
(CallDiscardReason -> CallDiscardReason -> Bool)
-> (CallDiscardReason -> CallDiscardReason -> Bool)
-> Eq CallDiscardReason
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: CallDiscardReason -> CallDiscardReason -> Bool
$c/= :: CallDiscardReason -> CallDiscardReason -> Bool
== :: CallDiscardReason -> CallDiscardReason -> Bool
$c== :: CallDiscardReason -> CallDiscardReason -> Bool
Eq, (forall x. CallDiscardReason -> Rep CallDiscardReason x)
-> (forall x. Rep CallDiscardReason x -> CallDiscardReason)
-> Generic CallDiscardReason
forall x. Rep CallDiscardReason x -> CallDiscardReason
forall x. CallDiscardReason -> Rep CallDiscardReason x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x. Rep CallDiscardReason x -> CallDiscardReason
$cfrom :: forall x. CallDiscardReason -> Rep CallDiscardReason x
Generic)
data CallProtocol
=
CallProtocol
{
CallProtocol -> Bool
udpP2p :: Bool,
CallProtocol -> Bool
udpReflector :: Bool,
CallProtocol -> I32
minLayer :: I32,
CallProtocol -> I32
maxLayer :: I32,
CallProtocol -> [T]
libraryVersions :: [T]
}
deriving (I32 -> CallProtocol -> ShowS
[CallProtocol] -> ShowS
CallProtocol -> String
(I32 -> CallProtocol -> ShowS)
-> (CallProtocol -> String)
-> ([CallProtocol] -> ShowS)
-> Show CallProtocol
forall a.
(I32 -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [CallProtocol] -> ShowS
$cshowList :: [CallProtocol] -> ShowS
show :: CallProtocol -> String
$cshow :: CallProtocol -> String
showsPrec :: I32 -> CallProtocol -> ShowS
$cshowsPrec :: I32 -> CallProtocol -> ShowS
Show, CallProtocol -> CallProtocol -> Bool
(CallProtocol -> CallProtocol -> Bool)
-> (CallProtocol -> CallProtocol -> Bool) -> Eq CallProtocol
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: CallProtocol -> CallProtocol -> Bool
$c/= :: CallProtocol -> CallProtocol -> Bool
== :: CallProtocol -> CallProtocol -> Bool
$c== :: CallProtocol -> CallProtocol -> Bool
Eq, (forall x. CallProtocol -> Rep CallProtocol x)
-> (forall x. Rep CallProtocol x -> CallProtocol)
-> Generic CallProtocol
forall x. Rep CallProtocol x -> CallProtocol
forall x. CallProtocol -> Rep CallProtocol x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x. Rep CallProtocol x -> CallProtocol
$cfrom :: forall x. CallProtocol -> Rep CallProtocol x
Generic)
data CallConnection
=
CallConnection
{
CallConnection -> I64
id :: I64,
CallConnection -> T
ip :: T,
CallConnection -> T
ipv6 :: T,
CallConnection -> I32
port :: I32,
CallConnection -> ByteString64
peerTag :: ByteString64
}
deriving (I32 -> CallConnection -> ShowS
[CallConnection] -> ShowS
CallConnection -> String
(I32 -> CallConnection -> ShowS)
-> (CallConnection -> String)
-> ([CallConnection] -> ShowS)
-> Show CallConnection
forall a.
(I32 -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [CallConnection] -> ShowS
$cshowList :: [CallConnection] -> ShowS
show :: CallConnection -> String
$cshow :: CallConnection -> String
showsPrec :: I32 -> CallConnection -> ShowS
$cshowsPrec :: I32 -> CallConnection -> ShowS
Show, CallConnection -> CallConnection -> Bool
(CallConnection -> CallConnection -> Bool)
-> (CallConnection -> CallConnection -> Bool) -> Eq CallConnection
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: CallConnection -> CallConnection -> Bool
$c/= :: CallConnection -> CallConnection -> Bool
== :: CallConnection -> CallConnection -> Bool
$c== :: CallConnection -> CallConnection -> Bool
Eq, (forall x. CallConnection -> Rep CallConnection x)
-> (forall x. Rep CallConnection x -> CallConnection)
-> Generic CallConnection
forall x. Rep CallConnection x -> CallConnection
forall x. CallConnection -> Rep CallConnection x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x. Rep CallConnection x -> CallConnection
$cfrom :: forall x. CallConnection -> Rep CallConnection x
Generic)
data CallId
=
CallId
{
CallId -> I32
id :: I32
}
deriving (I32 -> CallId -> ShowS
[CallId] -> ShowS
CallId -> String
(I32 -> CallId -> ShowS)
-> (CallId -> String) -> ([CallId] -> ShowS) -> Show CallId
forall a.
(I32 -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [CallId] -> ShowS
$cshowList :: [CallId] -> ShowS
show :: CallId -> String
$cshow :: CallId -> String
showsPrec :: I32 -> CallId -> ShowS
$cshowsPrec :: I32 -> CallId -> ShowS
Show, CallId -> CallId -> Bool
(CallId -> CallId -> Bool)
-> (CallId -> CallId -> Bool) -> Eq CallId
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: CallId -> CallId -> Bool
$c/= :: CallId -> CallId -> Bool
== :: CallId -> CallId -> Bool
$c== :: CallId -> CallId -> Bool
Eq, (forall x. CallId -> Rep CallId x)
-> (forall x. Rep CallId x -> CallId) -> Generic CallId
forall x. Rep CallId x -> CallId
forall x. CallId -> Rep CallId x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x. Rep CallId x -> CallId
$cfrom :: forall x. CallId -> Rep CallId x
Generic)
data CallState
=
CallStatePending
{
CallState -> Bool
isCreated :: Bool,
CallState -> Bool
isReceived :: Bool
}
|
CallStateExchangingKeys
{
}
|
CallStateReady
{
CallState -> CallProtocol
protocol :: CallProtocol,
CallState -> [CallConnection]
connections :: [CallConnection],
CallState -> T
config :: T,
CallState -> ByteString64
encryptionKey :: ByteString64,
CallState -> [T]
emojis :: [T],
CallState -> Bool
allowP2p :: Bool
}
|
CallStateHangingUp
{
}
|
CallStateDiscarded
{
CallState -> CallDiscardReason
reason :: CallDiscardReason,
CallState -> Bool
needRating :: Bool,
CallState -> Bool
needDebugInformation :: Bool
}
|
CallStateError
{
CallState -> Error
error :: Error
}
deriving (I32 -> CallState -> ShowS
[CallState] -> ShowS
CallState -> String
(I32 -> CallState -> ShowS)
-> (CallState -> String)
-> ([CallState] -> ShowS)
-> Show CallState
forall a.
(I32 -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [CallState] -> ShowS
$cshowList :: [CallState] -> ShowS
show :: CallState -> String
$cshow :: CallState -> String
showsPrec :: I32 -> CallState -> ShowS
$cshowsPrec :: I32 -> CallState -> ShowS
Show, CallState -> CallState -> Bool
(CallState -> CallState -> Bool)
-> (CallState -> CallState -> Bool) -> Eq CallState
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: CallState -> CallState -> Bool
$c/= :: CallState -> CallState -> Bool
== :: CallState -> CallState -> Bool
$c== :: CallState -> CallState -> Bool
Eq, (forall x. CallState -> Rep CallState x)
-> (forall x. Rep CallState x -> CallState) -> Generic CallState
forall x. Rep CallState x -> CallState
forall x. CallState -> Rep CallState x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x. Rep CallState x -> CallState
$cfrom :: forall x. CallState -> Rep CallState x
Generic)
data CallProblem
=
CallProblemEcho
{
}
|
CallProblemNoise
{
}
|
CallProblemInterruptions
{
}
|
CallProblemDistortedSpeech
{
}
|
CallProblemSilentLocal
{
}
|
CallProblemSilentRemote
{
}
|
CallProblemDropped
{
}
deriving (I32 -> CallProblem -> ShowS
[CallProblem] -> ShowS
CallProblem -> String
(I32 -> CallProblem -> ShowS)
-> (CallProblem -> String)
-> ([CallProblem] -> ShowS)
-> Show CallProblem
forall a.
(I32 -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [CallProblem] -> ShowS
$cshowList :: [CallProblem] -> ShowS
show :: CallProblem -> String
$cshow :: CallProblem -> String
showsPrec :: I32 -> CallProblem -> ShowS
$cshowsPrec :: I32 -> CallProblem -> ShowS
Show, CallProblem -> CallProblem -> Bool
(CallProblem -> CallProblem -> Bool)
-> (CallProblem -> CallProblem -> Bool) -> Eq CallProblem
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: CallProblem -> CallProblem -> Bool
$c/= :: CallProblem -> CallProblem -> Bool
== :: CallProblem -> CallProblem -> Bool
$c== :: CallProblem -> CallProblem -> Bool
Eq, (forall x. CallProblem -> Rep CallProblem x)
-> (forall x. Rep CallProblem x -> CallProblem)
-> Generic CallProblem
forall x. Rep CallProblem x -> CallProblem
forall x. CallProblem -> Rep CallProblem x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x. Rep CallProblem x -> CallProblem
$cfrom :: forall x. CallProblem -> Rep CallProblem x
Generic)
data Call
=
Call
{
Call -> I32
id :: I32,
Call -> I32
userId :: I32,
Call -> Bool
isOutgoing :: Bool,
Call -> CallState
state :: CallState
}
deriving (I32 -> Call -> ShowS
[Call] -> ShowS
Call -> String
(I32 -> Call -> ShowS)
-> (Call -> String) -> ([Call] -> ShowS) -> Show Call
forall a.
(I32 -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [Call] -> ShowS
$cshowList :: [Call] -> ShowS
show :: Call -> String
$cshow :: Call -> String
showsPrec :: I32 -> Call -> ShowS
$cshowsPrec :: I32 -> Call -> ShowS
Show, Call -> Call -> Bool
(Call -> Call -> Bool) -> (Call -> Call -> Bool) -> Eq Call
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: Call -> Call -> Bool
$c/= :: Call -> Call -> Bool
== :: Call -> Call -> Bool
$c== :: Call -> Call -> Bool
Eq, (forall x. Call -> Rep Call x)
-> (forall x. Rep Call x -> Call) -> Generic Call
forall x. Rep Call x -> Call
forall x. Call -> Rep Call x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x. Rep Call x -> Call
$cfrom :: forall x. Call -> Rep Call x
Generic)
data PhoneNumberAuthenticationSettings
=
PhoneNumberAuthenticationSettings
{
PhoneNumberAuthenticationSettings -> Bool
allowFlashCall :: Bool,
PhoneNumberAuthenticationSettings -> Bool
isCurrentPhoneNumber :: Bool,
PhoneNumberAuthenticationSettings -> Bool
allowSmsRetrieverApi :: Bool
}
deriving (I32 -> PhoneNumberAuthenticationSettings -> ShowS
[PhoneNumberAuthenticationSettings] -> ShowS
PhoneNumberAuthenticationSettings -> String
(I32 -> PhoneNumberAuthenticationSettings -> ShowS)
-> (PhoneNumberAuthenticationSettings -> String)
-> ([PhoneNumberAuthenticationSettings] -> ShowS)
-> Show PhoneNumberAuthenticationSettings
forall a.
(I32 -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [PhoneNumberAuthenticationSettings] -> ShowS
$cshowList :: [PhoneNumberAuthenticationSettings] -> ShowS
show :: PhoneNumberAuthenticationSettings -> String
$cshow :: PhoneNumberAuthenticationSettings -> String
showsPrec :: I32 -> PhoneNumberAuthenticationSettings -> ShowS
$cshowsPrec :: I32 -> PhoneNumberAuthenticationSettings -> ShowS
Show, PhoneNumberAuthenticationSettings
-> PhoneNumberAuthenticationSettings -> Bool
(PhoneNumberAuthenticationSettings
-> PhoneNumberAuthenticationSettings -> Bool)
-> (PhoneNumberAuthenticationSettings
-> PhoneNumberAuthenticationSettings -> Bool)
-> Eq PhoneNumberAuthenticationSettings
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: PhoneNumberAuthenticationSettings
-> PhoneNumberAuthenticationSettings -> Bool
$c/= :: PhoneNumberAuthenticationSettings
-> PhoneNumberAuthenticationSettings -> Bool
== :: PhoneNumberAuthenticationSettings
-> PhoneNumberAuthenticationSettings -> Bool
$c== :: PhoneNumberAuthenticationSettings
-> PhoneNumberAuthenticationSettings -> Bool
Eq, (forall x.
PhoneNumberAuthenticationSettings
-> Rep PhoneNumberAuthenticationSettings x)
-> (forall x.
Rep PhoneNumberAuthenticationSettings x
-> PhoneNumberAuthenticationSettings)
-> Generic PhoneNumberAuthenticationSettings
forall x.
Rep PhoneNumberAuthenticationSettings x
-> PhoneNumberAuthenticationSettings
forall x.
PhoneNumberAuthenticationSettings
-> Rep PhoneNumberAuthenticationSettings x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x.
Rep PhoneNumberAuthenticationSettings x
-> PhoneNumberAuthenticationSettings
$cfrom :: forall x.
PhoneNumberAuthenticationSettings
-> Rep PhoneNumberAuthenticationSettings x
Generic)
data Animations
=
Animations
{
Animations -> [Animation]
animations :: [Animation]
}
deriving (I32 -> Animations -> ShowS
[Animations] -> ShowS
Animations -> String
(I32 -> Animations -> ShowS)
-> (Animations -> String)
-> ([Animations] -> ShowS)
-> Show Animations
forall a.
(I32 -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [Animations] -> ShowS
$cshowList :: [Animations] -> ShowS
show :: Animations -> String
$cshow :: Animations -> String
showsPrec :: I32 -> Animations -> ShowS
$cshowsPrec :: I32 -> Animations -> ShowS
Show, Animations -> Animations -> Bool
(Animations -> Animations -> Bool)
-> (Animations -> Animations -> Bool) -> Eq Animations
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: Animations -> Animations -> Bool
$c/= :: Animations -> Animations -> Bool
== :: Animations -> Animations -> Bool
$c== :: Animations -> Animations -> Bool
Eq, (forall x. Animations -> Rep Animations x)
-> (forall x. Rep Animations x -> Animations) -> Generic Animations
forall x. Rep Animations x -> Animations
forall x. Animations -> Rep Animations x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x. Rep Animations x -> Animations
$cfrom :: forall x. Animations -> Rep Animations x
Generic)
data ImportedContacts
=
ImportedContacts
{
ImportedContacts -> [I32]
userIds :: [I32],
ImportedContacts -> [I32]
importerCount :: [I32]
}
deriving (I32 -> ImportedContacts -> ShowS
[ImportedContacts] -> ShowS
ImportedContacts -> String
(I32 -> ImportedContacts -> ShowS)
-> (ImportedContacts -> String)
-> ([ImportedContacts] -> ShowS)
-> Show ImportedContacts
forall a.
(I32 -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [ImportedContacts] -> ShowS
$cshowList :: [ImportedContacts] -> ShowS
show :: ImportedContacts -> String
$cshow :: ImportedContacts -> String
showsPrec :: I32 -> ImportedContacts -> ShowS
$cshowsPrec :: I32 -> ImportedContacts -> ShowS
Show, ImportedContacts -> ImportedContacts -> Bool
(ImportedContacts -> ImportedContacts -> Bool)
-> (ImportedContacts -> ImportedContacts -> Bool)
-> Eq ImportedContacts
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: ImportedContacts -> ImportedContacts -> Bool
$c/= :: ImportedContacts -> ImportedContacts -> Bool
== :: ImportedContacts -> ImportedContacts -> Bool
$c== :: ImportedContacts -> ImportedContacts -> Bool
Eq, (forall x. ImportedContacts -> Rep ImportedContacts x)
-> (forall x. Rep ImportedContacts x -> ImportedContacts)
-> Generic ImportedContacts
forall x. Rep ImportedContacts x -> ImportedContacts
forall x. ImportedContacts -> Rep ImportedContacts x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x. Rep ImportedContacts x -> ImportedContacts
$cfrom :: forall x. ImportedContacts -> Rep ImportedContacts x
Generic)
data HttpUrl
=
HttpUrl
{
HttpUrl -> T
url :: T
}
deriving (I32 -> HttpUrl -> ShowS
[HttpUrl] -> ShowS
HttpUrl -> String
(I32 -> HttpUrl -> ShowS)
-> (HttpUrl -> String) -> ([HttpUrl] -> ShowS) -> Show HttpUrl
forall a.
(I32 -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [HttpUrl] -> ShowS
$cshowList :: [HttpUrl] -> ShowS
show :: HttpUrl -> String
$cshow :: HttpUrl -> String
showsPrec :: I32 -> HttpUrl -> ShowS
$cshowsPrec :: I32 -> HttpUrl -> ShowS
Show, HttpUrl -> HttpUrl -> Bool
(HttpUrl -> HttpUrl -> Bool)
-> (HttpUrl -> HttpUrl -> Bool) -> Eq HttpUrl
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: HttpUrl -> HttpUrl -> Bool
$c/= :: HttpUrl -> HttpUrl -> Bool
== :: HttpUrl -> HttpUrl -> Bool
$c== :: HttpUrl -> HttpUrl -> Bool
Eq, (forall x. HttpUrl -> Rep HttpUrl x)
-> (forall x. Rep HttpUrl x -> HttpUrl) -> Generic HttpUrl
forall x. Rep HttpUrl x -> HttpUrl
forall x. HttpUrl -> Rep HttpUrl x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x. Rep HttpUrl x -> HttpUrl
$cfrom :: forall x. HttpUrl -> Rep HttpUrl x
Generic)
data InputInlineQueryResult
=
InputInlineQueryResultAnimation
{
InputInlineQueryResult -> T
id :: T,
InputInlineQueryResult -> T
title :: T,
InputInlineQueryResult -> T
thumbnailUrl :: T,
InputInlineQueryResult -> T
thumbnailMimeType :: T,
InputInlineQueryResult -> T
videoUrl :: T,
InputInlineQueryResult -> T
videoMimeType :: T,
InputInlineQueryResult -> I32
videoDuration :: I32,
InputInlineQueryResult -> I32
videoWidth :: I32,
InputInlineQueryResult -> I32
videoHeight :: I32,
InputInlineQueryResult -> ReplyMarkup
replyMarkup :: ReplyMarkup,
InputInlineQueryResult -> InputMessageContent
inputMessageContent :: InputMessageContent
}
|
InputInlineQueryResultArticle
{
id :: T,
InputInlineQueryResult -> T
url :: T,
InputInlineQueryResult -> Bool
hideUrl :: Bool,
title :: T,
InputInlineQueryResult -> T
description :: T,
thumbnailUrl :: T,
InputInlineQueryResult -> I32
thumbnailWidth :: I32,
InputInlineQueryResult -> I32
thumbnailHeight :: I32,
replyMarkup :: ReplyMarkup,
inputMessageContent :: InputMessageContent
}
|
InputInlineQueryResultAudio
{
id :: T,
title :: T,
InputInlineQueryResult -> T
performer :: T,
InputInlineQueryResult -> T
audioUrl :: T,
InputInlineQueryResult -> I32
audioDuration :: I32,
replyMarkup :: ReplyMarkup,
inputMessageContent :: InputMessageContent
}
|
InputInlineQueryResultContact
{
id :: T,
InputInlineQueryResult -> Contact
contact :: Contact,
thumbnailUrl :: T,
thumbnailWidth :: I32,
thumbnailHeight :: I32,
replyMarkup :: ReplyMarkup,
inputMessageContent :: InputMessageContent
}
|
InputInlineQueryResultDocument
{
id :: T,
title :: T,
description :: T,
InputInlineQueryResult -> T
documentUrl :: T,
InputInlineQueryResult -> T
mimeType :: T,
thumbnailUrl :: T,
thumbnailWidth :: I32,
thumbnailHeight :: I32,
replyMarkup :: ReplyMarkup,
inputMessageContent :: InputMessageContent
}
|
InputInlineQueryResultGame
{
id :: T,
InputInlineQueryResult -> T
gameShortName :: T,
replyMarkup :: ReplyMarkup
}
|
InputInlineQueryResultLocation
{
id :: T,
InputInlineQueryResult -> Location
location :: Location,
InputInlineQueryResult -> I32
livePeriod :: I32,
title :: T,
thumbnailUrl :: T,
thumbnailWidth :: I32,
thumbnailHeight :: I32,
replyMarkup :: ReplyMarkup,
inputMessageContent :: InputMessageContent
}
|
InputInlineQueryResultPhoto
{
id :: T,
title :: T,
description :: T,
thumbnailUrl :: T,
InputInlineQueryResult -> T
photoUrl :: T,
InputInlineQueryResult -> I32
photoWidth :: I32,
InputInlineQueryResult -> I32
photoHeight :: I32,
replyMarkup :: ReplyMarkup,
inputMessageContent :: InputMessageContent
}
|
InputInlineQueryResultSticker
{
id :: T,
thumbnailUrl :: T,
InputInlineQueryResult -> T
stickerUrl :: T,
InputInlineQueryResult -> I32
stickerWidth :: I32,
InputInlineQueryResult -> I32
stickerHeight :: I32,
replyMarkup :: ReplyMarkup,
inputMessageContent :: InputMessageContent
}
|
InputInlineQueryResultVenue
{
id :: T,
InputInlineQueryResult -> Venue
venue :: Venue,
thumbnailUrl :: T,
thumbnailWidth :: I32,
thumbnailHeight :: I32,
replyMarkup :: ReplyMarkup,
inputMessageContent :: InputMessageContent
}
|
InputInlineQueryResultVideo
{
id :: T,
title :: T,
description :: T,
thumbnailUrl :: T,
videoUrl :: T,
mimeType :: T,
videoWidth :: I32,
videoHeight :: I32,
videoDuration :: I32,
replyMarkup :: ReplyMarkup,
inputMessageContent :: InputMessageContent
}
|
InputInlineQueryResultVoiceNote
{
id :: T,
title :: T,
InputInlineQueryResult -> T
voiceNoteUrl :: T,
InputInlineQueryResult -> I32
voiceNoteDuration :: I32,
replyMarkup :: ReplyMarkup,
inputMessageContent :: InputMessageContent
}
deriving (I32 -> InputInlineQueryResult -> ShowS
[InputInlineQueryResult] -> ShowS
InputInlineQueryResult -> String
(I32 -> InputInlineQueryResult -> ShowS)
-> (InputInlineQueryResult -> String)
-> ([InputInlineQueryResult] -> ShowS)
-> Show InputInlineQueryResult
forall a.
(I32 -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [InputInlineQueryResult] -> ShowS
$cshowList :: [InputInlineQueryResult] -> ShowS
show :: InputInlineQueryResult -> String
$cshow :: InputInlineQueryResult -> String
showsPrec :: I32 -> InputInlineQueryResult -> ShowS
$cshowsPrec :: I32 -> InputInlineQueryResult -> ShowS
Show, InputInlineQueryResult -> InputInlineQueryResult -> Bool
(InputInlineQueryResult -> InputInlineQueryResult -> Bool)
-> (InputInlineQueryResult -> InputInlineQueryResult -> Bool)
-> Eq InputInlineQueryResult
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: InputInlineQueryResult -> InputInlineQueryResult -> Bool
$c/= :: InputInlineQueryResult -> InputInlineQueryResult -> Bool
== :: InputInlineQueryResult -> InputInlineQueryResult -> Bool
$c== :: InputInlineQueryResult -> InputInlineQueryResult -> Bool
Eq, (forall x. InputInlineQueryResult -> Rep InputInlineQueryResult x)
-> (forall x.
Rep InputInlineQueryResult x -> InputInlineQueryResult)
-> Generic InputInlineQueryResult
forall x. Rep InputInlineQueryResult x -> InputInlineQueryResult
forall x. InputInlineQueryResult -> Rep InputInlineQueryResult x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x. Rep InputInlineQueryResult x -> InputInlineQueryResult
$cfrom :: forall x. InputInlineQueryResult -> Rep InputInlineQueryResult x
Generic)
data InlineQueryResult
=
InlineQueryResultArticle
{
InlineQueryResult -> T
id :: T,
InlineQueryResult -> T
url :: T,
InlineQueryResult -> Bool
hideUrl :: Bool,
InlineQueryResult -> T
title :: T,
InlineQueryResult -> T
description :: T,
InlineQueryResult -> Maybe Thumbnail
thumbnail :: (Maybe) (Thumbnail)
}
|
InlineQueryResultContact
{
id :: T,
InlineQueryResult -> Contact
contact :: Contact,
thumbnail :: (Maybe) (Thumbnail)
}
|
InlineQueryResultLocation
{
id :: T,
InlineQueryResult -> Location
location :: Location,
title :: T,
thumbnail :: (Maybe) (Thumbnail)
}
|
InlineQueryResultVenue
{
id :: T,
InlineQueryResult -> Venue
venue :: Venue,
thumbnail :: (Maybe) (Thumbnail)
}
|
InlineQueryResultGame
{
id :: T,
InlineQueryResult -> Game
game :: Game
}
|
InlineQueryResultAnimation
{
id :: T,
InlineQueryResult -> Animation
animation :: Animation,
title :: T
}
|
InlineQueryResultAudio
{
id :: T,
InlineQueryResult -> Audio
audio :: Audio
}
|
InlineQueryResultDocument
{
id :: T,
InlineQueryResult -> Document
document :: Document,
title :: T,
description :: T
}
|
InlineQueryResultPhoto
{
id :: T,
InlineQueryResult -> Photo
photo :: Photo,
title :: T,
description :: T
}
|
InlineQueryResultSticker
{
id :: T,
InlineQueryResult -> Sticker
sticker :: Sticker
}
|
InlineQueryResultVideo
{
id :: T,
InlineQueryResult -> Video
video :: Video,
title :: T,
description :: T
}
|
InlineQueryResultVoiceNote
{
id :: T,
InlineQueryResult -> VoiceNote
voiceNote :: VoiceNote,
title :: T
}
deriving (I32 -> InlineQueryResult -> ShowS
[InlineQueryResult] -> ShowS
InlineQueryResult -> String
(I32 -> InlineQueryResult -> ShowS)
-> (InlineQueryResult -> String)
-> ([InlineQueryResult] -> ShowS)
-> Show InlineQueryResult
forall a.
(I32 -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [InlineQueryResult] -> ShowS
$cshowList :: [InlineQueryResult] -> ShowS
show :: InlineQueryResult -> String
$cshow :: InlineQueryResult -> String
showsPrec :: I32 -> InlineQueryResult -> ShowS
$cshowsPrec :: I32 -> InlineQueryResult -> ShowS
Show, InlineQueryResult -> InlineQueryResult -> Bool
(InlineQueryResult -> InlineQueryResult -> Bool)
-> (InlineQueryResult -> InlineQueryResult -> Bool)
-> Eq InlineQueryResult
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: InlineQueryResult -> InlineQueryResult -> Bool
$c/= :: InlineQueryResult -> InlineQueryResult -> Bool
== :: InlineQueryResult -> InlineQueryResult -> Bool
$c== :: InlineQueryResult -> InlineQueryResult -> Bool
Eq, (forall x. InlineQueryResult -> Rep InlineQueryResult x)
-> (forall x. Rep InlineQueryResult x -> InlineQueryResult)
-> Generic InlineQueryResult
forall x. Rep InlineQueryResult x -> InlineQueryResult
forall x. InlineQueryResult -> Rep InlineQueryResult x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x. Rep InlineQueryResult x -> InlineQueryResult
$cfrom :: forall x. InlineQueryResult -> Rep InlineQueryResult x
Generic)
data InlineQueryResults
=
InlineQueryResults
{
InlineQueryResults -> I64
inlineQueryId :: I64,
InlineQueryResults -> T
nextOffset :: T,
InlineQueryResults -> [InlineQueryResult]
results :: [InlineQueryResult],
InlineQueryResults -> T
switchPmText :: T,
InlineQueryResults -> T
switchPmParameter :: T
}
deriving (I32 -> InlineQueryResults -> ShowS
[InlineQueryResults] -> ShowS
InlineQueryResults -> String
(I32 -> InlineQueryResults -> ShowS)
-> (InlineQueryResults -> String)
-> ([InlineQueryResults] -> ShowS)
-> Show InlineQueryResults
forall a.
(I32 -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [InlineQueryResults] -> ShowS
$cshowList :: [InlineQueryResults] -> ShowS
show :: InlineQueryResults -> String
$cshow :: InlineQueryResults -> String
showsPrec :: I32 -> InlineQueryResults -> ShowS
$cshowsPrec :: I32 -> InlineQueryResults -> ShowS
Show, InlineQueryResults -> InlineQueryResults -> Bool
(InlineQueryResults -> InlineQueryResults -> Bool)
-> (InlineQueryResults -> InlineQueryResults -> Bool)
-> Eq InlineQueryResults
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: InlineQueryResults -> InlineQueryResults -> Bool
$c/= :: InlineQueryResults -> InlineQueryResults -> Bool
== :: InlineQueryResults -> InlineQueryResults -> Bool
$c== :: InlineQueryResults -> InlineQueryResults -> Bool
Eq, (forall x. InlineQueryResults -> Rep InlineQueryResults x)
-> (forall x. Rep InlineQueryResults x -> InlineQueryResults)
-> Generic InlineQueryResults
forall x. Rep InlineQueryResults x -> InlineQueryResults
forall x. InlineQueryResults -> Rep InlineQueryResults x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x. Rep InlineQueryResults x -> InlineQueryResults
$cfrom :: forall x. InlineQueryResults -> Rep InlineQueryResults x
Generic)
data CallbackQueryPayload
=
CallbackQueryPayloadData
{
CallbackQueryPayload -> ByteString64
data_ :: ByteString64
}
|
CallbackQueryPayloadGame
{
CallbackQueryPayload -> T
gameShortName :: T
}
deriving (I32 -> CallbackQueryPayload -> ShowS
[CallbackQueryPayload] -> ShowS
CallbackQueryPayload -> String
(I32 -> CallbackQueryPayload -> ShowS)
-> (CallbackQueryPayload -> String)
-> ([CallbackQueryPayload] -> ShowS)
-> Show CallbackQueryPayload
forall a.
(I32 -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [CallbackQueryPayload] -> ShowS
$cshowList :: [CallbackQueryPayload] -> ShowS
show :: CallbackQueryPayload -> String
$cshow :: CallbackQueryPayload -> String
showsPrec :: I32 -> CallbackQueryPayload -> ShowS
$cshowsPrec :: I32 -> CallbackQueryPayload -> ShowS
Show, CallbackQueryPayload -> CallbackQueryPayload -> Bool
(CallbackQueryPayload -> CallbackQueryPayload -> Bool)
-> (CallbackQueryPayload -> CallbackQueryPayload -> Bool)
-> Eq CallbackQueryPayload
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: CallbackQueryPayload -> CallbackQueryPayload -> Bool
$c/= :: CallbackQueryPayload -> CallbackQueryPayload -> Bool
== :: CallbackQueryPayload -> CallbackQueryPayload -> Bool
$c== :: CallbackQueryPayload -> CallbackQueryPayload -> Bool
Eq, (forall x. CallbackQueryPayload -> Rep CallbackQueryPayload x)
-> (forall x. Rep CallbackQueryPayload x -> CallbackQueryPayload)
-> Generic CallbackQueryPayload
forall x. Rep CallbackQueryPayload x -> CallbackQueryPayload
forall x. CallbackQueryPayload -> Rep CallbackQueryPayload x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x. Rep CallbackQueryPayload x -> CallbackQueryPayload
$cfrom :: forall x. CallbackQueryPayload -> Rep CallbackQueryPayload x
Generic)
data CallbackQueryAnswer
=
CallbackQueryAnswer
{
CallbackQueryAnswer -> T
text :: T,
CallbackQueryAnswer -> Bool
showAlert :: Bool,
CallbackQueryAnswer -> T
url :: T
}
deriving (I32 -> CallbackQueryAnswer -> ShowS
[CallbackQueryAnswer] -> ShowS
CallbackQueryAnswer -> String
(I32 -> CallbackQueryAnswer -> ShowS)
-> (CallbackQueryAnswer -> String)
-> ([CallbackQueryAnswer] -> ShowS)
-> Show CallbackQueryAnswer
forall a.
(I32 -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [CallbackQueryAnswer] -> ShowS
$cshowList :: [CallbackQueryAnswer] -> ShowS
show :: CallbackQueryAnswer -> String
$cshow :: CallbackQueryAnswer -> String
showsPrec :: I32 -> CallbackQueryAnswer -> ShowS
$cshowsPrec :: I32 -> CallbackQueryAnswer -> ShowS
Show, CallbackQueryAnswer -> CallbackQueryAnswer -> Bool
(CallbackQueryAnswer -> CallbackQueryAnswer -> Bool)
-> (CallbackQueryAnswer -> CallbackQueryAnswer -> Bool)
-> Eq CallbackQueryAnswer
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: CallbackQueryAnswer -> CallbackQueryAnswer -> Bool
$c/= :: CallbackQueryAnswer -> CallbackQueryAnswer -> Bool
== :: CallbackQueryAnswer -> CallbackQueryAnswer -> Bool
$c== :: CallbackQueryAnswer -> CallbackQueryAnswer -> Bool
Eq, (forall x. CallbackQueryAnswer -> Rep CallbackQueryAnswer x)
-> (forall x. Rep CallbackQueryAnswer x -> CallbackQueryAnswer)
-> Generic CallbackQueryAnswer
forall x. Rep CallbackQueryAnswer x -> CallbackQueryAnswer
forall x. CallbackQueryAnswer -> Rep CallbackQueryAnswer x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x. Rep CallbackQueryAnswer x -> CallbackQueryAnswer
$cfrom :: forall x. CallbackQueryAnswer -> Rep CallbackQueryAnswer x
Generic)
data CustomRequestResult
=
CustomRequestResult
{
CustomRequestResult -> T
result :: T
}
deriving (I32 -> CustomRequestResult -> ShowS
[CustomRequestResult] -> ShowS
CustomRequestResult -> String
(I32 -> CustomRequestResult -> ShowS)
-> (CustomRequestResult -> String)
-> ([CustomRequestResult] -> ShowS)
-> Show CustomRequestResult
forall a.
(I32 -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [CustomRequestResult] -> ShowS
$cshowList :: [CustomRequestResult] -> ShowS
show :: CustomRequestResult -> String
$cshow :: CustomRequestResult -> String
showsPrec :: I32 -> CustomRequestResult -> ShowS
$cshowsPrec :: I32 -> CustomRequestResult -> ShowS
Show, CustomRequestResult -> CustomRequestResult -> Bool
(CustomRequestResult -> CustomRequestResult -> Bool)
-> (CustomRequestResult -> CustomRequestResult -> Bool)
-> Eq CustomRequestResult
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: CustomRequestResult -> CustomRequestResult -> Bool
$c/= :: CustomRequestResult -> CustomRequestResult -> Bool
== :: CustomRequestResult -> CustomRequestResult -> Bool
$c== :: CustomRequestResult -> CustomRequestResult -> Bool
Eq, (forall x. CustomRequestResult -> Rep CustomRequestResult x)
-> (forall x. Rep CustomRequestResult x -> CustomRequestResult)
-> Generic CustomRequestResult
forall x. Rep CustomRequestResult x -> CustomRequestResult
forall x. CustomRequestResult -> Rep CustomRequestResult x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x. Rep CustomRequestResult x -> CustomRequestResult
$cfrom :: forall x. CustomRequestResult -> Rep CustomRequestResult x
Generic)
data GameHighScore
=
GameHighScore
{
GameHighScore -> I32
position :: I32,
GameHighScore -> I32
userId :: I32,
GameHighScore -> I32
score :: I32
}
deriving (I32 -> GameHighScore -> ShowS
[GameHighScore] -> ShowS
GameHighScore -> String
(I32 -> GameHighScore -> ShowS)
-> (GameHighScore -> String)
-> ([GameHighScore] -> ShowS)
-> Show GameHighScore
forall a.
(I32 -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [GameHighScore] -> ShowS
$cshowList :: [GameHighScore] -> ShowS
show :: GameHighScore -> String
$cshow :: GameHighScore -> String
showsPrec :: I32 -> GameHighScore -> ShowS
$cshowsPrec :: I32 -> GameHighScore -> ShowS
Show, GameHighScore -> GameHighScore -> Bool
(GameHighScore -> GameHighScore -> Bool)
-> (GameHighScore -> GameHighScore -> Bool) -> Eq GameHighScore
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: GameHighScore -> GameHighScore -> Bool
$c/= :: GameHighScore -> GameHighScore -> Bool
== :: GameHighScore -> GameHighScore -> Bool
$c== :: GameHighScore -> GameHighScore -> Bool
Eq, (forall x. GameHighScore -> Rep GameHighScore x)
-> (forall x. Rep GameHighScore x -> GameHighScore)
-> Generic GameHighScore
forall x. Rep GameHighScore x -> GameHighScore
forall x. GameHighScore -> Rep GameHighScore x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x. Rep GameHighScore x -> GameHighScore
$cfrom :: forall x. GameHighScore -> Rep GameHighScore x
Generic)
data GameHighScores
=
GameHighScores
{
GameHighScores -> [GameHighScore]
scores :: [GameHighScore]
}
deriving (I32 -> GameHighScores -> ShowS
[GameHighScores] -> ShowS
GameHighScores -> String
(I32 -> GameHighScores -> ShowS)
-> (GameHighScores -> String)
-> ([GameHighScores] -> ShowS)
-> Show GameHighScores
forall a.
(I32 -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [GameHighScores] -> ShowS
$cshowList :: [GameHighScores] -> ShowS
show :: GameHighScores -> String
$cshow :: GameHighScores -> String
showsPrec :: I32 -> GameHighScores -> ShowS
$cshowsPrec :: I32 -> GameHighScores -> ShowS
Show, GameHighScores -> GameHighScores -> Bool
(GameHighScores -> GameHighScores -> Bool)
-> (GameHighScores -> GameHighScores -> Bool) -> Eq GameHighScores
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: GameHighScores -> GameHighScores -> Bool
$c/= :: GameHighScores -> GameHighScores -> Bool
== :: GameHighScores -> GameHighScores -> Bool
$c== :: GameHighScores -> GameHighScores -> Bool
Eq, (forall x. GameHighScores -> Rep GameHighScores x)
-> (forall x. Rep GameHighScores x -> GameHighScores)
-> Generic GameHighScores
forall x. Rep GameHighScores x -> GameHighScores
forall x. GameHighScores -> Rep GameHighScores x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x. Rep GameHighScores x -> GameHighScores
$cfrom :: forall x. GameHighScores -> Rep GameHighScores x
Generic)
data ChatEventAction
=
ChatEventMessageEdited
{
ChatEventAction -> Message
oldMessage :: Message,
ChatEventAction -> Message
newMessage :: Message
}
|
ChatEventMessageDeleted
{
ChatEventAction -> Message
message :: Message
}
|
ChatEventPollStopped
{
message :: Message
}
|
ChatEventMessagePinned
{
message :: Message
}
|
ChatEventMessageUnpinned
{
}
|
ChatEventMemberJoined
{
}
|
ChatEventMemberLeft
{
}
|
ChatEventMemberInvited
{
ChatEventAction -> I32
userId :: I32,
ChatEventAction -> ChatMemberStatus
status :: ChatMemberStatus
}
|
ChatEventMemberPromoted
{
userId :: I32,
ChatEventAction -> ChatMemberStatus
oldStatus :: ChatMemberStatus,
ChatEventAction -> ChatMemberStatus
newStatus :: ChatMemberStatus
}
|
ChatEventMemberRestricted
{
userId :: I32,
oldStatus :: ChatMemberStatus,
newStatus :: ChatMemberStatus
}
|
ChatEventTitleChanged
{
ChatEventAction -> T
oldTitle :: T,
ChatEventAction -> T
newTitle :: T
}
|
ChatEventPermissionsChanged
{
ChatEventAction -> ChatPermissions
oldPermissions :: ChatPermissions,
ChatEventAction -> ChatPermissions
newPermissions :: ChatPermissions
}
|
ChatEventDescriptionChanged
{
ChatEventAction -> T
oldDescription :: T,
ChatEventAction -> T
newDescription :: T
}
|
ChatEventUsernameChanged
{
ChatEventAction -> T
oldUsername :: T,
ChatEventAction -> T
newUsername :: T
}
|
ChatEventPhotoChanged
{
ChatEventAction -> Maybe Photo
oldPhoto :: (Maybe) (Photo),
ChatEventAction -> Maybe Photo
newPhoto :: (Maybe) (Photo)
}
|
ChatEventInvitesToggled
{
ChatEventAction -> Bool
canInviteUsers :: Bool
}
|
ChatEventLinkedChatChanged
{
ChatEventAction -> I32
oldLinkedChatId :: I53,
ChatEventAction -> I32
newLinkedChatId :: I53
}
|
ChatEventSlowModeDelayChanged
{
ChatEventAction -> I32
oldSlowModeDelay :: I32,
ChatEventAction -> I32
newSlowModeDelay :: I32
}
|
ChatEventSignMessagesToggled
{
ChatEventAction -> Bool
signMessages :: Bool
}
|
ChatEventStickerSetChanged
{
ChatEventAction -> I64
oldStickerSetId :: I64,
ChatEventAction -> I64
newStickerSetId :: I64
}
|
ChatEventLocationChanged
{
ChatEventAction -> Maybe ChatLocation
oldLocation :: (Maybe) (ChatLocation),
ChatEventAction -> Maybe ChatLocation
newLocation :: (Maybe) (ChatLocation)
}
|
ChatEventIsAllHistoryAvailableToggled
{
ChatEventAction -> Bool
isAllHistoryAvailable :: Bool
}
deriving (I32 -> ChatEventAction -> ShowS
[ChatEventAction] -> ShowS
ChatEventAction -> String
(I32 -> ChatEventAction -> ShowS)
-> (ChatEventAction -> String)
-> ([ChatEventAction] -> ShowS)
-> Show ChatEventAction
forall a.
(I32 -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [ChatEventAction] -> ShowS
$cshowList :: [ChatEventAction] -> ShowS
show :: ChatEventAction -> String
$cshow :: ChatEventAction -> String
showsPrec :: I32 -> ChatEventAction -> ShowS
$cshowsPrec :: I32 -> ChatEventAction -> ShowS
Show, ChatEventAction -> ChatEventAction -> Bool
(ChatEventAction -> ChatEventAction -> Bool)
-> (ChatEventAction -> ChatEventAction -> Bool)
-> Eq ChatEventAction
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: ChatEventAction -> ChatEventAction -> Bool
$c/= :: ChatEventAction -> ChatEventAction -> Bool
== :: ChatEventAction -> ChatEventAction -> Bool
$c== :: ChatEventAction -> ChatEventAction -> Bool
Eq, (forall x. ChatEventAction -> Rep ChatEventAction x)
-> (forall x. Rep ChatEventAction x -> ChatEventAction)
-> Generic ChatEventAction
forall x. Rep ChatEventAction x -> ChatEventAction
forall x. ChatEventAction -> Rep ChatEventAction x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x. Rep ChatEventAction x -> ChatEventAction
$cfrom :: forall x. ChatEventAction -> Rep ChatEventAction x
Generic)
data ChatEvent
=
ChatEvent
{
ChatEvent -> I64
id :: I64,
ChatEvent -> I32
date :: I32,
ChatEvent -> I32
userId :: I32,
ChatEvent -> ChatEventAction
action :: ChatEventAction
}
deriving (I32 -> ChatEvent -> ShowS
[ChatEvent] -> ShowS
ChatEvent -> String
(I32 -> ChatEvent -> ShowS)
-> (ChatEvent -> String)
-> ([ChatEvent] -> ShowS)
-> Show ChatEvent
forall a.
(I32 -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [ChatEvent] -> ShowS
$cshowList :: [ChatEvent] -> ShowS
show :: ChatEvent -> String
$cshow :: ChatEvent -> String
showsPrec :: I32 -> ChatEvent -> ShowS
$cshowsPrec :: I32 -> ChatEvent -> ShowS
Show, ChatEvent -> ChatEvent -> Bool
(ChatEvent -> ChatEvent -> Bool)
-> (ChatEvent -> ChatEvent -> Bool) -> Eq ChatEvent
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: ChatEvent -> ChatEvent -> Bool
$c/= :: ChatEvent -> ChatEvent -> Bool
== :: ChatEvent -> ChatEvent -> Bool
$c== :: ChatEvent -> ChatEvent -> Bool
Eq, (forall x. ChatEvent -> Rep ChatEvent x)
-> (forall x. Rep ChatEvent x -> ChatEvent) -> Generic ChatEvent
forall x. Rep ChatEvent x -> ChatEvent
forall x. ChatEvent -> Rep ChatEvent x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x. Rep ChatEvent x -> ChatEvent
$cfrom :: forall x. ChatEvent -> Rep ChatEvent x
Generic)
data ChatEvents
=
ChatEvents
{
ChatEvents -> [ChatEvent]
events :: [ChatEvent]
}
deriving (I32 -> ChatEvents -> ShowS
[ChatEvents] -> ShowS
ChatEvents -> String
(I32 -> ChatEvents -> ShowS)
-> (ChatEvents -> String)
-> ([ChatEvents] -> ShowS)
-> Show ChatEvents
forall a.
(I32 -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [ChatEvents] -> ShowS
$cshowList :: [ChatEvents] -> ShowS
show :: ChatEvents -> String
$cshow :: ChatEvents -> String
showsPrec :: I32 -> ChatEvents -> ShowS
$cshowsPrec :: I32 -> ChatEvents -> ShowS
Show, ChatEvents -> ChatEvents -> Bool
(ChatEvents -> ChatEvents -> Bool)
-> (ChatEvents -> ChatEvents -> Bool) -> Eq ChatEvents
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: ChatEvents -> ChatEvents -> Bool
$c/= :: ChatEvents -> ChatEvents -> Bool
== :: ChatEvents -> ChatEvents -> Bool
$c== :: ChatEvents -> ChatEvents -> Bool
Eq, (forall x. ChatEvents -> Rep ChatEvents x)
-> (forall x. Rep ChatEvents x -> ChatEvents) -> Generic ChatEvents
forall x. Rep ChatEvents x -> ChatEvents
forall x. ChatEvents -> Rep ChatEvents x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x. Rep ChatEvents x -> ChatEvents
$cfrom :: forall x. ChatEvents -> Rep ChatEvents x
Generic)
data ChatEventLogFilters
=
ChatEventLogFilters
{
ChatEventLogFilters -> Bool
messageEdits :: Bool,
ChatEventLogFilters -> Bool
messageDeletions :: Bool,
ChatEventLogFilters -> Bool
messagePins :: Bool,
ChatEventLogFilters -> Bool
memberJoins :: Bool,
ChatEventLogFilters -> Bool
memberLeaves :: Bool,
ChatEventLogFilters -> Bool
memberInvites :: Bool,
ChatEventLogFilters -> Bool
memberPromotions :: Bool,
ChatEventLogFilters -> Bool
memberRestrictions :: Bool,
ChatEventLogFilters -> Bool
infoChanges :: Bool,
ChatEventLogFilters -> Bool
settingChanges :: Bool
}
deriving (I32 -> ChatEventLogFilters -> ShowS
[ChatEventLogFilters] -> ShowS
ChatEventLogFilters -> String
(I32 -> ChatEventLogFilters -> ShowS)
-> (ChatEventLogFilters -> String)
-> ([ChatEventLogFilters] -> ShowS)
-> Show ChatEventLogFilters
forall a.
(I32 -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [ChatEventLogFilters] -> ShowS
$cshowList :: [ChatEventLogFilters] -> ShowS
show :: ChatEventLogFilters -> String
$cshow :: ChatEventLogFilters -> String
showsPrec :: I32 -> ChatEventLogFilters -> ShowS
$cshowsPrec :: I32 -> ChatEventLogFilters -> ShowS
Show, ChatEventLogFilters -> ChatEventLogFilters -> Bool
(ChatEventLogFilters -> ChatEventLogFilters -> Bool)
-> (ChatEventLogFilters -> ChatEventLogFilters -> Bool)
-> Eq ChatEventLogFilters
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: ChatEventLogFilters -> ChatEventLogFilters -> Bool
$c/= :: ChatEventLogFilters -> ChatEventLogFilters -> Bool
== :: ChatEventLogFilters -> ChatEventLogFilters -> Bool
$c== :: ChatEventLogFilters -> ChatEventLogFilters -> Bool
Eq, (forall x. ChatEventLogFilters -> Rep ChatEventLogFilters x)
-> (forall x. Rep ChatEventLogFilters x -> ChatEventLogFilters)
-> Generic ChatEventLogFilters
forall x. Rep ChatEventLogFilters x -> ChatEventLogFilters
forall x. ChatEventLogFilters -> Rep ChatEventLogFilters x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x. Rep ChatEventLogFilters x -> ChatEventLogFilters
$cfrom :: forall x. ChatEventLogFilters -> Rep ChatEventLogFilters x
Generic)
data LanguagePackStringValue
=
LanguagePackStringValueOrdinary
{
LanguagePackStringValue -> T
value :: T
}
|
LanguagePackStringValuePluralized
{
LanguagePackStringValue -> T
zeroValue :: T,
LanguagePackStringValue -> T
oneValue :: T,
LanguagePackStringValue -> T
twoValue :: T,
LanguagePackStringValue -> T
fewValue :: T,
LanguagePackStringValue -> T
manyValue :: T,
LanguagePackStringValue -> T
otherValue :: T
}
|
LanguagePackStringValueDeleted
{
}
deriving (I32 -> LanguagePackStringValue -> ShowS
[LanguagePackStringValue] -> ShowS
LanguagePackStringValue -> String
(I32 -> LanguagePackStringValue -> ShowS)
-> (LanguagePackStringValue -> String)
-> ([LanguagePackStringValue] -> ShowS)
-> Show LanguagePackStringValue
forall a.
(I32 -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [LanguagePackStringValue] -> ShowS
$cshowList :: [LanguagePackStringValue] -> ShowS
show :: LanguagePackStringValue -> String
$cshow :: LanguagePackStringValue -> String
showsPrec :: I32 -> LanguagePackStringValue -> ShowS
$cshowsPrec :: I32 -> LanguagePackStringValue -> ShowS
Show, LanguagePackStringValue -> LanguagePackStringValue -> Bool
(LanguagePackStringValue -> LanguagePackStringValue -> Bool)
-> (LanguagePackStringValue -> LanguagePackStringValue -> Bool)
-> Eq LanguagePackStringValue
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: LanguagePackStringValue -> LanguagePackStringValue -> Bool
$c/= :: LanguagePackStringValue -> LanguagePackStringValue -> Bool
== :: LanguagePackStringValue -> LanguagePackStringValue -> Bool
$c== :: LanguagePackStringValue -> LanguagePackStringValue -> Bool
Eq, (forall x.
LanguagePackStringValue -> Rep LanguagePackStringValue x)
-> (forall x.
Rep LanguagePackStringValue x -> LanguagePackStringValue)
-> Generic LanguagePackStringValue
forall x. Rep LanguagePackStringValue x -> LanguagePackStringValue
forall x. LanguagePackStringValue -> Rep LanguagePackStringValue x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x. Rep LanguagePackStringValue x -> LanguagePackStringValue
$cfrom :: forall x. LanguagePackStringValue -> Rep LanguagePackStringValue x
Generic)
data LanguagePackString
=
LanguagePackString
{
LanguagePackString -> T
key :: T,
LanguagePackString -> LanguagePackStringValue
value :: LanguagePackStringValue
}
deriving (I32 -> LanguagePackString -> ShowS
[LanguagePackString] -> ShowS
LanguagePackString -> String
(I32 -> LanguagePackString -> ShowS)
-> (LanguagePackString -> String)
-> ([LanguagePackString] -> ShowS)
-> Show LanguagePackString
forall a.
(I32 -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [LanguagePackString] -> ShowS
$cshowList :: [LanguagePackString] -> ShowS
show :: LanguagePackString -> String
$cshow :: LanguagePackString -> String
showsPrec :: I32 -> LanguagePackString -> ShowS
$cshowsPrec :: I32 -> LanguagePackString -> ShowS
Show, LanguagePackString -> LanguagePackString -> Bool
(LanguagePackString -> LanguagePackString -> Bool)
-> (LanguagePackString -> LanguagePackString -> Bool)
-> Eq LanguagePackString
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: LanguagePackString -> LanguagePackString -> Bool
$c/= :: LanguagePackString -> LanguagePackString -> Bool
== :: LanguagePackString -> LanguagePackString -> Bool
$c== :: LanguagePackString -> LanguagePackString -> Bool
Eq, (forall x. LanguagePackString -> Rep LanguagePackString x)
-> (forall x. Rep LanguagePackString x -> LanguagePackString)
-> Generic LanguagePackString
forall x. Rep LanguagePackString x -> LanguagePackString
forall x. LanguagePackString -> Rep LanguagePackString x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x. Rep LanguagePackString x -> LanguagePackString
$cfrom :: forall x. LanguagePackString -> Rep LanguagePackString x
Generic)
data LanguagePackStrings
=
LanguagePackStrings
{
LanguagePackStrings -> [LanguagePackString]
strings :: [LanguagePackString]
}
deriving (I32 -> LanguagePackStrings -> ShowS
[LanguagePackStrings] -> ShowS
LanguagePackStrings -> String
(I32 -> LanguagePackStrings -> ShowS)
-> (LanguagePackStrings -> String)
-> ([LanguagePackStrings] -> ShowS)
-> Show LanguagePackStrings
forall a.
(I32 -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [LanguagePackStrings] -> ShowS
$cshowList :: [LanguagePackStrings] -> ShowS
show :: LanguagePackStrings -> String
$cshow :: LanguagePackStrings -> String
showsPrec :: I32 -> LanguagePackStrings -> ShowS
$cshowsPrec :: I32 -> LanguagePackStrings -> ShowS
Show, LanguagePackStrings -> LanguagePackStrings -> Bool
(LanguagePackStrings -> LanguagePackStrings -> Bool)
-> (LanguagePackStrings -> LanguagePackStrings -> Bool)
-> Eq LanguagePackStrings
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: LanguagePackStrings -> LanguagePackStrings -> Bool
$c/= :: LanguagePackStrings -> LanguagePackStrings -> Bool
== :: LanguagePackStrings -> LanguagePackStrings -> Bool
$c== :: LanguagePackStrings -> LanguagePackStrings -> Bool
Eq, (forall x. LanguagePackStrings -> Rep LanguagePackStrings x)
-> (forall x. Rep LanguagePackStrings x -> LanguagePackStrings)
-> Generic LanguagePackStrings
forall x. Rep LanguagePackStrings x -> LanguagePackStrings
forall x. LanguagePackStrings -> Rep LanguagePackStrings x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x. Rep LanguagePackStrings x -> LanguagePackStrings
$cfrom :: forall x. LanguagePackStrings -> Rep LanguagePackStrings x
Generic)
data LanguagePackInfo
=
LanguagePackInfo
{
LanguagePackInfo -> T
id :: T,
LanguagePackInfo -> T
baseLanguagePackId :: T,
LanguagePackInfo -> T
name :: T,
LanguagePackInfo -> T
nativeName :: T,
LanguagePackInfo -> T
pluralCode :: T,
LanguagePackInfo -> Bool
isOfficial :: Bool,
LanguagePackInfo -> Bool
isRtl :: Bool,
LanguagePackInfo -> Bool
isBeta :: Bool,
LanguagePackInfo -> Bool
isInstalled :: Bool,
LanguagePackInfo -> I32
totalStringCount :: I32,
LanguagePackInfo -> I32
translatedStringCount :: I32,
LanguagePackInfo -> I32
localStringCount :: I32,
LanguagePackInfo -> T
translationUrl :: T
}
deriving (I32 -> LanguagePackInfo -> ShowS
[LanguagePackInfo] -> ShowS
LanguagePackInfo -> String
(I32 -> LanguagePackInfo -> ShowS)
-> (LanguagePackInfo -> String)
-> ([LanguagePackInfo] -> ShowS)
-> Show LanguagePackInfo
forall a.
(I32 -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [LanguagePackInfo] -> ShowS
$cshowList :: [LanguagePackInfo] -> ShowS
show :: LanguagePackInfo -> String
$cshow :: LanguagePackInfo -> String
showsPrec :: I32 -> LanguagePackInfo -> ShowS
$cshowsPrec :: I32 -> LanguagePackInfo -> ShowS
Show, LanguagePackInfo -> LanguagePackInfo -> Bool
(LanguagePackInfo -> LanguagePackInfo -> Bool)
-> (LanguagePackInfo -> LanguagePackInfo -> Bool)
-> Eq LanguagePackInfo
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: LanguagePackInfo -> LanguagePackInfo -> Bool
$c/= :: LanguagePackInfo -> LanguagePackInfo -> Bool
== :: LanguagePackInfo -> LanguagePackInfo -> Bool
$c== :: LanguagePackInfo -> LanguagePackInfo -> Bool
Eq, (forall x. LanguagePackInfo -> Rep LanguagePackInfo x)
-> (forall x. Rep LanguagePackInfo x -> LanguagePackInfo)
-> Generic LanguagePackInfo
forall x. Rep LanguagePackInfo x -> LanguagePackInfo
forall x. LanguagePackInfo -> Rep LanguagePackInfo x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x. Rep LanguagePackInfo x -> LanguagePackInfo
$cfrom :: forall x. LanguagePackInfo -> Rep LanguagePackInfo x
Generic)
data LocalizationTargetInfo
=
LocalizationTargetInfo
{
LocalizationTargetInfo -> [LanguagePackInfo]
languagePacks :: [LanguagePackInfo]
}
deriving (I32 -> LocalizationTargetInfo -> ShowS
[LocalizationTargetInfo] -> ShowS
LocalizationTargetInfo -> String
(I32 -> LocalizationTargetInfo -> ShowS)
-> (LocalizationTargetInfo -> String)
-> ([LocalizationTargetInfo] -> ShowS)
-> Show LocalizationTargetInfo
forall a.
(I32 -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [LocalizationTargetInfo] -> ShowS
$cshowList :: [LocalizationTargetInfo] -> ShowS
show :: LocalizationTargetInfo -> String
$cshow :: LocalizationTargetInfo -> String
showsPrec :: I32 -> LocalizationTargetInfo -> ShowS
$cshowsPrec :: I32 -> LocalizationTargetInfo -> ShowS
Show, LocalizationTargetInfo -> LocalizationTargetInfo -> Bool
(LocalizationTargetInfo -> LocalizationTargetInfo -> Bool)
-> (LocalizationTargetInfo -> LocalizationTargetInfo -> Bool)
-> Eq LocalizationTargetInfo
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: LocalizationTargetInfo -> LocalizationTargetInfo -> Bool
$c/= :: LocalizationTargetInfo -> LocalizationTargetInfo -> Bool
== :: LocalizationTargetInfo -> LocalizationTargetInfo -> Bool
$c== :: LocalizationTargetInfo -> LocalizationTargetInfo -> Bool
Eq, (forall x. LocalizationTargetInfo -> Rep LocalizationTargetInfo x)
-> (forall x.
Rep LocalizationTargetInfo x -> LocalizationTargetInfo)
-> Generic LocalizationTargetInfo
forall x. Rep LocalizationTargetInfo x -> LocalizationTargetInfo
forall x. LocalizationTargetInfo -> Rep LocalizationTargetInfo x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x. Rep LocalizationTargetInfo x -> LocalizationTargetInfo
$cfrom :: forall x. LocalizationTargetInfo -> Rep LocalizationTargetInfo x
Generic)
data DeviceToken
=
DeviceTokenFirebaseCloudMessaging
{
DeviceToken -> T
token :: T,
DeviceToken -> Bool
encrypt :: Bool
}
|
DeviceTokenApplePush
{
DeviceToken -> T
deviceToken :: T,
DeviceToken -> Bool
isAppSandbox :: Bool
}
|
DeviceTokenApplePushVoIP
{
deviceToken :: T,
isAppSandbox :: Bool,
encrypt :: Bool
}
|
DeviceTokenWindowsPush
{
DeviceToken -> T
accessToken :: T
}
|
DeviceTokenMicrosoftPush
{
DeviceToken -> T
channelUri :: T
}
|
DeviceTokenMicrosoftPushVoIP
{
channelUri :: T
}
|
DeviceTokenWebPush
{
DeviceToken -> T
endpoint :: T,
DeviceToken -> T
p256dhBase64url :: T,
DeviceToken -> T
authBase64url :: T
}
|
DeviceTokenSimplePush
{
endpoint :: T
}
|
DeviceTokenUbuntuPush
{
token :: T
}
|
DeviceTokenBlackBerryPush
{
token :: T
}
|
DeviceTokenTizenPush
{
DeviceToken -> T
regId :: T
}
deriving (I32 -> DeviceToken -> ShowS
[DeviceToken] -> ShowS
DeviceToken -> String
(I32 -> DeviceToken -> ShowS)
-> (DeviceToken -> String)
-> ([DeviceToken] -> ShowS)
-> Show DeviceToken
forall a.
(I32 -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [DeviceToken] -> ShowS
$cshowList :: [DeviceToken] -> ShowS
show :: DeviceToken -> String
$cshow :: DeviceToken -> String
showsPrec :: I32 -> DeviceToken -> ShowS
$cshowsPrec :: I32 -> DeviceToken -> ShowS
Show, DeviceToken -> DeviceToken -> Bool
(DeviceToken -> DeviceToken -> Bool)
-> (DeviceToken -> DeviceToken -> Bool) -> Eq DeviceToken
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: DeviceToken -> DeviceToken -> Bool
$c/= :: DeviceToken -> DeviceToken -> Bool
== :: DeviceToken -> DeviceToken -> Bool
$c== :: DeviceToken -> DeviceToken -> Bool
Eq, (forall x. DeviceToken -> Rep DeviceToken x)
-> (forall x. Rep DeviceToken x -> DeviceToken)
-> Generic DeviceToken
forall x. Rep DeviceToken x -> DeviceToken
forall x. DeviceToken -> Rep DeviceToken x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x. Rep DeviceToken x -> DeviceToken
$cfrom :: forall x. DeviceToken -> Rep DeviceToken x
Generic)
data PushReceiverId
=
PushReceiverId
{
PushReceiverId -> I64
id :: I64
}
deriving (I32 -> PushReceiverId -> ShowS
[PushReceiverId] -> ShowS
PushReceiverId -> String
(I32 -> PushReceiverId -> ShowS)
-> (PushReceiverId -> String)
-> ([PushReceiverId] -> ShowS)
-> Show PushReceiverId
forall a.
(I32 -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [PushReceiverId] -> ShowS
$cshowList :: [PushReceiverId] -> ShowS
show :: PushReceiverId -> String
$cshow :: PushReceiverId -> String
showsPrec :: I32 -> PushReceiverId -> ShowS
$cshowsPrec :: I32 -> PushReceiverId -> ShowS
Show, PushReceiverId -> PushReceiverId -> Bool
(PushReceiverId -> PushReceiverId -> Bool)
-> (PushReceiverId -> PushReceiverId -> Bool) -> Eq PushReceiverId
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: PushReceiverId -> PushReceiverId -> Bool
$c/= :: PushReceiverId -> PushReceiverId -> Bool
== :: PushReceiverId -> PushReceiverId -> Bool
$c== :: PushReceiverId -> PushReceiverId -> Bool
Eq, (forall x. PushReceiverId -> Rep PushReceiverId x)
-> (forall x. Rep PushReceiverId x -> PushReceiverId)
-> Generic PushReceiverId
forall x. Rep PushReceiverId x -> PushReceiverId
forall x. PushReceiverId -> Rep PushReceiverId x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x. Rep PushReceiverId x -> PushReceiverId
$cfrom :: forall x. PushReceiverId -> Rep PushReceiverId x
Generic)
data BackgroundFill
=
BackgroundFillSolid
{
BackgroundFill -> I32
color :: I32
}
|
BackgroundFillGradient
{
BackgroundFill -> I32
topColor :: I32,
BackgroundFill -> I32
bottomColor :: I32,
BackgroundFill -> I32
rotationAngle :: I32
}
deriving (I32 -> BackgroundFill -> ShowS
[BackgroundFill] -> ShowS
BackgroundFill -> String
(I32 -> BackgroundFill -> ShowS)
-> (BackgroundFill -> String)
-> ([BackgroundFill] -> ShowS)
-> Show BackgroundFill
forall a.
(I32 -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [BackgroundFill] -> ShowS
$cshowList :: [BackgroundFill] -> ShowS
show :: BackgroundFill -> String
$cshow :: BackgroundFill -> String
showsPrec :: I32 -> BackgroundFill -> ShowS
$cshowsPrec :: I32 -> BackgroundFill -> ShowS
Show, BackgroundFill -> BackgroundFill -> Bool
(BackgroundFill -> BackgroundFill -> Bool)
-> (BackgroundFill -> BackgroundFill -> Bool) -> Eq BackgroundFill
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: BackgroundFill -> BackgroundFill -> Bool
$c/= :: BackgroundFill -> BackgroundFill -> Bool
== :: BackgroundFill -> BackgroundFill -> Bool
$c== :: BackgroundFill -> BackgroundFill -> Bool
Eq, (forall x. BackgroundFill -> Rep BackgroundFill x)
-> (forall x. Rep BackgroundFill x -> BackgroundFill)
-> Generic BackgroundFill
forall x. Rep BackgroundFill x -> BackgroundFill
forall x. BackgroundFill -> Rep BackgroundFill x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x. Rep BackgroundFill x -> BackgroundFill
$cfrom :: forall x. BackgroundFill -> Rep BackgroundFill x
Generic)
data BackgroundType
=
BackgroundTypeWallpaper
{
BackgroundType -> Bool
isBlurred :: Bool,
BackgroundType -> Bool
isMoving :: Bool
}
|
BackgroundTypePattern
{
BackgroundType -> BackgroundFill
fill :: BackgroundFill,
BackgroundType -> I32
intensity :: I32,
isMoving :: Bool
}
|
BackgroundTypeFill
{
fill :: BackgroundFill
}
deriving (I32 -> BackgroundType -> ShowS
[BackgroundType] -> ShowS
BackgroundType -> String
(I32 -> BackgroundType -> ShowS)
-> (BackgroundType -> String)
-> ([BackgroundType] -> ShowS)
-> Show BackgroundType
forall a.
(I32 -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [BackgroundType] -> ShowS
$cshowList :: [BackgroundType] -> ShowS
show :: BackgroundType -> String
$cshow :: BackgroundType -> String
showsPrec :: I32 -> BackgroundType -> ShowS
$cshowsPrec :: I32 -> BackgroundType -> ShowS
Show, BackgroundType -> BackgroundType -> Bool
(BackgroundType -> BackgroundType -> Bool)
-> (BackgroundType -> BackgroundType -> Bool) -> Eq BackgroundType
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: BackgroundType -> BackgroundType -> Bool
$c/= :: BackgroundType -> BackgroundType -> Bool
== :: BackgroundType -> BackgroundType -> Bool
$c== :: BackgroundType -> BackgroundType -> Bool
Eq, (forall x. BackgroundType -> Rep BackgroundType x)
-> (forall x. Rep BackgroundType x -> BackgroundType)
-> Generic BackgroundType
forall x. Rep BackgroundType x -> BackgroundType
forall x. BackgroundType -> Rep BackgroundType x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x. Rep BackgroundType x -> BackgroundType
$cfrom :: forall x. BackgroundType -> Rep BackgroundType x
Generic)
data Background
=
Background
{
Background -> I64
id :: I64,
Background -> Bool
isDefault :: Bool,
Background -> Bool
isDark :: Bool,
Background -> T
name :: T,
Background -> Maybe Document
document :: (Maybe) (Document),
Background -> BackgroundType
type_ :: BackgroundType
}
deriving (I32 -> Background -> ShowS
[Background] -> ShowS
Background -> String
(I32 -> Background -> ShowS)
-> (Background -> String)
-> ([Background] -> ShowS)
-> Show Background
forall a.
(I32 -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [Background] -> ShowS
$cshowList :: [Background] -> ShowS
show :: Background -> String
$cshow :: Background -> String
showsPrec :: I32 -> Background -> ShowS
$cshowsPrec :: I32 -> Background -> ShowS
Show, Background -> Background -> Bool
(Background -> Background -> Bool)
-> (Background -> Background -> Bool) -> Eq Background
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: Background -> Background -> Bool
$c/= :: Background -> Background -> Bool
== :: Background -> Background -> Bool
$c== :: Background -> Background -> Bool
Eq, (forall x. Background -> Rep Background x)
-> (forall x. Rep Background x -> Background) -> Generic Background
forall x. Rep Background x -> Background
forall x. Background -> Rep Background x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x. Rep Background x -> Background
$cfrom :: forall x. Background -> Rep Background x
Generic)
data Backgrounds
=
Backgrounds
{
Backgrounds -> [Background]
backgrounds :: [Background]
}
deriving (I32 -> Backgrounds -> ShowS
[Backgrounds] -> ShowS
Backgrounds -> String
(I32 -> Backgrounds -> ShowS)
-> (Backgrounds -> String)
-> ([Backgrounds] -> ShowS)
-> Show Backgrounds
forall a.
(I32 -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [Backgrounds] -> ShowS
$cshowList :: [Backgrounds] -> ShowS
show :: Backgrounds -> String
$cshow :: Backgrounds -> String
showsPrec :: I32 -> Backgrounds -> ShowS
$cshowsPrec :: I32 -> Backgrounds -> ShowS
Show, Backgrounds -> Backgrounds -> Bool
(Backgrounds -> Backgrounds -> Bool)
-> (Backgrounds -> Backgrounds -> Bool) -> Eq Backgrounds
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: Backgrounds -> Backgrounds -> Bool
$c/= :: Backgrounds -> Backgrounds -> Bool
== :: Backgrounds -> Backgrounds -> Bool
$c== :: Backgrounds -> Backgrounds -> Bool
Eq, (forall x. Backgrounds -> Rep Backgrounds x)
-> (forall x. Rep Backgrounds x -> Backgrounds)
-> Generic Backgrounds
forall x. Rep Backgrounds x -> Backgrounds
forall x. Backgrounds -> Rep Backgrounds x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x. Rep Backgrounds x -> Backgrounds
$cfrom :: forall x. Backgrounds -> Rep Backgrounds x
Generic)
data InputBackground
=
InputBackgroundLocal
{
InputBackground -> InputFile
background :: InputFile
}
|
InputBackgroundRemote
{
InputBackground -> I64
backgroundId :: I64
}
deriving (I32 -> InputBackground -> ShowS
[InputBackground] -> ShowS
InputBackground -> String
(I32 -> InputBackground -> ShowS)
-> (InputBackground -> String)
-> ([InputBackground] -> ShowS)
-> Show InputBackground
forall a.
(I32 -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [InputBackground] -> ShowS
$cshowList :: [InputBackground] -> ShowS
show :: InputBackground -> String
$cshow :: InputBackground -> String
showsPrec :: I32 -> InputBackground -> ShowS
$cshowsPrec :: I32 -> InputBackground -> ShowS
Show, InputBackground -> InputBackground -> Bool
(InputBackground -> InputBackground -> Bool)
-> (InputBackground -> InputBackground -> Bool)
-> Eq InputBackground
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: InputBackground -> InputBackground -> Bool
$c/= :: InputBackground -> InputBackground -> Bool
== :: InputBackground -> InputBackground -> Bool
$c== :: InputBackground -> InputBackground -> Bool
Eq, (forall x. InputBackground -> Rep InputBackground x)
-> (forall x. Rep InputBackground x -> InputBackground)
-> Generic InputBackground
forall x. Rep InputBackground x -> InputBackground
forall x. InputBackground -> Rep InputBackground x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x. Rep InputBackground x -> InputBackground
$cfrom :: forall x. InputBackground -> Rep InputBackground x
Generic)
data Hashtags
=
Hashtags
{
Hashtags -> [T]
hashtags :: [T]
}
deriving (I32 -> Hashtags -> ShowS
[Hashtags] -> ShowS
Hashtags -> String
(I32 -> Hashtags -> ShowS)
-> (Hashtags -> String) -> ([Hashtags] -> ShowS) -> Show Hashtags
forall a.
(I32 -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [Hashtags] -> ShowS
$cshowList :: [Hashtags] -> ShowS
show :: Hashtags -> String
$cshow :: Hashtags -> String
showsPrec :: I32 -> Hashtags -> ShowS
$cshowsPrec :: I32 -> Hashtags -> ShowS
Show, Hashtags -> Hashtags -> Bool
(Hashtags -> Hashtags -> Bool)
-> (Hashtags -> Hashtags -> Bool) -> Eq Hashtags
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: Hashtags -> Hashtags -> Bool
$c/= :: Hashtags -> Hashtags -> Bool
== :: Hashtags -> Hashtags -> Bool
$c== :: Hashtags -> Hashtags -> Bool
Eq, (forall x. Hashtags -> Rep Hashtags x)
-> (forall x. Rep Hashtags x -> Hashtags) -> Generic Hashtags
forall x. Rep Hashtags x -> Hashtags
forall x. Hashtags -> Rep Hashtags x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x. Rep Hashtags x -> Hashtags
$cfrom :: forall x. Hashtags -> Rep Hashtags x
Generic)
data CanTransferOwnershipResult
=
CanTransferOwnershipResultOk
{
}
|
CanTransferOwnershipResultPasswordNeeded
{
}
|
CanTransferOwnershipResultPasswordTooFresh
{
CanTransferOwnershipResult -> I32
retryAfter :: I32
}
|
CanTransferOwnershipResultSessionTooFresh
{
retryAfter :: I32
}
deriving (I32 -> CanTransferOwnershipResult -> ShowS
[CanTransferOwnershipResult] -> ShowS
CanTransferOwnershipResult -> String
(I32 -> CanTransferOwnershipResult -> ShowS)
-> (CanTransferOwnershipResult -> String)
-> ([CanTransferOwnershipResult] -> ShowS)
-> Show CanTransferOwnershipResult
forall a.
(I32 -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [CanTransferOwnershipResult] -> ShowS
$cshowList :: [CanTransferOwnershipResult] -> ShowS
show :: CanTransferOwnershipResult -> String
$cshow :: CanTransferOwnershipResult -> String
showsPrec :: I32 -> CanTransferOwnershipResult -> ShowS
$cshowsPrec :: I32 -> CanTransferOwnershipResult -> ShowS
Show, CanTransferOwnershipResult -> CanTransferOwnershipResult -> Bool
(CanTransferOwnershipResult -> CanTransferOwnershipResult -> Bool)
-> (CanTransferOwnershipResult
-> CanTransferOwnershipResult -> Bool)
-> Eq CanTransferOwnershipResult
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: CanTransferOwnershipResult -> CanTransferOwnershipResult -> Bool
$c/= :: CanTransferOwnershipResult -> CanTransferOwnershipResult -> Bool
== :: CanTransferOwnershipResult -> CanTransferOwnershipResult -> Bool
$c== :: CanTransferOwnershipResult -> CanTransferOwnershipResult -> Bool
Eq, (forall x.
CanTransferOwnershipResult -> Rep CanTransferOwnershipResult x)
-> (forall x.
Rep CanTransferOwnershipResult x -> CanTransferOwnershipResult)
-> Generic CanTransferOwnershipResult
forall x.
Rep CanTransferOwnershipResult x -> CanTransferOwnershipResult
forall x.
CanTransferOwnershipResult -> Rep CanTransferOwnershipResult x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x.
Rep CanTransferOwnershipResult x -> CanTransferOwnershipResult
$cfrom :: forall x.
CanTransferOwnershipResult -> Rep CanTransferOwnershipResult x
Generic)
data CheckChatUsernameResult
=
CheckChatUsernameResultOk
{
}
|
CheckChatUsernameResultUsernameInvalid
{
}
|
CheckChatUsernameResultUsernameOccupied
{
}
|
CheckChatUsernameResultPublicChatsTooMuch
{
}
|
CheckChatUsernameResultPublicGroupsUnavailable
{
}
deriving (I32 -> CheckChatUsernameResult -> ShowS
[CheckChatUsernameResult] -> ShowS
CheckChatUsernameResult -> String
(I32 -> CheckChatUsernameResult -> ShowS)
-> (CheckChatUsernameResult -> String)
-> ([CheckChatUsernameResult] -> ShowS)
-> Show CheckChatUsernameResult
forall a.
(I32 -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [CheckChatUsernameResult] -> ShowS
$cshowList :: [CheckChatUsernameResult] -> ShowS
show :: CheckChatUsernameResult -> String
$cshow :: CheckChatUsernameResult -> String
showsPrec :: I32 -> CheckChatUsernameResult -> ShowS
$cshowsPrec :: I32 -> CheckChatUsernameResult -> ShowS
Show, CheckChatUsernameResult -> CheckChatUsernameResult -> Bool
(CheckChatUsernameResult -> CheckChatUsernameResult -> Bool)
-> (CheckChatUsernameResult -> CheckChatUsernameResult -> Bool)
-> Eq CheckChatUsernameResult
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: CheckChatUsernameResult -> CheckChatUsernameResult -> Bool
$c/= :: CheckChatUsernameResult -> CheckChatUsernameResult -> Bool
== :: CheckChatUsernameResult -> CheckChatUsernameResult -> Bool
$c== :: CheckChatUsernameResult -> CheckChatUsernameResult -> Bool
Eq, (forall x.
CheckChatUsernameResult -> Rep CheckChatUsernameResult x)
-> (forall x.
Rep CheckChatUsernameResult x -> CheckChatUsernameResult)
-> Generic CheckChatUsernameResult
forall x. Rep CheckChatUsernameResult x -> CheckChatUsernameResult
forall x. CheckChatUsernameResult -> Rep CheckChatUsernameResult x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x. Rep CheckChatUsernameResult x -> CheckChatUsernameResult
$cfrom :: forall x. CheckChatUsernameResult -> Rep CheckChatUsernameResult x
Generic)
data PushMessageContent
=
PushMessageContentHidden
{
PushMessageContent -> Bool
isPinned :: Bool
}
|
PushMessageContentAnimation
{
PushMessageContent -> Maybe Animation
animation :: (Maybe) (Animation),
PushMessageContent -> T
caption :: T,
isPinned :: Bool
}
|
PushMessageContentAudio
{
PushMessageContent -> Maybe Audio
audio :: (Maybe) (Audio),
isPinned :: Bool
}
|
PushMessageContentContact
{
PushMessageContent -> T
name :: T,
isPinned :: Bool
}
|
PushMessageContentContactRegistered
{
}
|
PushMessageContentDocument
{
PushMessageContent -> Maybe Document
document :: (Maybe) (Document),
isPinned :: Bool
}
|
PushMessageContentGame
{
PushMessageContent -> T
title :: T,
isPinned :: Bool
}
|
PushMessageContentGameScore
{
title :: T,
PushMessageContent -> I32
score :: I32,
isPinned :: Bool
}
|
PushMessageContentInvoice
{
PushMessageContent -> T
price :: T,
isPinned :: Bool
}
|
PushMessageContentLocation
{
PushMessageContent -> Bool
isLive :: Bool,
isPinned :: Bool
}
|
PushMessageContentPhoto
{
PushMessageContent -> Maybe Photo
photo :: (Maybe) (Photo),
caption :: T,
PushMessageContent -> Bool
isSecret :: Bool,
isPinned :: Bool
}
|
PushMessageContentPoll
{
PushMessageContent -> T
question :: T,
PushMessageContent -> Bool
isRegular :: Bool,
isPinned :: Bool
}
|
PushMessageContentScreenshotTaken
{
}
|
PushMessageContentSticker
{
PushMessageContent -> Maybe Sticker
sticker :: (Maybe) (Sticker),
PushMessageContent -> T
emoji :: T,
isPinned :: Bool
}
|
PushMessageContentText
{
PushMessageContent -> T
text :: T,
isPinned :: Bool
}
|
PushMessageContentVideo
{
PushMessageContent -> Maybe Video
video :: (Maybe) (Video),
caption :: T,
isSecret :: Bool,
isPinned :: Bool
}
|
PushMessageContentVideoNote
{
PushMessageContent -> Maybe VideoNote
videoNote :: (Maybe) (VideoNote),
isPinned :: Bool
}
|
PushMessageContentVoiceNote
{
PushMessageContent -> Maybe VoiceNote
voiceNote :: (Maybe) (VoiceNote),
isPinned :: Bool
}
|
PushMessageContentBasicGroupChatCreate
{
}
|
PushMessageContentChatAddMembers
{
PushMessageContent -> T
memberName :: T,
PushMessageContent -> Bool
isCurrentUser :: Bool,
PushMessageContent -> Bool
isReturned :: Bool
}
|
PushMessageContentChatChangePhoto
{
}
|
PushMessageContentChatChangeTitle
{
title :: T
}
|
PushMessageContentChatDeleteMember
{
memberName :: T,
isCurrentUser :: Bool,
PushMessageContent -> Bool
isLeft :: Bool
}
|
PushMessageContentChatJoinByLink
{
}
|
PushMessageContentMessageForwards
{
PushMessageContent -> I32
totalCount :: I32
}
|
PushMessageContentMediaAlbum
{
totalCount :: I32,
PushMessageContent -> Bool
hasPhotos :: Bool,
PushMessageContent -> Bool
hasVideos :: Bool
}
deriving (I32 -> PushMessageContent -> ShowS
[PushMessageContent] -> ShowS
PushMessageContent -> String
(I32 -> PushMessageContent -> ShowS)
-> (PushMessageContent -> String)
-> ([PushMessageContent] -> ShowS)
-> Show PushMessageContent
forall a.
(I32 -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [PushMessageContent] -> ShowS
$cshowList :: [PushMessageContent] -> ShowS
show :: PushMessageContent -> String
$cshow :: PushMessageContent -> String
showsPrec :: I32 -> PushMessageContent -> ShowS
$cshowsPrec :: I32 -> PushMessageContent -> ShowS
Show, PushMessageContent -> PushMessageContent -> Bool
(PushMessageContent -> PushMessageContent -> Bool)
-> (PushMessageContent -> PushMessageContent -> Bool)
-> Eq PushMessageContent
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: PushMessageContent -> PushMessageContent -> Bool
$c/= :: PushMessageContent -> PushMessageContent -> Bool
== :: PushMessageContent -> PushMessageContent -> Bool
$c== :: PushMessageContent -> PushMessageContent -> Bool
Eq, (forall x. PushMessageContent -> Rep PushMessageContent x)
-> (forall x. Rep PushMessageContent x -> PushMessageContent)
-> Generic PushMessageContent
forall x. Rep PushMessageContent x -> PushMessageContent
forall x. PushMessageContent -> Rep PushMessageContent x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x. Rep PushMessageContent x -> PushMessageContent
$cfrom :: forall x. PushMessageContent -> Rep PushMessageContent x
Generic)
data NotificationType
=
NotificationTypeNewMessage
{
NotificationType -> Message
message :: Message
}
|
NotificationTypeNewSecretChat
{
}
|
NotificationTypeNewCall
{
NotificationType -> I32
callId :: I32
}
|
NotificationTypeNewPushMessage
{
NotificationType -> I32
messageId :: I53,
NotificationType -> I32
senderUserId :: I32,
NotificationType -> T
senderName :: T,
NotificationType -> Bool
isOutgoing :: Bool,
NotificationType -> PushMessageContent
content :: PushMessageContent
}
deriving (I32 -> NotificationType -> ShowS
[NotificationType] -> ShowS
NotificationType -> String
(I32 -> NotificationType -> ShowS)
-> (NotificationType -> String)
-> ([NotificationType] -> ShowS)
-> Show NotificationType
forall a.
(I32 -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [NotificationType] -> ShowS
$cshowList :: [NotificationType] -> ShowS
show :: NotificationType -> String
$cshow :: NotificationType -> String
showsPrec :: I32 -> NotificationType -> ShowS
$cshowsPrec :: I32 -> NotificationType -> ShowS
Show, NotificationType -> NotificationType -> Bool
(NotificationType -> NotificationType -> Bool)
-> (NotificationType -> NotificationType -> Bool)
-> Eq NotificationType
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: NotificationType -> NotificationType -> Bool
$c/= :: NotificationType -> NotificationType -> Bool
== :: NotificationType -> NotificationType -> Bool
$c== :: NotificationType -> NotificationType -> Bool
Eq, (forall x. NotificationType -> Rep NotificationType x)
-> (forall x. Rep NotificationType x -> NotificationType)
-> Generic NotificationType
forall x. Rep NotificationType x -> NotificationType
forall x. NotificationType -> Rep NotificationType x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x. Rep NotificationType x -> NotificationType
$cfrom :: forall x. NotificationType -> Rep NotificationType x
Generic)
data NotificationGroupType
=
NotificationGroupTypeMessages
{
}
|
NotificationGroupTypeMentions
{
}
|
NotificationGroupTypeSecretChat
{
}
|
NotificationGroupTypeCalls
{
}
deriving (I32 -> NotificationGroupType -> ShowS
[NotificationGroupType] -> ShowS
NotificationGroupType -> String
(I32 -> NotificationGroupType -> ShowS)
-> (NotificationGroupType -> String)
-> ([NotificationGroupType] -> ShowS)
-> Show NotificationGroupType
forall a.
(I32 -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [NotificationGroupType] -> ShowS
$cshowList :: [NotificationGroupType] -> ShowS
show :: NotificationGroupType -> String
$cshow :: NotificationGroupType -> String
showsPrec :: I32 -> NotificationGroupType -> ShowS
$cshowsPrec :: I32 -> NotificationGroupType -> ShowS
Show, NotificationGroupType -> NotificationGroupType -> Bool
(NotificationGroupType -> NotificationGroupType -> Bool)
-> (NotificationGroupType -> NotificationGroupType -> Bool)
-> Eq NotificationGroupType
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: NotificationGroupType -> NotificationGroupType -> Bool
$c/= :: NotificationGroupType -> NotificationGroupType -> Bool
== :: NotificationGroupType -> NotificationGroupType -> Bool
$c== :: NotificationGroupType -> NotificationGroupType -> Bool
Eq, (forall x. NotificationGroupType -> Rep NotificationGroupType x)
-> (forall x. Rep NotificationGroupType x -> NotificationGroupType)
-> Generic NotificationGroupType
forall x. Rep NotificationGroupType x -> NotificationGroupType
forall x. NotificationGroupType -> Rep NotificationGroupType x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x. Rep NotificationGroupType x -> NotificationGroupType
$cfrom :: forall x. NotificationGroupType -> Rep NotificationGroupType x
Generic)
data Notification
=
Notification
{
Notification -> I32
id :: I32,
Notification -> I32
date :: I32,
Notification -> Bool
isSilent :: Bool,
Notification -> NotificationType
type_ :: NotificationType
}
deriving (I32 -> Notification -> ShowS
[Notification] -> ShowS
Notification -> String
(I32 -> Notification -> ShowS)
-> (Notification -> String)
-> ([Notification] -> ShowS)
-> Show Notification
forall a.
(I32 -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [Notification] -> ShowS
$cshowList :: [Notification] -> ShowS
show :: Notification -> String
$cshow :: Notification -> String
showsPrec :: I32 -> Notification -> ShowS
$cshowsPrec :: I32 -> Notification -> ShowS
Show, Notification -> Notification -> Bool
(Notification -> Notification -> Bool)
-> (Notification -> Notification -> Bool) -> Eq Notification
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: Notification -> Notification -> Bool
$c/= :: Notification -> Notification -> Bool
== :: Notification -> Notification -> Bool
$c== :: Notification -> Notification -> Bool
Eq, (forall x. Notification -> Rep Notification x)
-> (forall x. Rep Notification x -> Notification)
-> Generic Notification
forall x. Rep Notification x -> Notification
forall x. Notification -> Rep Notification x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x. Rep Notification x -> Notification
$cfrom :: forall x. Notification -> Rep Notification x
Generic)
data NotificationGroup
=
NotificationGroup
{
NotificationGroup -> I32
id :: I32,
NotificationGroup -> NotificationGroupType
type_ :: NotificationGroupType,
NotificationGroup -> I32
chatId :: I53,
NotificationGroup -> I32
totalCount :: I32,
NotificationGroup -> [Notification]
notifications :: [Notification]
}
deriving (I32 -> NotificationGroup -> ShowS
[NotificationGroup] -> ShowS
NotificationGroup -> String
(I32 -> NotificationGroup -> ShowS)
-> (NotificationGroup -> String)
-> ([NotificationGroup] -> ShowS)
-> Show NotificationGroup
forall a.
(I32 -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [NotificationGroup] -> ShowS
$cshowList :: [NotificationGroup] -> ShowS
show :: NotificationGroup -> String
$cshow :: NotificationGroup -> String
showsPrec :: I32 -> NotificationGroup -> ShowS
$cshowsPrec :: I32 -> NotificationGroup -> ShowS
Show, NotificationGroup -> NotificationGroup -> Bool
(NotificationGroup -> NotificationGroup -> Bool)
-> (NotificationGroup -> NotificationGroup -> Bool)
-> Eq NotificationGroup
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: NotificationGroup -> NotificationGroup -> Bool
$c/= :: NotificationGroup -> NotificationGroup -> Bool
== :: NotificationGroup -> NotificationGroup -> Bool
$c== :: NotificationGroup -> NotificationGroup -> Bool
Eq, (forall x. NotificationGroup -> Rep NotificationGroup x)
-> (forall x. Rep NotificationGroup x -> NotificationGroup)
-> Generic NotificationGroup
forall x. Rep NotificationGroup x -> NotificationGroup
forall x. NotificationGroup -> Rep NotificationGroup x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x. Rep NotificationGroup x -> NotificationGroup
$cfrom :: forall x. NotificationGroup -> Rep NotificationGroup x
Generic)
data OptionValue
=
OptionValueBoolean
{
OptionValue -> Bool
value_3 :: Bool
}
|
OptionValueEmpty
{
}
|
OptionValueInteger
{
OptionValue -> I32
value_2 :: I32
}
|
OptionValueString
{
OptionValue -> T
value :: T
}
deriving (I32 -> OptionValue -> ShowS
[OptionValue] -> ShowS
OptionValue -> String
(I32 -> OptionValue -> ShowS)
-> (OptionValue -> String)
-> ([OptionValue] -> ShowS)
-> Show OptionValue
forall a.
(I32 -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [OptionValue] -> ShowS
$cshowList :: [OptionValue] -> ShowS
show :: OptionValue -> String
$cshow :: OptionValue -> String
showsPrec :: I32 -> OptionValue -> ShowS
$cshowsPrec :: I32 -> OptionValue -> ShowS
Show, OptionValue -> OptionValue -> Bool
(OptionValue -> OptionValue -> Bool)
-> (OptionValue -> OptionValue -> Bool) -> Eq OptionValue
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: OptionValue -> OptionValue -> Bool
$c/= :: OptionValue -> OptionValue -> Bool
== :: OptionValue -> OptionValue -> Bool
$c== :: OptionValue -> OptionValue -> Bool
Eq, (forall x. OptionValue -> Rep OptionValue x)
-> (forall x. Rep OptionValue x -> OptionValue)
-> Generic OptionValue
forall x. Rep OptionValue x -> OptionValue
forall x. OptionValue -> Rep OptionValue x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x. Rep OptionValue x -> OptionValue
$cfrom :: forall x. OptionValue -> Rep OptionValue x
Generic)
data JsonObjectMember
=
JsonObjectMember
{
JsonObjectMember -> T
key :: T,
JsonObjectMember -> JsonValue
value :: JsonValue
}
deriving (I32 -> JsonObjectMember -> ShowS
[JsonObjectMember] -> ShowS
JsonObjectMember -> String
(I32 -> JsonObjectMember -> ShowS)
-> (JsonObjectMember -> String)
-> ([JsonObjectMember] -> ShowS)
-> Show JsonObjectMember
forall a.
(I32 -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [JsonObjectMember] -> ShowS
$cshowList :: [JsonObjectMember] -> ShowS
show :: JsonObjectMember -> String
$cshow :: JsonObjectMember -> String
showsPrec :: I32 -> JsonObjectMember -> ShowS
$cshowsPrec :: I32 -> JsonObjectMember -> ShowS
Show, JsonObjectMember -> JsonObjectMember -> Bool
(JsonObjectMember -> JsonObjectMember -> Bool)
-> (JsonObjectMember -> JsonObjectMember -> Bool)
-> Eq JsonObjectMember
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: JsonObjectMember -> JsonObjectMember -> Bool
$c/= :: JsonObjectMember -> JsonObjectMember -> Bool
== :: JsonObjectMember -> JsonObjectMember -> Bool
$c== :: JsonObjectMember -> JsonObjectMember -> Bool
Eq, (forall x. JsonObjectMember -> Rep JsonObjectMember x)
-> (forall x. Rep JsonObjectMember x -> JsonObjectMember)
-> Generic JsonObjectMember
forall x. Rep JsonObjectMember x -> JsonObjectMember
forall x. JsonObjectMember -> Rep JsonObjectMember x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x. Rep JsonObjectMember x -> JsonObjectMember
$cfrom :: forall x. JsonObjectMember -> Rep JsonObjectMember x
Generic)
data JsonValue
=
JsonValueNull
{
}
|
JsonValueBoolean
{
JsonValue -> Bool
value_3 :: Bool
}
|
JsonValueNumber
{
JsonValue -> Double
value_2 :: Double
}
|
JsonValueString
{
JsonValue -> T
value :: T
}
|
JsonValueArray
{
JsonValue -> [JsonValue]
values :: [JsonValue]
}
|
JsonValueObject
{
JsonValue -> [JsonObjectMember]
members :: [JsonObjectMember]
}
deriving (I32 -> JsonValue -> ShowS
[JsonValue] -> ShowS
JsonValue -> String
(I32 -> JsonValue -> ShowS)
-> (JsonValue -> String)
-> ([JsonValue] -> ShowS)
-> Show JsonValue
forall a.
(I32 -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [JsonValue] -> ShowS
$cshowList :: [JsonValue] -> ShowS
show :: JsonValue -> String
$cshow :: JsonValue -> String
showsPrec :: I32 -> JsonValue -> ShowS
$cshowsPrec :: I32 -> JsonValue -> ShowS
Show, JsonValue -> JsonValue -> Bool
(JsonValue -> JsonValue -> Bool)
-> (JsonValue -> JsonValue -> Bool) -> Eq JsonValue
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: JsonValue -> JsonValue -> Bool
$c/= :: JsonValue -> JsonValue -> Bool
== :: JsonValue -> JsonValue -> Bool
$c== :: JsonValue -> JsonValue -> Bool
Eq, (forall x. JsonValue -> Rep JsonValue x)
-> (forall x. Rep JsonValue x -> JsonValue) -> Generic JsonValue
forall x. Rep JsonValue x -> JsonValue
forall x. JsonValue -> Rep JsonValue x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x. Rep JsonValue x -> JsonValue
$cfrom :: forall x. JsonValue -> Rep JsonValue x
Generic)
data UserPrivacySettingRule
=
UserPrivacySettingRuleAllowAll
{
}
|
UserPrivacySettingRuleAllowContacts
{
}
|
UserPrivacySettingRuleAllowUsers
{
UserPrivacySettingRule -> [I32]
userIds :: [I32]
}
|
UserPrivacySettingRuleAllowChatMembers
{
UserPrivacySettingRule -> [I32]
chatIds :: [I53]
}
|
UserPrivacySettingRuleRestrictAll
{
}
|
UserPrivacySettingRuleRestrictContacts
{
}
|
UserPrivacySettingRuleRestrictUsers
{
userIds :: [I32]
}
|
UserPrivacySettingRuleRestrictChatMembers
{
chatIds :: [I53]
}
deriving (I32 -> UserPrivacySettingRule -> ShowS
[UserPrivacySettingRule] -> ShowS
UserPrivacySettingRule -> String
(I32 -> UserPrivacySettingRule -> ShowS)
-> (UserPrivacySettingRule -> String)
-> ([UserPrivacySettingRule] -> ShowS)
-> Show UserPrivacySettingRule
forall a.
(I32 -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [UserPrivacySettingRule] -> ShowS
$cshowList :: [UserPrivacySettingRule] -> ShowS
show :: UserPrivacySettingRule -> String
$cshow :: UserPrivacySettingRule -> String
showsPrec :: I32 -> UserPrivacySettingRule -> ShowS
$cshowsPrec :: I32 -> UserPrivacySettingRule -> ShowS
Show, UserPrivacySettingRule -> UserPrivacySettingRule -> Bool
(UserPrivacySettingRule -> UserPrivacySettingRule -> Bool)
-> (UserPrivacySettingRule -> UserPrivacySettingRule -> Bool)
-> Eq UserPrivacySettingRule
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: UserPrivacySettingRule -> UserPrivacySettingRule -> Bool
$c/= :: UserPrivacySettingRule -> UserPrivacySettingRule -> Bool
== :: UserPrivacySettingRule -> UserPrivacySettingRule -> Bool
$c== :: UserPrivacySettingRule -> UserPrivacySettingRule -> Bool
Eq, (forall x. UserPrivacySettingRule -> Rep UserPrivacySettingRule x)
-> (forall x.
Rep UserPrivacySettingRule x -> UserPrivacySettingRule)
-> Generic UserPrivacySettingRule
forall x. Rep UserPrivacySettingRule x -> UserPrivacySettingRule
forall x. UserPrivacySettingRule -> Rep UserPrivacySettingRule x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x. Rep UserPrivacySettingRule x -> UserPrivacySettingRule
$cfrom :: forall x. UserPrivacySettingRule -> Rep UserPrivacySettingRule x
Generic)
data UserPrivacySettingRules
=
UserPrivacySettingRules
{
UserPrivacySettingRules -> [UserPrivacySettingRule]
rules :: [UserPrivacySettingRule]
}
deriving (I32 -> UserPrivacySettingRules -> ShowS
[UserPrivacySettingRules] -> ShowS
UserPrivacySettingRules -> String
(I32 -> UserPrivacySettingRules -> ShowS)
-> (UserPrivacySettingRules -> String)
-> ([UserPrivacySettingRules] -> ShowS)
-> Show UserPrivacySettingRules
forall a.
(I32 -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [UserPrivacySettingRules] -> ShowS
$cshowList :: [UserPrivacySettingRules] -> ShowS
show :: UserPrivacySettingRules -> String
$cshow :: UserPrivacySettingRules -> String
showsPrec :: I32 -> UserPrivacySettingRules -> ShowS
$cshowsPrec :: I32 -> UserPrivacySettingRules -> ShowS
Show, UserPrivacySettingRules -> UserPrivacySettingRules -> Bool
(UserPrivacySettingRules -> UserPrivacySettingRules -> Bool)
-> (UserPrivacySettingRules -> UserPrivacySettingRules -> Bool)
-> Eq UserPrivacySettingRules
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: UserPrivacySettingRules -> UserPrivacySettingRules -> Bool
$c/= :: UserPrivacySettingRules -> UserPrivacySettingRules -> Bool
== :: UserPrivacySettingRules -> UserPrivacySettingRules -> Bool
$c== :: UserPrivacySettingRules -> UserPrivacySettingRules -> Bool
Eq, (forall x.
UserPrivacySettingRules -> Rep UserPrivacySettingRules x)
-> (forall x.
Rep UserPrivacySettingRules x -> UserPrivacySettingRules)
-> Generic UserPrivacySettingRules
forall x. Rep UserPrivacySettingRules x -> UserPrivacySettingRules
forall x. UserPrivacySettingRules -> Rep UserPrivacySettingRules x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x. Rep UserPrivacySettingRules x -> UserPrivacySettingRules
$cfrom :: forall x. UserPrivacySettingRules -> Rep UserPrivacySettingRules x
Generic)
data UserPrivacySetting
=
UserPrivacySettingShowStatus
{
}
|
UserPrivacySettingShowProfilePhoto
{
}
|
UserPrivacySettingShowLinkInForwardedMessages
{
}
|
UserPrivacySettingShowPhoneNumber
{
}
|
UserPrivacySettingAllowChatInvites
{
}
|
UserPrivacySettingAllowCalls
{
}
|
UserPrivacySettingAllowPeerToPeerCalls
{
}
|
UserPrivacySettingAllowFindingByPhoneNumber
{
}
deriving (I32 -> UserPrivacySetting -> ShowS
[UserPrivacySetting] -> ShowS
UserPrivacySetting -> String
(I32 -> UserPrivacySetting -> ShowS)
-> (UserPrivacySetting -> String)
-> ([UserPrivacySetting] -> ShowS)
-> Show UserPrivacySetting
forall a.
(I32 -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [UserPrivacySetting] -> ShowS
$cshowList :: [UserPrivacySetting] -> ShowS
show :: UserPrivacySetting -> String
$cshow :: UserPrivacySetting -> String
showsPrec :: I32 -> UserPrivacySetting -> ShowS
$cshowsPrec :: I32 -> UserPrivacySetting -> ShowS
Show, UserPrivacySetting -> UserPrivacySetting -> Bool
(UserPrivacySetting -> UserPrivacySetting -> Bool)
-> (UserPrivacySetting -> UserPrivacySetting -> Bool)
-> Eq UserPrivacySetting
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: UserPrivacySetting -> UserPrivacySetting -> Bool
$c/= :: UserPrivacySetting -> UserPrivacySetting -> Bool
== :: UserPrivacySetting -> UserPrivacySetting -> Bool
$c== :: UserPrivacySetting -> UserPrivacySetting -> Bool
Eq, (forall x. UserPrivacySetting -> Rep UserPrivacySetting x)
-> (forall x. Rep UserPrivacySetting x -> UserPrivacySetting)
-> Generic UserPrivacySetting
forall x. Rep UserPrivacySetting x -> UserPrivacySetting
forall x. UserPrivacySetting -> Rep UserPrivacySetting x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x. Rep UserPrivacySetting x -> UserPrivacySetting
$cfrom :: forall x. UserPrivacySetting -> Rep UserPrivacySetting x
Generic)
data AccountTtl
=
AccountTtl
{
AccountTtl -> I32
days :: I32
}
deriving (I32 -> AccountTtl -> ShowS
[AccountTtl] -> ShowS
AccountTtl -> String
(I32 -> AccountTtl -> ShowS)
-> (AccountTtl -> String)
-> ([AccountTtl] -> ShowS)
-> Show AccountTtl
forall a.
(I32 -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [AccountTtl] -> ShowS
$cshowList :: [AccountTtl] -> ShowS
show :: AccountTtl -> String
$cshow :: AccountTtl -> String
showsPrec :: I32 -> AccountTtl -> ShowS
$cshowsPrec :: I32 -> AccountTtl -> ShowS
Show, AccountTtl -> AccountTtl -> Bool
(AccountTtl -> AccountTtl -> Bool)
-> (AccountTtl -> AccountTtl -> Bool) -> Eq AccountTtl
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: AccountTtl -> AccountTtl -> Bool
$c/= :: AccountTtl -> AccountTtl -> Bool
== :: AccountTtl -> AccountTtl -> Bool
$c== :: AccountTtl -> AccountTtl -> Bool
Eq, (forall x. AccountTtl -> Rep AccountTtl x)
-> (forall x. Rep AccountTtl x -> AccountTtl) -> Generic AccountTtl
forall x. Rep AccountTtl x -> AccountTtl
forall x. AccountTtl -> Rep AccountTtl x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x. Rep AccountTtl x -> AccountTtl
$cfrom :: forall x. AccountTtl -> Rep AccountTtl x
Generic)
data Session
=
Session
{
Session -> I64
id :: I64,
Session -> Bool
isCurrent :: Bool,
Session -> Bool
isPasswordPending :: Bool,
Session -> I32
apiId :: I32,
Session -> T
applicationName :: T,
Session -> T
applicationVersion :: T,
Session -> Bool
isOfficialApplication :: Bool,
Session -> T
deviceModel :: T,
Session -> T
platform :: T,
Session -> T
systemVersion :: T,
Session -> I32
logInDate :: I32,
Session -> I32
lastActiveDate :: I32,
Session -> T
ip :: T,
Session -> T
country :: T,
Session -> T
region :: T
}
deriving (I32 -> Session -> ShowS
[Session] -> ShowS
Session -> String
(I32 -> Session -> ShowS)
-> (Session -> String) -> ([Session] -> ShowS) -> Show Session
forall a.
(I32 -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [Session] -> ShowS
$cshowList :: [Session] -> ShowS
show :: Session -> String
$cshow :: Session -> String
showsPrec :: I32 -> Session -> ShowS
$cshowsPrec :: I32 -> Session -> ShowS
Show, Session -> Session -> Bool
(Session -> Session -> Bool)
-> (Session -> Session -> Bool) -> Eq Session
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: Session -> Session -> Bool
$c/= :: Session -> Session -> Bool
== :: Session -> Session -> Bool
$c== :: Session -> Session -> Bool
Eq, (forall x. Session -> Rep Session x)
-> (forall x. Rep Session x -> Session) -> Generic Session
forall x. Rep Session x -> Session
forall x. Session -> Rep Session x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x. Rep Session x -> Session
$cfrom :: forall x. Session -> Rep Session x
Generic)
data Sessions
=
Sessions
{
Sessions -> [Session]
sessions :: [Session]
}
deriving (I32 -> Sessions -> ShowS
[Sessions] -> ShowS
Sessions -> String
(I32 -> Sessions -> ShowS)
-> (Sessions -> String) -> ([Sessions] -> ShowS) -> Show Sessions
forall a.
(I32 -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [Sessions] -> ShowS
$cshowList :: [Sessions] -> ShowS
show :: Sessions -> String
$cshow :: Sessions -> String
showsPrec :: I32 -> Sessions -> ShowS
$cshowsPrec :: I32 -> Sessions -> ShowS
Show, Sessions -> Sessions -> Bool
(Sessions -> Sessions -> Bool)
-> (Sessions -> Sessions -> Bool) -> Eq Sessions
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: Sessions -> Sessions -> Bool
$c/= :: Sessions -> Sessions -> Bool
== :: Sessions -> Sessions -> Bool
$c== :: Sessions -> Sessions -> Bool
Eq, (forall x. Sessions -> Rep Sessions x)
-> (forall x. Rep Sessions x -> Sessions) -> Generic Sessions
forall x. Rep Sessions x -> Sessions
forall x. Sessions -> Rep Sessions x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x. Rep Sessions x -> Sessions
$cfrom :: forall x. Sessions -> Rep Sessions x
Generic)
data ConnectedWebsite
=
ConnectedWebsite
{
ConnectedWebsite -> I64
id :: I64,
ConnectedWebsite -> T
domainName :: T,
ConnectedWebsite -> I32
botUserId :: I32,
ConnectedWebsite -> T
browser :: T,
ConnectedWebsite -> T
platform :: T,
ConnectedWebsite -> I32
logInDate :: I32,
ConnectedWebsite -> I32
lastActiveDate :: I32,
ConnectedWebsite -> T
ip :: T,
ConnectedWebsite -> T
location :: T
}
deriving (I32 -> ConnectedWebsite -> ShowS
[ConnectedWebsite] -> ShowS
ConnectedWebsite -> String
(I32 -> ConnectedWebsite -> ShowS)
-> (ConnectedWebsite -> String)
-> ([ConnectedWebsite] -> ShowS)
-> Show ConnectedWebsite
forall a.
(I32 -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [ConnectedWebsite] -> ShowS
$cshowList :: [ConnectedWebsite] -> ShowS
show :: ConnectedWebsite -> String
$cshow :: ConnectedWebsite -> String
showsPrec :: I32 -> ConnectedWebsite -> ShowS
$cshowsPrec :: I32 -> ConnectedWebsite -> ShowS
Show, ConnectedWebsite -> ConnectedWebsite -> Bool
(ConnectedWebsite -> ConnectedWebsite -> Bool)
-> (ConnectedWebsite -> ConnectedWebsite -> Bool)
-> Eq ConnectedWebsite
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: ConnectedWebsite -> ConnectedWebsite -> Bool
$c/= :: ConnectedWebsite -> ConnectedWebsite -> Bool
== :: ConnectedWebsite -> ConnectedWebsite -> Bool
$c== :: ConnectedWebsite -> ConnectedWebsite -> Bool
Eq, (forall x. ConnectedWebsite -> Rep ConnectedWebsite x)
-> (forall x. Rep ConnectedWebsite x -> ConnectedWebsite)
-> Generic ConnectedWebsite
forall x. Rep ConnectedWebsite x -> ConnectedWebsite
forall x. ConnectedWebsite -> Rep ConnectedWebsite x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x. Rep ConnectedWebsite x -> ConnectedWebsite
$cfrom :: forall x. ConnectedWebsite -> Rep ConnectedWebsite x
Generic)
data ConnectedWebsites
=
ConnectedWebsites
{
ConnectedWebsites -> [ConnectedWebsite]
websites :: [ConnectedWebsite]
}
deriving (I32 -> ConnectedWebsites -> ShowS
[ConnectedWebsites] -> ShowS
ConnectedWebsites -> String
(I32 -> ConnectedWebsites -> ShowS)
-> (ConnectedWebsites -> String)
-> ([ConnectedWebsites] -> ShowS)
-> Show ConnectedWebsites
forall a.
(I32 -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [ConnectedWebsites] -> ShowS
$cshowList :: [ConnectedWebsites] -> ShowS
show :: ConnectedWebsites -> String
$cshow :: ConnectedWebsites -> String
showsPrec :: I32 -> ConnectedWebsites -> ShowS
$cshowsPrec :: I32 -> ConnectedWebsites -> ShowS
Show, ConnectedWebsites -> ConnectedWebsites -> Bool
(ConnectedWebsites -> ConnectedWebsites -> Bool)
-> (ConnectedWebsites -> ConnectedWebsites -> Bool)
-> Eq ConnectedWebsites
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: ConnectedWebsites -> ConnectedWebsites -> Bool
$c/= :: ConnectedWebsites -> ConnectedWebsites -> Bool
== :: ConnectedWebsites -> ConnectedWebsites -> Bool
$c== :: ConnectedWebsites -> ConnectedWebsites -> Bool
Eq, (forall x. ConnectedWebsites -> Rep ConnectedWebsites x)
-> (forall x. Rep ConnectedWebsites x -> ConnectedWebsites)
-> Generic ConnectedWebsites
forall x. Rep ConnectedWebsites x -> ConnectedWebsites
forall x. ConnectedWebsites -> Rep ConnectedWebsites x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x. Rep ConnectedWebsites x -> ConnectedWebsites
$cfrom :: forall x. ConnectedWebsites -> Rep ConnectedWebsites x
Generic)
data ChatReportReason
=
ChatReportReasonSpam
{
}
|
ChatReportReasonViolence
{
}
|
ChatReportReasonPornography
{
}
|
ChatReportReasonChildAbuse
{
}
|
ChatReportReasonCopyright
{
}
|
ChatReportReasonUnrelatedLocation
{
}
|
ChatReportReasonCustom
{
ChatReportReason -> T
text :: T
}
deriving (I32 -> ChatReportReason -> ShowS
[ChatReportReason] -> ShowS
ChatReportReason -> String
(I32 -> ChatReportReason -> ShowS)
-> (ChatReportReason -> String)
-> ([ChatReportReason] -> ShowS)
-> Show ChatReportReason
forall a.
(I32 -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [ChatReportReason] -> ShowS
$cshowList :: [ChatReportReason] -> ShowS
show :: ChatReportReason -> String
$cshow :: ChatReportReason -> String
showsPrec :: I32 -> ChatReportReason -> ShowS
$cshowsPrec :: I32 -> ChatReportReason -> ShowS
Show, ChatReportReason -> ChatReportReason -> Bool
(ChatReportReason -> ChatReportReason -> Bool)
-> (ChatReportReason -> ChatReportReason -> Bool)
-> Eq ChatReportReason
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: ChatReportReason -> ChatReportReason -> Bool
$c/= :: ChatReportReason -> ChatReportReason -> Bool
== :: ChatReportReason -> ChatReportReason -> Bool
$c== :: ChatReportReason -> ChatReportReason -> Bool
Eq, (forall x. ChatReportReason -> Rep ChatReportReason x)
-> (forall x. Rep ChatReportReason x -> ChatReportReason)
-> Generic ChatReportReason
forall x. Rep ChatReportReason x -> ChatReportReason
forall x. ChatReportReason -> Rep ChatReportReason x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x. Rep ChatReportReason x -> ChatReportReason
$cfrom :: forall x. ChatReportReason -> Rep ChatReportReason x
Generic)
data PublicMessageLink
=
PublicMessageLink
{
PublicMessageLink -> T
link :: T,
PublicMessageLink -> T
html :: T
}
deriving (I32 -> PublicMessageLink -> ShowS
[PublicMessageLink] -> ShowS
PublicMessageLink -> String
(I32 -> PublicMessageLink -> ShowS)
-> (PublicMessageLink -> String)
-> ([PublicMessageLink] -> ShowS)
-> Show PublicMessageLink
forall a.
(I32 -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [PublicMessageLink] -> ShowS
$cshowList :: [PublicMessageLink] -> ShowS
show :: PublicMessageLink -> String
$cshow :: PublicMessageLink -> String
showsPrec :: I32 -> PublicMessageLink -> ShowS
$cshowsPrec :: I32 -> PublicMessageLink -> ShowS
Show, PublicMessageLink -> PublicMessageLink -> Bool
(PublicMessageLink -> PublicMessageLink -> Bool)
-> (PublicMessageLink -> PublicMessageLink -> Bool)
-> Eq PublicMessageLink
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: PublicMessageLink -> PublicMessageLink -> Bool
$c/= :: PublicMessageLink -> PublicMessageLink -> Bool
== :: PublicMessageLink -> PublicMessageLink -> Bool
$c== :: PublicMessageLink -> PublicMessageLink -> Bool
Eq, (forall x. PublicMessageLink -> Rep PublicMessageLink x)
-> (forall x. Rep PublicMessageLink x -> PublicMessageLink)
-> Generic PublicMessageLink
forall x. Rep PublicMessageLink x -> PublicMessageLink
forall x. PublicMessageLink -> Rep PublicMessageLink x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x. Rep PublicMessageLink x -> PublicMessageLink
$cfrom :: forall x. PublicMessageLink -> Rep PublicMessageLink x
Generic)
data MessageLinkInfo
=
MessageLinkInfo
{
MessageLinkInfo -> Bool
isPublic :: Bool,
MessageLinkInfo -> I32
chatId :: I53,
MessageLinkInfo -> Maybe Message
message :: (Maybe) (Message),
MessageLinkInfo -> Bool
forAlbum :: Bool
}
deriving (I32 -> MessageLinkInfo -> ShowS
[MessageLinkInfo] -> ShowS
MessageLinkInfo -> String
(I32 -> MessageLinkInfo -> ShowS)
-> (MessageLinkInfo -> String)
-> ([MessageLinkInfo] -> ShowS)
-> Show MessageLinkInfo
forall a.
(I32 -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [MessageLinkInfo] -> ShowS
$cshowList :: [MessageLinkInfo] -> ShowS
show :: MessageLinkInfo -> String
$cshow :: MessageLinkInfo -> String
showsPrec :: I32 -> MessageLinkInfo -> ShowS
$cshowsPrec :: I32 -> MessageLinkInfo -> ShowS
Show, MessageLinkInfo -> MessageLinkInfo -> Bool
(MessageLinkInfo -> MessageLinkInfo -> Bool)
-> (MessageLinkInfo -> MessageLinkInfo -> Bool)
-> Eq MessageLinkInfo
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: MessageLinkInfo -> MessageLinkInfo -> Bool
$c/= :: MessageLinkInfo -> MessageLinkInfo -> Bool
== :: MessageLinkInfo -> MessageLinkInfo -> Bool
$c== :: MessageLinkInfo -> MessageLinkInfo -> Bool
Eq, (forall x. MessageLinkInfo -> Rep MessageLinkInfo x)
-> (forall x. Rep MessageLinkInfo x -> MessageLinkInfo)
-> Generic MessageLinkInfo
forall x. Rep MessageLinkInfo x -> MessageLinkInfo
forall x. MessageLinkInfo -> Rep MessageLinkInfo x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x. Rep MessageLinkInfo x -> MessageLinkInfo
$cfrom :: forall x. MessageLinkInfo -> Rep MessageLinkInfo x
Generic)
data FilePart
=
FilePart
{
FilePart -> ByteString64
data_ :: ByteString64
}
deriving (I32 -> FilePart -> ShowS
[FilePart] -> ShowS
FilePart -> String
(I32 -> FilePart -> ShowS)
-> (FilePart -> String) -> ([FilePart] -> ShowS) -> Show FilePart
forall a.
(I32 -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [FilePart] -> ShowS
$cshowList :: [FilePart] -> ShowS
show :: FilePart -> String
$cshow :: FilePart -> String
showsPrec :: I32 -> FilePart -> ShowS
$cshowsPrec :: I32 -> FilePart -> ShowS
Show, FilePart -> FilePart -> Bool
(FilePart -> FilePart -> Bool)
-> (FilePart -> FilePart -> Bool) -> Eq FilePart
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: FilePart -> FilePart -> Bool
$c/= :: FilePart -> FilePart -> Bool
== :: FilePart -> FilePart -> Bool
$c== :: FilePart -> FilePart -> Bool
Eq, (forall x. FilePart -> Rep FilePart x)
-> (forall x. Rep FilePart x -> FilePart) -> Generic FilePart
forall x. Rep FilePart x -> FilePart
forall x. FilePart -> Rep FilePart x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x. Rep FilePart x -> FilePart
$cfrom :: forall x. FilePart -> Rep FilePart x
Generic)
data FileType
=
FileTypeNone
{
}
|
FileTypeAnimation
{
}
|
FileTypeAudio
{
}
|
FileTypeDocument
{
}
|
FileTypePhoto
{
}
|
FileTypeProfilePhoto
{
}
|
FileTypeSecret
{
}
|
FileTypeSecretThumbnail
{
}
|
FileTypeSecure
{
}
|
FileTypeSticker
{
}
|
FileTypeThumbnail
{
}
|
FileTypeUnknown
{
}
|
FileTypeVideo
{
}
|
FileTypeVideoNote
{
}
|
FileTypeVoiceNote
{
}
|
FileTypeWallpaper
{
}
deriving (I32 -> FileType -> ShowS
[FileType] -> ShowS
FileType -> String
(I32 -> FileType -> ShowS)
-> (FileType -> String) -> ([FileType] -> ShowS) -> Show FileType
forall a.
(I32 -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [FileType] -> ShowS
$cshowList :: [FileType] -> ShowS
show :: FileType -> String
$cshow :: FileType -> String
showsPrec :: I32 -> FileType -> ShowS
$cshowsPrec :: I32 -> FileType -> ShowS
Show, FileType -> FileType -> Bool
(FileType -> FileType -> Bool)
-> (FileType -> FileType -> Bool) -> Eq FileType
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: FileType -> FileType -> Bool
$c/= :: FileType -> FileType -> Bool
== :: FileType -> FileType -> Bool
$c== :: FileType -> FileType -> Bool
Eq, (forall x. FileType -> Rep FileType x)
-> (forall x. Rep FileType x -> FileType) -> Generic FileType
forall x. Rep FileType x -> FileType
forall x. FileType -> Rep FileType x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x. Rep FileType x -> FileType
$cfrom :: forall x. FileType -> Rep FileType x
Generic)
data StorageStatisticsByFileType
=
StorageStatisticsByFileType
{
StorageStatisticsByFileType -> FileType
fileType :: FileType,
StorageStatisticsByFileType -> I32
size :: I53,
StorageStatisticsByFileType -> I32
count :: I32
}
deriving (I32 -> StorageStatisticsByFileType -> ShowS
[StorageStatisticsByFileType] -> ShowS
StorageStatisticsByFileType -> String
(I32 -> StorageStatisticsByFileType -> ShowS)
-> (StorageStatisticsByFileType -> String)
-> ([StorageStatisticsByFileType] -> ShowS)
-> Show StorageStatisticsByFileType
forall a.
(I32 -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [StorageStatisticsByFileType] -> ShowS
$cshowList :: [StorageStatisticsByFileType] -> ShowS
show :: StorageStatisticsByFileType -> String
$cshow :: StorageStatisticsByFileType -> String
showsPrec :: I32 -> StorageStatisticsByFileType -> ShowS
$cshowsPrec :: I32 -> StorageStatisticsByFileType -> ShowS
Show, StorageStatisticsByFileType -> StorageStatisticsByFileType -> Bool
(StorageStatisticsByFileType
-> StorageStatisticsByFileType -> Bool)
-> (StorageStatisticsByFileType
-> StorageStatisticsByFileType -> Bool)
-> Eq StorageStatisticsByFileType
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: StorageStatisticsByFileType -> StorageStatisticsByFileType -> Bool
$c/= :: StorageStatisticsByFileType -> StorageStatisticsByFileType -> Bool
== :: StorageStatisticsByFileType -> StorageStatisticsByFileType -> Bool
$c== :: StorageStatisticsByFileType -> StorageStatisticsByFileType -> Bool
Eq, (forall x.
StorageStatisticsByFileType -> Rep StorageStatisticsByFileType x)
-> (forall x.
Rep StorageStatisticsByFileType x -> StorageStatisticsByFileType)
-> Generic StorageStatisticsByFileType
forall x.
Rep StorageStatisticsByFileType x -> StorageStatisticsByFileType
forall x.
StorageStatisticsByFileType -> Rep StorageStatisticsByFileType x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x.
Rep StorageStatisticsByFileType x -> StorageStatisticsByFileType
$cfrom :: forall x.
StorageStatisticsByFileType -> Rep StorageStatisticsByFileType x
Generic)
data StorageStatisticsByChat
=
StorageStatisticsByChat
{
StorageStatisticsByChat -> I32
chatId :: I53,
StorageStatisticsByChat -> I32
size :: I53,
StorageStatisticsByChat -> I32
count :: I32,
StorageStatisticsByChat -> [StorageStatisticsByFileType]
byFileType :: [StorageStatisticsByFileType]
}
deriving (I32 -> StorageStatisticsByChat -> ShowS
[StorageStatisticsByChat] -> ShowS
StorageStatisticsByChat -> String
(I32 -> StorageStatisticsByChat -> ShowS)
-> (StorageStatisticsByChat -> String)
-> ([StorageStatisticsByChat] -> ShowS)
-> Show StorageStatisticsByChat
forall a.
(I32 -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [StorageStatisticsByChat] -> ShowS
$cshowList :: [StorageStatisticsByChat] -> ShowS
show :: StorageStatisticsByChat -> String
$cshow :: StorageStatisticsByChat -> String
showsPrec :: I32 -> StorageStatisticsByChat -> ShowS
$cshowsPrec :: I32 -> StorageStatisticsByChat -> ShowS
Show, StorageStatisticsByChat -> StorageStatisticsByChat -> Bool
(StorageStatisticsByChat -> StorageStatisticsByChat -> Bool)
-> (StorageStatisticsByChat -> StorageStatisticsByChat -> Bool)
-> Eq StorageStatisticsByChat
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: StorageStatisticsByChat -> StorageStatisticsByChat -> Bool
$c/= :: StorageStatisticsByChat -> StorageStatisticsByChat -> Bool
== :: StorageStatisticsByChat -> StorageStatisticsByChat -> Bool
$c== :: StorageStatisticsByChat -> StorageStatisticsByChat -> Bool
Eq, (forall x.
StorageStatisticsByChat -> Rep StorageStatisticsByChat x)
-> (forall x.
Rep StorageStatisticsByChat x -> StorageStatisticsByChat)
-> Generic StorageStatisticsByChat
forall x. Rep StorageStatisticsByChat x -> StorageStatisticsByChat
forall x. StorageStatisticsByChat -> Rep StorageStatisticsByChat x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x. Rep StorageStatisticsByChat x -> StorageStatisticsByChat
$cfrom :: forall x. StorageStatisticsByChat -> Rep StorageStatisticsByChat x
Generic)
data StorageStatistics
=
StorageStatistics
{
StorageStatistics -> I32
size :: I53,
StorageStatistics -> I32
count :: I32,
StorageStatistics -> [StorageStatisticsByChat]
byChat :: [StorageStatisticsByChat]
}
deriving (I32 -> StorageStatistics -> ShowS
[StorageStatistics] -> ShowS
StorageStatistics -> String
(I32 -> StorageStatistics -> ShowS)
-> (StorageStatistics -> String)
-> ([StorageStatistics] -> ShowS)
-> Show StorageStatistics
forall a.
(I32 -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [StorageStatistics] -> ShowS
$cshowList :: [StorageStatistics] -> ShowS
show :: StorageStatistics -> String
$cshow :: StorageStatistics -> String
showsPrec :: I32 -> StorageStatistics -> ShowS
$cshowsPrec :: I32 -> StorageStatistics -> ShowS
Show, StorageStatistics -> StorageStatistics -> Bool
(StorageStatistics -> StorageStatistics -> Bool)
-> (StorageStatistics -> StorageStatistics -> Bool)
-> Eq StorageStatistics
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: StorageStatistics -> StorageStatistics -> Bool
$c/= :: StorageStatistics -> StorageStatistics -> Bool
== :: StorageStatistics -> StorageStatistics -> Bool
$c== :: StorageStatistics -> StorageStatistics -> Bool
Eq, (forall x. StorageStatistics -> Rep StorageStatistics x)
-> (forall x. Rep StorageStatistics x -> StorageStatistics)
-> Generic StorageStatistics
forall x. Rep StorageStatistics x -> StorageStatistics
forall x. StorageStatistics -> Rep StorageStatistics x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x. Rep StorageStatistics x -> StorageStatistics
$cfrom :: forall x. StorageStatistics -> Rep StorageStatistics x
Generic)
data StorageStatisticsFast
=
StorageStatisticsFast
{
StorageStatisticsFast -> I32
filesSize :: I53,
StorageStatisticsFast -> I32
fileCount :: I32,
StorageStatisticsFast -> I32
databaseSize :: I53,
StorageStatisticsFast -> I32
languagePackDatabaseSize :: I53,
StorageStatisticsFast -> I32
logSize :: I53
}
deriving (I32 -> StorageStatisticsFast -> ShowS
[StorageStatisticsFast] -> ShowS
StorageStatisticsFast -> String
(I32 -> StorageStatisticsFast -> ShowS)
-> (StorageStatisticsFast -> String)
-> ([StorageStatisticsFast] -> ShowS)
-> Show StorageStatisticsFast
forall a.
(I32 -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [StorageStatisticsFast] -> ShowS
$cshowList :: [StorageStatisticsFast] -> ShowS
show :: StorageStatisticsFast -> String
$cshow :: StorageStatisticsFast -> String
showsPrec :: I32 -> StorageStatisticsFast -> ShowS
$cshowsPrec :: I32 -> StorageStatisticsFast -> ShowS
Show, StorageStatisticsFast -> StorageStatisticsFast -> Bool
(StorageStatisticsFast -> StorageStatisticsFast -> Bool)
-> (StorageStatisticsFast -> StorageStatisticsFast -> Bool)
-> Eq StorageStatisticsFast
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: StorageStatisticsFast -> StorageStatisticsFast -> Bool
$c/= :: StorageStatisticsFast -> StorageStatisticsFast -> Bool
== :: StorageStatisticsFast -> StorageStatisticsFast -> Bool
$c== :: StorageStatisticsFast -> StorageStatisticsFast -> Bool
Eq, (forall x. StorageStatisticsFast -> Rep StorageStatisticsFast x)
-> (forall x. Rep StorageStatisticsFast x -> StorageStatisticsFast)
-> Generic StorageStatisticsFast
forall x. Rep StorageStatisticsFast x -> StorageStatisticsFast
forall x. StorageStatisticsFast -> Rep StorageStatisticsFast x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x. Rep StorageStatisticsFast x -> StorageStatisticsFast
$cfrom :: forall x. StorageStatisticsFast -> Rep StorageStatisticsFast x
Generic)
data DatabaseStatistics
=
DatabaseStatistics
{
DatabaseStatistics -> T
statistics :: T
}
deriving (I32 -> DatabaseStatistics -> ShowS
[DatabaseStatistics] -> ShowS
DatabaseStatistics -> String
(I32 -> DatabaseStatistics -> ShowS)
-> (DatabaseStatistics -> String)
-> ([DatabaseStatistics] -> ShowS)
-> Show DatabaseStatistics
forall a.
(I32 -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [DatabaseStatistics] -> ShowS
$cshowList :: [DatabaseStatistics] -> ShowS
show :: DatabaseStatistics -> String
$cshow :: DatabaseStatistics -> String
showsPrec :: I32 -> DatabaseStatistics -> ShowS
$cshowsPrec :: I32 -> DatabaseStatistics -> ShowS
Show, DatabaseStatistics -> DatabaseStatistics -> Bool
(DatabaseStatistics -> DatabaseStatistics -> Bool)
-> (DatabaseStatistics -> DatabaseStatistics -> Bool)
-> Eq DatabaseStatistics
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: DatabaseStatistics -> DatabaseStatistics -> Bool
$c/= :: DatabaseStatistics -> DatabaseStatistics -> Bool
== :: DatabaseStatistics -> DatabaseStatistics -> Bool
$c== :: DatabaseStatistics -> DatabaseStatistics -> Bool
Eq, (forall x. DatabaseStatistics -> Rep DatabaseStatistics x)
-> (forall x. Rep DatabaseStatistics x -> DatabaseStatistics)
-> Generic DatabaseStatistics
forall x. Rep DatabaseStatistics x -> DatabaseStatistics
forall x. DatabaseStatistics -> Rep DatabaseStatistics x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x. Rep DatabaseStatistics x -> DatabaseStatistics
$cfrom :: forall x. DatabaseStatistics -> Rep DatabaseStatistics x
Generic)
data NetworkType
=
NetworkTypeNone
{
}
|
NetworkTypeMobile
{
}
|
NetworkTypeMobileRoaming
{
}
|
NetworkTypeWiFi
{
}
|
NetworkTypeOther
{
}
deriving (I32 -> NetworkType -> ShowS
[NetworkType] -> ShowS
NetworkType -> String
(I32 -> NetworkType -> ShowS)
-> (NetworkType -> String)
-> ([NetworkType] -> ShowS)
-> Show NetworkType
forall a.
(I32 -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [NetworkType] -> ShowS
$cshowList :: [NetworkType] -> ShowS
show :: NetworkType -> String
$cshow :: NetworkType -> String
showsPrec :: I32 -> NetworkType -> ShowS
$cshowsPrec :: I32 -> NetworkType -> ShowS
Show, NetworkType -> NetworkType -> Bool
(NetworkType -> NetworkType -> Bool)
-> (NetworkType -> NetworkType -> Bool) -> Eq NetworkType
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: NetworkType -> NetworkType -> Bool
$c/= :: NetworkType -> NetworkType -> Bool
== :: NetworkType -> NetworkType -> Bool
$c== :: NetworkType -> NetworkType -> Bool
Eq, (forall x. NetworkType -> Rep NetworkType x)
-> (forall x. Rep NetworkType x -> NetworkType)
-> Generic NetworkType
forall x. Rep NetworkType x -> NetworkType
forall x. NetworkType -> Rep NetworkType x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x. Rep NetworkType x -> NetworkType
$cfrom :: forall x. NetworkType -> Rep NetworkType x
Generic)
data NetworkStatisticsEntry
=
NetworkStatisticsEntryFile
{
NetworkStatisticsEntry -> FileType
fileType :: FileType,
NetworkStatisticsEntry -> NetworkType
networkType :: NetworkType,
NetworkStatisticsEntry -> I32
sentBytes :: I53,
NetworkStatisticsEntry -> I32
receivedBytes :: I53
}
|
NetworkStatisticsEntryCall
{
networkType :: NetworkType,
sentBytes :: I53,
receivedBytes :: I53,
NetworkStatisticsEntry -> Double
duration :: Double
}
deriving (I32 -> NetworkStatisticsEntry -> ShowS
[NetworkStatisticsEntry] -> ShowS
NetworkStatisticsEntry -> String
(I32 -> NetworkStatisticsEntry -> ShowS)
-> (NetworkStatisticsEntry -> String)
-> ([NetworkStatisticsEntry] -> ShowS)
-> Show NetworkStatisticsEntry
forall a.
(I32 -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [NetworkStatisticsEntry] -> ShowS
$cshowList :: [NetworkStatisticsEntry] -> ShowS
show :: NetworkStatisticsEntry -> String
$cshow :: NetworkStatisticsEntry -> String
showsPrec :: I32 -> NetworkStatisticsEntry -> ShowS
$cshowsPrec :: I32 -> NetworkStatisticsEntry -> ShowS
Show, NetworkStatisticsEntry -> NetworkStatisticsEntry -> Bool
(NetworkStatisticsEntry -> NetworkStatisticsEntry -> Bool)
-> (NetworkStatisticsEntry -> NetworkStatisticsEntry -> Bool)
-> Eq NetworkStatisticsEntry
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: NetworkStatisticsEntry -> NetworkStatisticsEntry -> Bool
$c/= :: NetworkStatisticsEntry -> NetworkStatisticsEntry -> Bool
== :: NetworkStatisticsEntry -> NetworkStatisticsEntry -> Bool
$c== :: NetworkStatisticsEntry -> NetworkStatisticsEntry -> Bool
Eq, (forall x. NetworkStatisticsEntry -> Rep NetworkStatisticsEntry x)
-> (forall x.
Rep NetworkStatisticsEntry x -> NetworkStatisticsEntry)
-> Generic NetworkStatisticsEntry
forall x. Rep NetworkStatisticsEntry x -> NetworkStatisticsEntry
forall x. NetworkStatisticsEntry -> Rep NetworkStatisticsEntry x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x. Rep NetworkStatisticsEntry x -> NetworkStatisticsEntry
$cfrom :: forall x. NetworkStatisticsEntry -> Rep NetworkStatisticsEntry x
Generic)
data NetworkStatistics
=
NetworkStatistics
{
NetworkStatistics -> I32
sinceDate :: I32,
NetworkStatistics -> [NetworkStatisticsEntry]
entries :: [NetworkStatisticsEntry]
}
deriving (I32 -> NetworkStatistics -> ShowS
[NetworkStatistics] -> ShowS
NetworkStatistics -> String
(I32 -> NetworkStatistics -> ShowS)
-> (NetworkStatistics -> String)
-> ([NetworkStatistics] -> ShowS)
-> Show NetworkStatistics
forall a.
(I32 -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [NetworkStatistics] -> ShowS
$cshowList :: [NetworkStatistics] -> ShowS
show :: NetworkStatistics -> String
$cshow :: NetworkStatistics -> String
showsPrec :: I32 -> NetworkStatistics -> ShowS
$cshowsPrec :: I32 -> NetworkStatistics -> ShowS
Show, NetworkStatistics -> NetworkStatistics -> Bool
(NetworkStatistics -> NetworkStatistics -> Bool)
-> (NetworkStatistics -> NetworkStatistics -> Bool)
-> Eq NetworkStatistics
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: NetworkStatistics -> NetworkStatistics -> Bool
$c/= :: NetworkStatistics -> NetworkStatistics -> Bool
== :: NetworkStatistics -> NetworkStatistics -> Bool
$c== :: NetworkStatistics -> NetworkStatistics -> Bool
Eq, (forall x. NetworkStatistics -> Rep NetworkStatistics x)
-> (forall x. Rep NetworkStatistics x -> NetworkStatistics)
-> Generic NetworkStatistics
forall x. Rep NetworkStatistics x -> NetworkStatistics
forall x. NetworkStatistics -> Rep NetworkStatistics x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x. Rep NetworkStatistics x -> NetworkStatistics
$cfrom :: forall x. NetworkStatistics -> Rep NetworkStatistics x
Generic)
data AutoDownloadSettings
=
AutoDownloadSettings
{
AutoDownloadSettings -> Bool
isAutoDownloadEnabled :: Bool,
AutoDownloadSettings -> I32
maxPhotoFileSize :: I32,
AutoDownloadSettings -> I32
maxVideoFileSize :: I32,
AutoDownloadSettings -> I32
maxOtherFileSize :: I32,
AutoDownloadSettings -> I32
videoUploadBitrate :: I32,
AutoDownloadSettings -> Bool
preloadLargeVideos :: Bool,
AutoDownloadSettings -> Bool
preloadNextAudio :: Bool,
AutoDownloadSettings -> Bool
useLessDataForCalls :: Bool
}
deriving (I32 -> AutoDownloadSettings -> ShowS
[AutoDownloadSettings] -> ShowS
AutoDownloadSettings -> String
(I32 -> AutoDownloadSettings -> ShowS)
-> (AutoDownloadSettings -> String)
-> ([AutoDownloadSettings] -> ShowS)
-> Show AutoDownloadSettings
forall a.
(I32 -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [AutoDownloadSettings] -> ShowS
$cshowList :: [AutoDownloadSettings] -> ShowS
show :: AutoDownloadSettings -> String
$cshow :: AutoDownloadSettings -> String
showsPrec :: I32 -> AutoDownloadSettings -> ShowS
$cshowsPrec :: I32 -> AutoDownloadSettings -> ShowS
Show, AutoDownloadSettings -> AutoDownloadSettings -> Bool
(AutoDownloadSettings -> AutoDownloadSettings -> Bool)
-> (AutoDownloadSettings -> AutoDownloadSettings -> Bool)
-> Eq AutoDownloadSettings
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: AutoDownloadSettings -> AutoDownloadSettings -> Bool
$c/= :: AutoDownloadSettings -> AutoDownloadSettings -> Bool
== :: AutoDownloadSettings -> AutoDownloadSettings -> Bool
$c== :: AutoDownloadSettings -> AutoDownloadSettings -> Bool
Eq, (forall x. AutoDownloadSettings -> Rep AutoDownloadSettings x)
-> (forall x. Rep AutoDownloadSettings x -> AutoDownloadSettings)
-> Generic AutoDownloadSettings
forall x. Rep AutoDownloadSettings x -> AutoDownloadSettings
forall x. AutoDownloadSettings -> Rep AutoDownloadSettings x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x. Rep AutoDownloadSettings x -> AutoDownloadSettings
$cfrom :: forall x. AutoDownloadSettings -> Rep AutoDownloadSettings x
Generic)
data AutoDownloadSettingsPresets
=
AutoDownloadSettingsPresets
{
AutoDownloadSettingsPresets -> AutoDownloadSettings
low :: AutoDownloadSettings,
AutoDownloadSettingsPresets -> AutoDownloadSettings
medium :: AutoDownloadSettings,
AutoDownloadSettingsPresets -> AutoDownloadSettings
high :: AutoDownloadSettings
}
deriving (I32 -> AutoDownloadSettingsPresets -> ShowS
[AutoDownloadSettingsPresets] -> ShowS
AutoDownloadSettingsPresets -> String
(I32 -> AutoDownloadSettingsPresets -> ShowS)
-> (AutoDownloadSettingsPresets -> String)
-> ([AutoDownloadSettingsPresets] -> ShowS)
-> Show AutoDownloadSettingsPresets
forall a.
(I32 -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [AutoDownloadSettingsPresets] -> ShowS
$cshowList :: [AutoDownloadSettingsPresets] -> ShowS
show :: AutoDownloadSettingsPresets -> String
$cshow :: AutoDownloadSettingsPresets -> String
showsPrec :: I32 -> AutoDownloadSettingsPresets -> ShowS
$cshowsPrec :: I32 -> AutoDownloadSettingsPresets -> ShowS
Show, AutoDownloadSettingsPresets -> AutoDownloadSettingsPresets -> Bool
(AutoDownloadSettingsPresets
-> AutoDownloadSettingsPresets -> Bool)
-> (AutoDownloadSettingsPresets
-> AutoDownloadSettingsPresets -> Bool)
-> Eq AutoDownloadSettingsPresets
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: AutoDownloadSettingsPresets -> AutoDownloadSettingsPresets -> Bool
$c/= :: AutoDownloadSettingsPresets -> AutoDownloadSettingsPresets -> Bool
== :: AutoDownloadSettingsPresets -> AutoDownloadSettingsPresets -> Bool
$c== :: AutoDownloadSettingsPresets -> AutoDownloadSettingsPresets -> Bool
Eq, (forall x.
AutoDownloadSettingsPresets -> Rep AutoDownloadSettingsPresets x)
-> (forall x.
Rep AutoDownloadSettingsPresets x -> AutoDownloadSettingsPresets)
-> Generic AutoDownloadSettingsPresets
forall x.
Rep AutoDownloadSettingsPresets x -> AutoDownloadSettingsPresets
forall x.
AutoDownloadSettingsPresets -> Rep AutoDownloadSettingsPresets x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x.
Rep AutoDownloadSettingsPresets x -> AutoDownloadSettingsPresets
$cfrom :: forall x.
AutoDownloadSettingsPresets -> Rep AutoDownloadSettingsPresets x
Generic)
data ConnectionState
=
ConnectionStateWaitingForNetwork
{
}
|
ConnectionStateConnectingToProxy
{
}
|
ConnectionStateConnecting
{
}
|
ConnectionStateUpdating
{
}
|
ConnectionStateReady
{
}
deriving (I32 -> ConnectionState -> ShowS
[ConnectionState] -> ShowS
ConnectionState -> String
(I32 -> ConnectionState -> ShowS)
-> (ConnectionState -> String)
-> ([ConnectionState] -> ShowS)
-> Show ConnectionState
forall a.
(I32 -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [ConnectionState] -> ShowS
$cshowList :: [ConnectionState] -> ShowS
show :: ConnectionState -> String
$cshow :: ConnectionState -> String
showsPrec :: I32 -> ConnectionState -> ShowS
$cshowsPrec :: I32 -> ConnectionState -> ShowS
Show, ConnectionState -> ConnectionState -> Bool
(ConnectionState -> ConnectionState -> Bool)
-> (ConnectionState -> ConnectionState -> Bool)
-> Eq ConnectionState
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: ConnectionState -> ConnectionState -> Bool
$c/= :: ConnectionState -> ConnectionState -> Bool
== :: ConnectionState -> ConnectionState -> Bool
$c== :: ConnectionState -> ConnectionState -> Bool
Eq, (forall x. ConnectionState -> Rep ConnectionState x)
-> (forall x. Rep ConnectionState x -> ConnectionState)
-> Generic ConnectionState
forall x. Rep ConnectionState x -> ConnectionState
forall x. ConnectionState -> Rep ConnectionState x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x. Rep ConnectionState x -> ConnectionState
$cfrom :: forall x. ConnectionState -> Rep ConnectionState x
Generic)
data TopChatCategory
=
TopChatCategoryUsers
{
}
|
TopChatCategoryBots
{
}
|
TopChatCategoryGroups
{
}
|
TopChatCategoryChannels
{
}
|
TopChatCategoryInlineBots
{
}
|
TopChatCategoryCalls
{
}
|
TopChatCategoryForwardChats
{
}
deriving (I32 -> TopChatCategory -> ShowS
[TopChatCategory] -> ShowS
TopChatCategory -> String
(I32 -> TopChatCategory -> ShowS)
-> (TopChatCategory -> String)
-> ([TopChatCategory] -> ShowS)
-> Show TopChatCategory
forall a.
(I32 -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [TopChatCategory] -> ShowS
$cshowList :: [TopChatCategory] -> ShowS
show :: TopChatCategory -> String
$cshow :: TopChatCategory -> String
showsPrec :: I32 -> TopChatCategory -> ShowS
$cshowsPrec :: I32 -> TopChatCategory -> ShowS
Show, TopChatCategory -> TopChatCategory -> Bool
(TopChatCategory -> TopChatCategory -> Bool)
-> (TopChatCategory -> TopChatCategory -> Bool)
-> Eq TopChatCategory
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: TopChatCategory -> TopChatCategory -> Bool
$c/= :: TopChatCategory -> TopChatCategory -> Bool
== :: TopChatCategory -> TopChatCategory -> Bool
$c== :: TopChatCategory -> TopChatCategory -> Bool
Eq, (forall x. TopChatCategory -> Rep TopChatCategory x)
-> (forall x. Rep TopChatCategory x -> TopChatCategory)
-> Generic TopChatCategory
forall x. Rep TopChatCategory x -> TopChatCategory
forall x. TopChatCategory -> Rep TopChatCategory x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x. Rep TopChatCategory x -> TopChatCategory
$cfrom :: forall x. TopChatCategory -> Rep TopChatCategory x
Generic)
data TMeUrlType
=
TMeUrlTypeUser
{
TMeUrlType -> I32
userId :: I32
}
|
TMeUrlTypeSupergroup
{
TMeUrlType -> I32
supergroupId :: I53
}
|
TMeUrlTypeChatInvite
{
TMeUrlType -> ChatInviteLinkInfo
info :: ChatInviteLinkInfo
}
|
TMeUrlTypeStickerSet
{
TMeUrlType -> I64
stickerSetId :: I64
}
deriving (I32 -> TMeUrlType -> ShowS
[TMeUrlType] -> ShowS
TMeUrlType -> String
(I32 -> TMeUrlType -> ShowS)
-> (TMeUrlType -> String)
-> ([TMeUrlType] -> ShowS)
-> Show TMeUrlType
forall a.
(I32 -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [TMeUrlType] -> ShowS
$cshowList :: [TMeUrlType] -> ShowS
show :: TMeUrlType -> String
$cshow :: TMeUrlType -> String
showsPrec :: I32 -> TMeUrlType -> ShowS
$cshowsPrec :: I32 -> TMeUrlType -> ShowS
Show, TMeUrlType -> TMeUrlType -> Bool
(TMeUrlType -> TMeUrlType -> Bool)
-> (TMeUrlType -> TMeUrlType -> Bool) -> Eq TMeUrlType
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: TMeUrlType -> TMeUrlType -> Bool
$c/= :: TMeUrlType -> TMeUrlType -> Bool
== :: TMeUrlType -> TMeUrlType -> Bool
$c== :: TMeUrlType -> TMeUrlType -> Bool
Eq, (forall x. TMeUrlType -> Rep TMeUrlType x)
-> (forall x. Rep TMeUrlType x -> TMeUrlType) -> Generic TMeUrlType
forall x. Rep TMeUrlType x -> TMeUrlType
forall x. TMeUrlType -> Rep TMeUrlType x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x. Rep TMeUrlType x -> TMeUrlType
$cfrom :: forall x. TMeUrlType -> Rep TMeUrlType x
Generic)
data TMeUrl
=
TMeUrl
{
TMeUrl -> T
url :: T,
TMeUrl -> TMeUrlType
type_ :: TMeUrlType
}
deriving (I32 -> TMeUrl -> ShowS
[TMeUrl] -> ShowS
TMeUrl -> String
(I32 -> TMeUrl -> ShowS)
-> (TMeUrl -> String) -> ([TMeUrl] -> ShowS) -> Show TMeUrl
forall a.
(I32 -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [TMeUrl] -> ShowS
$cshowList :: [TMeUrl] -> ShowS
show :: TMeUrl -> String
$cshow :: TMeUrl -> String
showsPrec :: I32 -> TMeUrl -> ShowS
$cshowsPrec :: I32 -> TMeUrl -> ShowS
Show, TMeUrl -> TMeUrl -> Bool
(TMeUrl -> TMeUrl -> Bool)
-> (TMeUrl -> TMeUrl -> Bool) -> Eq TMeUrl
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: TMeUrl -> TMeUrl -> Bool
$c/= :: TMeUrl -> TMeUrl -> Bool
== :: TMeUrl -> TMeUrl -> Bool
$c== :: TMeUrl -> TMeUrl -> Bool
Eq, (forall x. TMeUrl -> Rep TMeUrl x)
-> (forall x. Rep TMeUrl x -> TMeUrl) -> Generic TMeUrl
forall x. Rep TMeUrl x -> TMeUrl
forall x. TMeUrl -> Rep TMeUrl x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x. Rep TMeUrl x -> TMeUrl
$cfrom :: forall x. TMeUrl -> Rep TMeUrl x
Generic)
data TMeUrls
=
TMeUrls
{
TMeUrls -> [TMeUrl]
urls :: [TMeUrl]
}
deriving (I32 -> TMeUrls -> ShowS
[TMeUrls] -> ShowS
TMeUrls -> String
(I32 -> TMeUrls -> ShowS)
-> (TMeUrls -> String) -> ([TMeUrls] -> ShowS) -> Show TMeUrls
forall a.
(I32 -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [TMeUrls] -> ShowS
$cshowList :: [TMeUrls] -> ShowS
show :: TMeUrls -> String
$cshow :: TMeUrls -> String
showsPrec :: I32 -> TMeUrls -> ShowS
$cshowsPrec :: I32 -> TMeUrls -> ShowS
Show, TMeUrls -> TMeUrls -> Bool
(TMeUrls -> TMeUrls -> Bool)
-> (TMeUrls -> TMeUrls -> Bool) -> Eq TMeUrls
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: TMeUrls -> TMeUrls -> Bool
$c/= :: TMeUrls -> TMeUrls -> Bool
== :: TMeUrls -> TMeUrls -> Bool
$c== :: TMeUrls -> TMeUrls -> Bool
Eq, (forall x. TMeUrls -> Rep TMeUrls x)
-> (forall x. Rep TMeUrls x -> TMeUrls) -> Generic TMeUrls
forall x. Rep TMeUrls x -> TMeUrls
forall x. TMeUrls -> Rep TMeUrls x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x. Rep TMeUrls x -> TMeUrls
$cfrom :: forall x. TMeUrls -> Rep TMeUrls x
Generic)
data Count
=
Count
{
Count -> I32
count :: I32
}
deriving (I32 -> Count -> ShowS
[Count] -> ShowS
Count -> String
(I32 -> Count -> ShowS)
-> (Count -> String) -> ([Count] -> ShowS) -> Show Count
forall a.
(I32 -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [Count] -> ShowS
$cshowList :: [Count] -> ShowS
show :: Count -> String
$cshow :: Count -> String
showsPrec :: I32 -> Count -> ShowS
$cshowsPrec :: I32 -> Count -> ShowS
Show, Count -> Count -> Bool
(Count -> Count -> Bool) -> (Count -> Count -> Bool) -> Eq Count
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: Count -> Count -> Bool
$c/= :: Count -> Count -> Bool
== :: Count -> Count -> Bool
$c== :: Count -> Count -> Bool
Eq, (forall x. Count -> Rep Count x)
-> (forall x. Rep Count x -> Count) -> Generic Count
forall x. Rep Count x -> Count
forall x. Count -> Rep Count x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x. Rep Count x -> Count
$cfrom :: forall x. Count -> Rep Count x
Generic)
data Text
=
Text
{
Text -> T
text :: T
}
deriving (I32 -> Text -> ShowS
[Text] -> ShowS
Text -> String
(I32 -> Text -> ShowS)
-> (Text -> String) -> ([Text] -> ShowS) -> Show Text
forall a.
(I32 -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [Text] -> ShowS
$cshowList :: [Text] -> ShowS
show :: Text -> String
$cshow :: Text -> String
showsPrec :: I32 -> Text -> ShowS
$cshowsPrec :: I32 -> Text -> ShowS
Show, Text -> Text -> Bool
(Text -> Text -> Bool) -> (Text -> Text -> Bool) -> Eq Text
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: Text -> Text -> Bool
$c/= :: Text -> Text -> Bool
== :: Text -> Text -> Bool
$c== :: Text -> Text -> Bool
Eq, (forall x. Text -> Rep Text x)
-> (forall x. Rep Text x -> Text) -> Generic Text
forall x. Rep Text x -> Text
forall x. Text -> Rep Text x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x. Rep Text x -> Text
$cfrom :: forall x. Text -> Rep Text x
Generic)
data Seconds
=
Seconds
{
Seconds -> Double
seconds :: Double
}
deriving (I32 -> Seconds -> ShowS
[Seconds] -> ShowS
Seconds -> String
(I32 -> Seconds -> ShowS)
-> (Seconds -> String) -> ([Seconds] -> ShowS) -> Show Seconds
forall a.
(I32 -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [Seconds] -> ShowS
$cshowList :: [Seconds] -> ShowS
show :: Seconds -> String
$cshow :: Seconds -> String
showsPrec :: I32 -> Seconds -> ShowS
$cshowsPrec :: I32 -> Seconds -> ShowS
Show, Seconds -> Seconds -> Bool
(Seconds -> Seconds -> Bool)
-> (Seconds -> Seconds -> Bool) -> Eq Seconds
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: Seconds -> Seconds -> Bool
$c/= :: Seconds -> Seconds -> Bool
== :: Seconds -> Seconds -> Bool
$c== :: Seconds -> Seconds -> Bool
Eq, (forall x. Seconds -> Rep Seconds x)
-> (forall x. Rep Seconds x -> Seconds) -> Generic Seconds
forall x. Rep Seconds x -> Seconds
forall x. Seconds -> Rep Seconds x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x. Rep Seconds x -> Seconds
$cfrom :: forall x. Seconds -> Rep Seconds x
Generic)
data DeepLinkInfo
=
DeepLinkInfo
{
DeepLinkInfo -> FormattedText
text :: FormattedText,
DeepLinkInfo -> Bool
needUpdateApplication :: Bool
}
deriving (I32 -> DeepLinkInfo -> ShowS
[DeepLinkInfo] -> ShowS
DeepLinkInfo -> String
(I32 -> DeepLinkInfo -> ShowS)
-> (DeepLinkInfo -> String)
-> ([DeepLinkInfo] -> ShowS)
-> Show DeepLinkInfo
forall a.
(I32 -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [DeepLinkInfo] -> ShowS
$cshowList :: [DeepLinkInfo] -> ShowS
show :: DeepLinkInfo -> String
$cshow :: DeepLinkInfo -> String
showsPrec :: I32 -> DeepLinkInfo -> ShowS
$cshowsPrec :: I32 -> DeepLinkInfo -> ShowS
Show, DeepLinkInfo -> DeepLinkInfo -> Bool
(DeepLinkInfo -> DeepLinkInfo -> Bool)
-> (DeepLinkInfo -> DeepLinkInfo -> Bool) -> Eq DeepLinkInfo
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: DeepLinkInfo -> DeepLinkInfo -> Bool
$c/= :: DeepLinkInfo -> DeepLinkInfo -> Bool
== :: DeepLinkInfo -> DeepLinkInfo -> Bool
$c== :: DeepLinkInfo -> DeepLinkInfo -> Bool
Eq, (forall x. DeepLinkInfo -> Rep DeepLinkInfo x)
-> (forall x. Rep DeepLinkInfo x -> DeepLinkInfo)
-> Generic DeepLinkInfo
forall x. Rep DeepLinkInfo x -> DeepLinkInfo
forall x. DeepLinkInfo -> Rep DeepLinkInfo x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x. Rep DeepLinkInfo x -> DeepLinkInfo
$cfrom :: forall x. DeepLinkInfo -> Rep DeepLinkInfo x
Generic)
data TextParseMode
=
TextParseModeMarkdown
{
TextParseMode -> I32
version :: I32
}
|
TextParseModeHTML
{
}
deriving (I32 -> TextParseMode -> ShowS
[TextParseMode] -> ShowS
TextParseMode -> String
(I32 -> TextParseMode -> ShowS)
-> (TextParseMode -> String)
-> ([TextParseMode] -> ShowS)
-> Show TextParseMode
forall a.
(I32 -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [TextParseMode] -> ShowS
$cshowList :: [TextParseMode] -> ShowS
show :: TextParseMode -> String
$cshow :: TextParseMode -> String
showsPrec :: I32 -> TextParseMode -> ShowS
$cshowsPrec :: I32 -> TextParseMode -> ShowS
Show, TextParseMode -> TextParseMode -> Bool
(TextParseMode -> TextParseMode -> Bool)
-> (TextParseMode -> TextParseMode -> Bool) -> Eq TextParseMode
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: TextParseMode -> TextParseMode -> Bool
$c/= :: TextParseMode -> TextParseMode -> Bool
== :: TextParseMode -> TextParseMode -> Bool
$c== :: TextParseMode -> TextParseMode -> Bool
Eq, (forall x. TextParseMode -> Rep TextParseMode x)
-> (forall x. Rep TextParseMode x -> TextParseMode)
-> Generic TextParseMode
forall x. Rep TextParseMode x -> TextParseMode
forall x. TextParseMode -> Rep TextParseMode x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x. Rep TextParseMode x -> TextParseMode
$cfrom :: forall x. TextParseMode -> Rep TextParseMode x
Generic)
data ProxyType
=
ProxyTypeSocks5
{
ProxyType -> T
username :: T,
ProxyType -> T
password :: T
}
|
ProxyTypeHttp
{
username :: T,
password :: T,
ProxyType -> Bool
httpOnly :: Bool
}
|
ProxyTypeMtproto
{
ProxyType -> T
secret :: T
}
deriving (I32 -> ProxyType -> ShowS
[ProxyType] -> ShowS
ProxyType -> String
(I32 -> ProxyType -> ShowS)
-> (ProxyType -> String)
-> ([ProxyType] -> ShowS)
-> Show ProxyType
forall a.
(I32 -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [ProxyType] -> ShowS
$cshowList :: [ProxyType] -> ShowS
show :: ProxyType -> String
$cshow :: ProxyType -> String
showsPrec :: I32 -> ProxyType -> ShowS
$cshowsPrec :: I32 -> ProxyType -> ShowS
Show, ProxyType -> ProxyType -> Bool
(ProxyType -> ProxyType -> Bool)
-> (ProxyType -> ProxyType -> Bool) -> Eq ProxyType
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: ProxyType -> ProxyType -> Bool
$c/= :: ProxyType -> ProxyType -> Bool
== :: ProxyType -> ProxyType -> Bool
$c== :: ProxyType -> ProxyType -> Bool
Eq, (forall x. ProxyType -> Rep ProxyType x)
-> (forall x. Rep ProxyType x -> ProxyType) -> Generic ProxyType
forall x. Rep ProxyType x -> ProxyType
forall x. ProxyType -> Rep ProxyType x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x. Rep ProxyType x -> ProxyType
$cfrom :: forall x. ProxyType -> Rep ProxyType x
Generic)
data Proxy
=
Proxy
{
Proxy -> I32
id :: I32,
Proxy -> T
server :: T,
Proxy -> I32
port :: I32,
Proxy -> I32
lastUsedDate :: I32,
Proxy -> Bool
isEnabled :: Bool,
Proxy -> ProxyType
type_ :: ProxyType
}
deriving (I32 -> Proxy -> ShowS
[Proxy] -> ShowS
Proxy -> String
(I32 -> Proxy -> ShowS)
-> (Proxy -> String) -> ([Proxy] -> ShowS) -> Show Proxy
forall a.
(I32 -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [Proxy] -> ShowS
$cshowList :: [Proxy] -> ShowS
show :: Proxy -> String
$cshow :: Proxy -> String
showsPrec :: I32 -> Proxy -> ShowS
$cshowsPrec :: I32 -> Proxy -> ShowS
Show, Proxy -> Proxy -> Bool
(Proxy -> Proxy -> Bool) -> (Proxy -> Proxy -> Bool) -> Eq Proxy
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: Proxy -> Proxy -> Bool
$c/= :: Proxy -> Proxy -> Bool
== :: Proxy -> Proxy -> Bool
$c== :: Proxy -> Proxy -> Bool
Eq, (forall x. Proxy -> Rep Proxy x)
-> (forall x. Rep Proxy x -> Proxy) -> Generic Proxy
forall x. Rep Proxy x -> Proxy
forall x. Proxy -> Rep Proxy x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x. Rep Proxy x -> Proxy
$cfrom :: forall x. Proxy -> Rep Proxy x
Generic)
data Proxies
=
Proxies
{
Proxies -> [Proxy]
proxies :: [Proxy]
}
deriving (I32 -> Proxies -> ShowS
[Proxies] -> ShowS
Proxies -> String
(I32 -> Proxies -> ShowS)
-> (Proxies -> String) -> ([Proxies] -> ShowS) -> Show Proxies
forall a.
(I32 -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [Proxies] -> ShowS
$cshowList :: [Proxies] -> ShowS
show :: Proxies -> String
$cshow :: Proxies -> String
showsPrec :: I32 -> Proxies -> ShowS
$cshowsPrec :: I32 -> Proxies -> ShowS
Show, Proxies -> Proxies -> Bool
(Proxies -> Proxies -> Bool)
-> (Proxies -> Proxies -> Bool) -> Eq Proxies
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: Proxies -> Proxies -> Bool
$c/= :: Proxies -> Proxies -> Bool
== :: Proxies -> Proxies -> Bool
$c== :: Proxies -> Proxies -> Bool
Eq, (forall x. Proxies -> Rep Proxies x)
-> (forall x. Rep Proxies x -> Proxies) -> Generic Proxies
forall x. Rep Proxies x -> Proxies
forall x. Proxies -> Rep Proxies x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x. Rep Proxies x -> Proxies
$cfrom :: forall x. Proxies -> Rep Proxies x
Generic)
data InputSticker
=
InputStickerStatic
{
InputSticker -> InputFile
sticker :: InputFile,
InputSticker -> T
emojis :: T,
InputSticker -> Maybe MaskPosition
maskPosition :: (Maybe) (MaskPosition)
}
|
InputStickerAnimated
{
sticker :: InputFile,
emojis :: T
}
deriving (I32 -> InputSticker -> ShowS
[InputSticker] -> ShowS
InputSticker -> String
(I32 -> InputSticker -> ShowS)
-> (InputSticker -> String)
-> ([InputSticker] -> ShowS)
-> Show InputSticker
forall a.
(I32 -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [InputSticker] -> ShowS
$cshowList :: [InputSticker] -> ShowS
show :: InputSticker -> String
$cshow :: InputSticker -> String
showsPrec :: I32 -> InputSticker -> ShowS
$cshowsPrec :: I32 -> InputSticker -> ShowS
Show, InputSticker -> InputSticker -> Bool
(InputSticker -> InputSticker -> Bool)
-> (InputSticker -> InputSticker -> Bool) -> Eq InputSticker
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: InputSticker -> InputSticker -> Bool
$c/= :: InputSticker -> InputSticker -> Bool
== :: InputSticker -> InputSticker -> Bool
$c== :: InputSticker -> InputSticker -> Bool
Eq, (forall x. InputSticker -> Rep InputSticker x)
-> (forall x. Rep InputSticker x -> InputSticker)
-> Generic InputSticker
forall x. Rep InputSticker x -> InputSticker
forall x. InputSticker -> Rep InputSticker x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x. Rep InputSticker x -> InputSticker
$cfrom :: forall x. InputSticker -> Rep InputSticker x
Generic)
data DateRange
=
DateRange
{
DateRange -> I32
startDate :: I32,
DateRange -> I32
endDate :: I32
}
deriving (I32 -> DateRange -> ShowS
[DateRange] -> ShowS
DateRange -> String
(I32 -> DateRange -> ShowS)
-> (DateRange -> String)
-> ([DateRange] -> ShowS)
-> Show DateRange
forall a.
(I32 -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [DateRange] -> ShowS
$cshowList :: [DateRange] -> ShowS
show :: DateRange -> String
$cshow :: DateRange -> String
showsPrec :: I32 -> DateRange -> ShowS
$cshowsPrec :: I32 -> DateRange -> ShowS
Show, DateRange -> DateRange -> Bool
(DateRange -> DateRange -> Bool)
-> (DateRange -> DateRange -> Bool) -> Eq DateRange
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: DateRange -> DateRange -> Bool
$c/= :: DateRange -> DateRange -> Bool
== :: DateRange -> DateRange -> Bool
$c== :: DateRange -> DateRange -> Bool
Eq, (forall x. DateRange -> Rep DateRange x)
-> (forall x. Rep DateRange x -> DateRange) -> Generic DateRange
forall x. Rep DateRange x -> DateRange
forall x. DateRange -> Rep DateRange x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x. Rep DateRange x -> DateRange
$cfrom :: forall x. DateRange -> Rep DateRange x
Generic)
data StatisticsValue
=
StatisticsValue
{
StatisticsValue -> Double
value :: Double,
StatisticsValue -> Double
previousValue :: Double,
StatisticsValue -> Double
growthRatePercentage :: Double
}
deriving (I32 -> StatisticsValue -> ShowS
[StatisticsValue] -> ShowS
StatisticsValue -> String
(I32 -> StatisticsValue -> ShowS)
-> (StatisticsValue -> String)
-> ([StatisticsValue] -> ShowS)
-> Show StatisticsValue
forall a.
(I32 -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [StatisticsValue] -> ShowS
$cshowList :: [StatisticsValue] -> ShowS
show :: StatisticsValue -> String
$cshow :: StatisticsValue -> String
showsPrec :: I32 -> StatisticsValue -> ShowS
$cshowsPrec :: I32 -> StatisticsValue -> ShowS
Show, StatisticsValue -> StatisticsValue -> Bool
(StatisticsValue -> StatisticsValue -> Bool)
-> (StatisticsValue -> StatisticsValue -> Bool)
-> Eq StatisticsValue
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: StatisticsValue -> StatisticsValue -> Bool
$c/= :: StatisticsValue -> StatisticsValue -> Bool
== :: StatisticsValue -> StatisticsValue -> Bool
$c== :: StatisticsValue -> StatisticsValue -> Bool
Eq, (forall x. StatisticsValue -> Rep StatisticsValue x)
-> (forall x. Rep StatisticsValue x -> StatisticsValue)
-> Generic StatisticsValue
forall x. Rep StatisticsValue x -> StatisticsValue
forall x. StatisticsValue -> Rep StatisticsValue x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x. Rep StatisticsValue x -> StatisticsValue
$cfrom :: forall x. StatisticsValue -> Rep StatisticsValue x
Generic)
data StatisticsGraph
=
StatisticsGraphData
{
StatisticsGraph -> T
jsonData :: T,
StatisticsGraph -> T
zoomToken :: T
}
|
StatisticsGraphAsync
{
StatisticsGraph -> T
token :: T
}
|
StatisticsGraphError
{
StatisticsGraph -> T
errorMessage :: T
}
deriving (I32 -> StatisticsGraph -> ShowS
[StatisticsGraph] -> ShowS
StatisticsGraph -> String
(I32 -> StatisticsGraph -> ShowS)
-> (StatisticsGraph -> String)
-> ([StatisticsGraph] -> ShowS)
-> Show StatisticsGraph
forall a.
(I32 -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [StatisticsGraph] -> ShowS
$cshowList :: [StatisticsGraph] -> ShowS
show :: StatisticsGraph -> String
$cshow :: StatisticsGraph -> String
showsPrec :: I32 -> StatisticsGraph -> ShowS
$cshowsPrec :: I32 -> StatisticsGraph -> ShowS
Show, StatisticsGraph -> StatisticsGraph -> Bool
(StatisticsGraph -> StatisticsGraph -> Bool)
-> (StatisticsGraph -> StatisticsGraph -> Bool)
-> Eq StatisticsGraph
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: StatisticsGraph -> StatisticsGraph -> Bool
$c/= :: StatisticsGraph -> StatisticsGraph -> Bool
== :: StatisticsGraph -> StatisticsGraph -> Bool
$c== :: StatisticsGraph -> StatisticsGraph -> Bool
Eq, (forall x. StatisticsGraph -> Rep StatisticsGraph x)
-> (forall x. Rep StatisticsGraph x -> StatisticsGraph)
-> Generic StatisticsGraph
forall x. Rep StatisticsGraph x -> StatisticsGraph
forall x. StatisticsGraph -> Rep StatisticsGraph x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x. Rep StatisticsGraph x -> StatisticsGraph
$cfrom :: forall x. StatisticsGraph -> Rep StatisticsGraph x
Generic)
data ChatStatisticsMessageInteractionCounters
=
ChatStatisticsMessageInteractionCounters
{
ChatStatisticsMessageInteractionCounters -> I32
messageId :: I53,
ChatStatisticsMessageInteractionCounters -> I32
viewCount :: I32,
ChatStatisticsMessageInteractionCounters -> I32
forwardCount :: I32
}
deriving (I32 -> ChatStatisticsMessageInteractionCounters -> ShowS
[ChatStatisticsMessageInteractionCounters] -> ShowS
ChatStatisticsMessageInteractionCounters -> String
(I32 -> ChatStatisticsMessageInteractionCounters -> ShowS)
-> (ChatStatisticsMessageInteractionCounters -> String)
-> ([ChatStatisticsMessageInteractionCounters] -> ShowS)
-> Show ChatStatisticsMessageInteractionCounters
forall a.
(I32 -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [ChatStatisticsMessageInteractionCounters] -> ShowS
$cshowList :: [ChatStatisticsMessageInteractionCounters] -> ShowS
show :: ChatStatisticsMessageInteractionCounters -> String
$cshow :: ChatStatisticsMessageInteractionCounters -> String
showsPrec :: I32 -> ChatStatisticsMessageInteractionCounters -> ShowS
$cshowsPrec :: I32 -> ChatStatisticsMessageInteractionCounters -> ShowS
Show, ChatStatisticsMessageInteractionCounters
-> ChatStatisticsMessageInteractionCounters -> Bool
(ChatStatisticsMessageInteractionCounters
-> ChatStatisticsMessageInteractionCounters -> Bool)
-> (ChatStatisticsMessageInteractionCounters
-> ChatStatisticsMessageInteractionCounters -> Bool)
-> Eq ChatStatisticsMessageInteractionCounters
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: ChatStatisticsMessageInteractionCounters
-> ChatStatisticsMessageInteractionCounters -> Bool
$c/= :: ChatStatisticsMessageInteractionCounters
-> ChatStatisticsMessageInteractionCounters -> Bool
== :: ChatStatisticsMessageInteractionCounters
-> ChatStatisticsMessageInteractionCounters -> Bool
$c== :: ChatStatisticsMessageInteractionCounters
-> ChatStatisticsMessageInteractionCounters -> Bool
Eq, (forall x.
ChatStatisticsMessageInteractionCounters
-> Rep ChatStatisticsMessageInteractionCounters x)
-> (forall x.
Rep ChatStatisticsMessageInteractionCounters x
-> ChatStatisticsMessageInteractionCounters)
-> Generic ChatStatisticsMessageInteractionCounters
forall x.
Rep ChatStatisticsMessageInteractionCounters x
-> ChatStatisticsMessageInteractionCounters
forall x.
ChatStatisticsMessageInteractionCounters
-> Rep ChatStatisticsMessageInteractionCounters x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x.
Rep ChatStatisticsMessageInteractionCounters x
-> ChatStatisticsMessageInteractionCounters
$cfrom :: forall x.
ChatStatisticsMessageInteractionCounters
-> Rep ChatStatisticsMessageInteractionCounters x
Generic)
data ChatStatistics
=
ChatStatistics
{
ChatStatistics -> DateRange
period :: DateRange,
ChatStatistics -> StatisticsValue
memberCount :: StatisticsValue,
ChatStatistics -> StatisticsValue
meanViewCount :: StatisticsValue,
ChatStatistics -> StatisticsValue
meanShareCount :: StatisticsValue,
ChatStatistics -> Double
enabledNotificationsPercentage :: Double,
ChatStatistics -> StatisticsGraph
memberCountGraph :: StatisticsGraph,
ChatStatistics -> StatisticsGraph
joinGraph :: StatisticsGraph,
ChatStatistics -> StatisticsGraph
muteGraph :: StatisticsGraph,
ChatStatistics -> StatisticsGraph
viewCountByHourGraph :: StatisticsGraph,
ChatStatistics -> StatisticsGraph
viewCountBySourceGraph :: StatisticsGraph,
ChatStatistics -> StatisticsGraph
joinBySourceGraph :: StatisticsGraph,
ChatStatistics -> StatisticsGraph
languageGraph :: StatisticsGraph,
ChatStatistics -> StatisticsGraph
messageInteractionGraph :: StatisticsGraph,
ChatStatistics -> StatisticsGraph
instantViewInteractionGraph :: StatisticsGraph,
ChatStatistics -> [ChatStatisticsMessageInteractionCounters]
recentMessageInteractions :: [ChatStatisticsMessageInteractionCounters]
}
deriving (I32 -> ChatStatistics -> ShowS
[ChatStatistics] -> ShowS
ChatStatistics -> String
(I32 -> ChatStatistics -> ShowS)
-> (ChatStatistics -> String)
-> ([ChatStatistics] -> ShowS)
-> Show ChatStatistics
forall a.
(I32 -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [ChatStatistics] -> ShowS
$cshowList :: [ChatStatistics] -> ShowS
show :: ChatStatistics -> String
$cshow :: ChatStatistics -> String
showsPrec :: I32 -> ChatStatistics -> ShowS
$cshowsPrec :: I32 -> ChatStatistics -> ShowS
Show, ChatStatistics -> ChatStatistics -> Bool
(ChatStatistics -> ChatStatistics -> Bool)
-> (ChatStatistics -> ChatStatistics -> Bool) -> Eq ChatStatistics
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: ChatStatistics -> ChatStatistics -> Bool
$c/= :: ChatStatistics -> ChatStatistics -> Bool
== :: ChatStatistics -> ChatStatistics -> Bool
$c== :: ChatStatistics -> ChatStatistics -> Bool
Eq, (forall x. ChatStatistics -> Rep ChatStatistics x)
-> (forall x. Rep ChatStatistics x -> ChatStatistics)
-> Generic ChatStatistics
forall x. Rep ChatStatistics x -> ChatStatistics
forall x. ChatStatistics -> Rep ChatStatistics x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x. Rep ChatStatistics x -> ChatStatistics
$cfrom :: forall x. ChatStatistics -> Rep ChatStatistics x
Generic)
data Update
=
UpdateAuthorizationState
{
Update -> AuthorizationState
authorizationState :: AuthorizationState
}
|
UpdateNewMessage
{
Update -> Message
message :: Message
}
|
UpdateMessageSendAcknowledged
{
Update -> I32
chatId :: I53,
Update -> I32
messageId :: I53
}
|
UpdateMessageSendSucceeded
{
message :: Message,
Update -> I32
oldMessageId :: I53
}
|
UpdateMessageSendFailed
{
message :: Message,
oldMessageId :: I53,
Update -> I32
errorCode :: I32,
Update -> T
errorMessage :: T
}
|
UpdateMessageContent
{
chatId :: I53,
messageId :: I53,
Update -> MessageContent
newContent :: MessageContent
}
|
UpdateMessageEdited
{
chatId :: I53,
messageId :: I53,
Update -> I32
editDate :: I32,
Update -> Maybe ReplyMarkup
replyMarkup :: (Maybe) (ReplyMarkup)
}
|
UpdateMessageViews
{
chatId :: I53,
messageId :: I53,
Update -> I32
views :: I32
}
|
UpdateMessageContentOpened
{
chatId :: I53,
messageId :: I53
}
|
UpdateMessageMentionRead
{
chatId :: I53,
messageId :: I53,
Update -> I32
unreadMentionCount :: I32
}
|
UpdateMessageLiveLocationViewed
{
chatId :: I53,
messageId :: I53
}
|
UpdateNewChat
{
Update -> Chat
chat :: Chat
}
|
UpdateChatTitle
{
chatId :: I53,
Update -> T
title :: T
}
|
UpdateChatPhoto
{
chatId :: I53,
Update -> Maybe ChatPhoto
photo :: (Maybe) (ChatPhoto)
}
|
UpdateChatPermissions
{
chatId :: I53,
Update -> ChatPermissions
permissions :: ChatPermissions
}
|
UpdateChatLastMessage
{
chatId :: I53,
Update -> Maybe Message
lastMessage :: (Maybe) (Message),
Update -> [ChatPosition]
positions :: [ChatPosition]
}
|
UpdateChatPosition
{
chatId :: I53,
Update -> ChatPosition
position :: ChatPosition
}
|
UpdateChatIsMarkedAsUnread
{
chatId :: I53,
Update -> Bool
isMarkedAsUnread :: Bool
}
|
UpdateChatHasScheduledMessages
{
chatId :: I53,
Update -> Bool
hasScheduledMessages :: Bool
}
|
UpdateChatDefaultDisableNotification
{
chatId :: I53,
Update -> Bool
defaultDisableNotification :: Bool
}
|
UpdateChatReadInbox
{
chatId :: I53,
Update -> I32
lastReadInboxMessageId :: I53,
Update -> I32
unreadCount :: I32
}
|
UpdateChatReadOutbox
{
chatId :: I53,
Update -> I32
lastReadOutboxMessageId :: I53
}
|
UpdateChatUnreadMentionCount
{
chatId :: I53,
unreadMentionCount :: I32
}
|
UpdateChatNotificationSettings
{
chatId :: I53,
Update -> ChatNotificationSettings
notificationSettings_2 :: ChatNotificationSettings
}
|
UpdateScopeNotificationSettings
{
Update -> NotificationSettingsScope
scope :: NotificationSettingsScope,
Update -> ScopeNotificationSettings
notificationSettings :: ScopeNotificationSettings
}
|
UpdateChatActionBar
{
chatId :: I53,
Update -> Maybe ChatActionBar
actionBar :: (Maybe) (ChatActionBar)
}
|
UpdateChatPinnedMessage
{
chatId :: I53,
Update -> I32
pinnedMessageId :: I53
}
|
UpdateChatReplyMarkup
{
chatId :: I53,
Update -> I32
replyMarkupMessageId :: I53
}
|
UpdateChatDraftMessage
{
chatId :: I53,
Update -> Maybe DraftMessage
draftMessage :: (Maybe) (DraftMessage),
positions :: [ChatPosition]
}
|
UpdateChatFilters
{
Update -> [ChatFilterInfo]
chatFilters :: [ChatFilterInfo]
}
|
UpdateChatOnlineMemberCount
{
chatId :: I53,
Update -> I32
onlineMemberCount :: I32
}
|
UpdateNotification
{
Update -> I32
notificationGroupId :: I32,
Update -> Notification
notification :: Notification
}
|
UpdateNotificationGroup
{
notificationGroupId :: I32,
Update -> NotificationGroupType
type_2 :: NotificationGroupType,
chatId :: I53,
Update -> I32
notificationSettingsChatId :: I53,
Update -> Bool
isSilent :: Bool,
Update -> I32
totalCount :: I32,
Update -> [Notification]
addedNotifications :: [Notification],
Update -> [I32]
removedNotificationIds :: [I32]
}
|
UpdateActiveNotifications
{
Update -> [NotificationGroup]
groups :: [NotificationGroup]
}
|
UpdateHavePendingNotifications
{
Update -> Bool
haveDelayedNotifications :: Bool,
Update -> Bool
haveUnreceivedNotifications :: Bool
}
|
UpdateDeleteMessages
{
chatId :: I53,
Update -> [I32]
messageIds :: [I53],
Update -> Bool
isPermanent :: Bool,
Update -> Bool
fromCache :: Bool
}
|
UpdateUserChatAction
{
chatId :: I53,
Update -> I32
userId :: I32,
Update -> ChatAction
action :: ChatAction
}
|
UpdateUserStatus
{
userId :: I32,
Update -> UserStatus
status :: UserStatus
}
|
UpdateUser
{
Update -> User
user :: User
}
|
UpdateBasicGroup
{
Update -> BasicGroup
basicGroup :: BasicGroup
}
|
UpdateSupergroup
{
Update -> Supergroup
supergroup :: Supergroup
}
|
UpdateSecretChat
{
Update -> SecretChat
secretChat :: SecretChat
}
|
UpdateUserFullInfo
{
userId :: I32,
Update -> UserFullInfo
userFullInfo :: UserFullInfo
}
|
UpdateBasicGroupFullInfo
{
Update -> I32
basicGroupId :: I32,
Update -> BasicGroupFullInfo
basicGroupFullInfo :: BasicGroupFullInfo
}
|
UpdateSupergroupFullInfo
{
Update -> I32
supergroupId :: I32,
Update -> SupergroupFullInfo
supergroupFullInfo :: SupergroupFullInfo
}
|
UpdateServiceNotification
{
Update -> T
type_ :: T,
Update -> MessageContent
content :: MessageContent
}
|
UpdateFile
{
Update -> File
file :: File
}
|
UpdateFileGenerationStart
{
Update -> I64
generationId :: I64,
Update -> T
originalPath :: T,
Update -> T
destinationPath :: T,
Update -> T
conversion :: T
}
|
UpdateFileGenerationStop
{
generationId :: I64
}
|
UpdateCall
{
Update -> Call
call :: Call
}
|
UpdateUserPrivacySettingRules
{
Update -> UserPrivacySetting
setting :: UserPrivacySetting,
Update -> UserPrivacySettingRules
rules :: UserPrivacySettingRules
}
|
UpdateUnreadMessageCount
{
Update -> ChatList
chatList :: ChatList,
unreadCount :: I32,
Update -> I32
unreadUnmutedCount :: I32
}
|
UpdateUnreadChatCount
{
chatList :: ChatList,
totalCount :: I32,
unreadCount :: I32,
unreadUnmutedCount :: I32,
Update -> I32
markedAsUnreadCount :: I32,
Update -> I32
markedAsUnreadUnmutedCount :: I32
}
|
UpdateOption
{
Update -> T
name :: T,
Update -> OptionValue
value :: OptionValue
}
|
UpdateStickerSet
{
Update -> StickerSet
stickerSet :: StickerSet
}
|
UpdateInstalledStickerSets
{
Update -> Bool
isMasks :: Bool,
Update -> [I64]
stickerSetIds :: [I64]
}
|
UpdateTrendingStickerSets
{
Update -> StickerSets
stickerSets :: StickerSets
}
|
UpdateRecentStickers
{
Update -> Bool
isAttached :: Bool,
Update -> [I32]
stickerIds :: [I32]
}
|
UpdateFavoriteStickers
{
stickerIds :: [I32]
}
|
UpdateSavedAnimations
{
Update -> [I32]
animationIds :: [I32]
}
|
UpdateSelectedBackground
{
Update -> Bool
forDarkTheme :: Bool,
Update -> Maybe Background
background :: (Maybe) (Background)
}
|
UpdateLanguagePackStrings
{
Update -> T
localizationTarget :: T,
Update -> T
languagePackId :: T,
Update -> [LanguagePackString]
strings :: [LanguagePackString]
}
|
UpdateConnectionState
{
Update -> ConnectionState
state :: ConnectionState
}
|
UpdateTermsOfService
{
Update -> T
termsOfServiceId :: T,
Update -> TermsOfService
termsOfService :: TermsOfService
}
|
UpdateUsersNearby
{
Update -> [ChatNearby]
usersNearby :: [ChatNearby]
}
|
UpdateDiceEmojis
{
Update -> [T]
emojis :: [T]
}
|
UpdateAnimationSearchParameters
{
Update -> T
provider :: T,
emojis :: [T]
}
|
UpdateNewInlineQuery
{
Update -> I64
id :: I64,
Update -> I32
senderUserId :: I32,
Update -> Maybe Location
userLocation :: (Maybe) (Location),
Update -> T
query :: T,
Update -> T
offset :: T
}
|
UpdateNewChosenInlineResult
{
senderUserId :: I32,
userLocation :: (Maybe) (Location),
query :: T,
Update -> T
resultId :: T,
Update -> T
inlineMessageId :: T
}
|
UpdateNewCallbackQuery
{
id :: I64,
senderUserId :: I32,
chatId :: I53,
messageId :: I53,
Update -> I64
chatInstance :: I64,
Update -> CallbackQueryPayload
payload :: CallbackQueryPayload
}
|
UpdateNewInlineCallbackQuery
{
id :: I64,
senderUserId :: I32,
inlineMessageId :: T,
chatInstance :: I64,
payload :: CallbackQueryPayload
}
|
UpdateNewShippingQuery
{
id :: I64,
senderUserId :: I32,
Update -> T
invoicePayload_2 :: T,
Update -> Address
shippingAddress :: Address
}
|
UpdateNewPreCheckoutQuery
{
id :: I64,
senderUserId :: I32,
Update -> T
currency :: T,
Update -> I32
totalAmount :: I53,
Update -> ByteString64
invoicePayload :: ByteString64,
Update -> T
shippingOptionId :: T,
Update -> Maybe OrderInfo
orderInfo :: (Maybe) (OrderInfo)
}
|
UpdateNewCustomEvent
{
Update -> T
event :: T
}
|
UpdateNewCustomQuery
{
id :: I64,
Update -> T
data_ :: T,
Update -> I32
timeout :: I32
}
|
UpdatePoll
{
Update -> Poll
poll :: Poll
}
|
UpdatePollAnswer
{
Update -> I64
pollId :: I64,
userId :: I32,
Update -> [I32]
optionIds :: [I32]
}
deriving (I32 -> Update -> ShowS
[Update] -> ShowS
Update -> String
(I32 -> Update -> ShowS)
-> (Update -> String) -> ([Update] -> ShowS) -> Show Update
forall a.
(I32 -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [Update] -> ShowS
$cshowList :: [Update] -> ShowS
show :: Update -> String
$cshow :: Update -> String
showsPrec :: I32 -> Update -> ShowS
$cshowsPrec :: I32 -> Update -> ShowS
Show, Update -> Update -> Bool
(Update -> Update -> Bool)
-> (Update -> Update -> Bool) -> Eq Update
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: Update -> Update -> Bool
$c/= :: Update -> Update -> Bool
== :: Update -> Update -> Bool
$c== :: Update -> Update -> Bool
Eq, (forall x. Update -> Rep Update x)
-> (forall x. Rep Update x -> Update) -> Generic Update
forall x. Rep Update x -> Update
forall x. Update -> Rep Update x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x. Rep Update x -> Update
$cfrom :: forall x. Update -> Rep Update x
Generic)
data Updates
=
Updates
{
Updates -> [Update]
updates :: [Update]
}
deriving (I32 -> Updates -> ShowS
[Updates] -> ShowS
Updates -> String
(I32 -> Updates -> ShowS)
-> (Updates -> String) -> ([Updates] -> ShowS) -> Show Updates
forall a.
(I32 -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [Updates] -> ShowS
$cshowList :: [Updates] -> ShowS
show :: Updates -> String
$cshow :: Updates -> String
showsPrec :: I32 -> Updates -> ShowS
$cshowsPrec :: I32 -> Updates -> ShowS
Show, Updates -> Updates -> Bool
(Updates -> Updates -> Bool)
-> (Updates -> Updates -> Bool) -> Eq Updates
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: Updates -> Updates -> Bool
$c/= :: Updates -> Updates -> Bool
== :: Updates -> Updates -> Bool
$c== :: Updates -> Updates -> Bool
Eq, (forall x. Updates -> Rep Updates x)
-> (forall x. Rep Updates x -> Updates) -> Generic Updates
forall x. Rep Updates x -> Updates
forall x. Updates -> Rep Updates x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x. Rep Updates x -> Updates
$cfrom :: forall x. Updates -> Rep Updates x
Generic)
data LogStream
=
LogStreamDefault
{
}
|
LogStreamFile
{
LogStream -> T
path :: T,
LogStream -> I32
maxFileSize :: I53
}
|
LogStreamEmpty
{
}
deriving (I32 -> LogStream -> ShowS
[LogStream] -> ShowS
LogStream -> String
(I32 -> LogStream -> ShowS)
-> (LogStream -> String)
-> ([LogStream] -> ShowS)
-> Show LogStream
forall a.
(I32 -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [LogStream] -> ShowS
$cshowList :: [LogStream] -> ShowS
show :: LogStream -> String
$cshow :: LogStream -> String
showsPrec :: I32 -> LogStream -> ShowS
$cshowsPrec :: I32 -> LogStream -> ShowS
Show, LogStream -> LogStream -> Bool
(LogStream -> LogStream -> Bool)
-> (LogStream -> LogStream -> Bool) -> Eq LogStream
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: LogStream -> LogStream -> Bool
$c/= :: LogStream -> LogStream -> Bool
== :: LogStream -> LogStream -> Bool
$c== :: LogStream -> LogStream -> Bool
Eq, (forall x. LogStream -> Rep LogStream x)
-> (forall x. Rep LogStream x -> LogStream) -> Generic LogStream
forall x. Rep LogStream x -> LogStream
forall x. LogStream -> Rep LogStream x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x. Rep LogStream x -> LogStream
$cfrom :: forall x. LogStream -> Rep LogStream x
Generic)
data LogVerbosityLevel
=
LogVerbosityLevel
{
LogVerbosityLevel -> I32
verbosityLevel :: I32
}
deriving (I32 -> LogVerbosityLevel -> ShowS
[LogVerbosityLevel] -> ShowS
LogVerbosityLevel -> String
(I32 -> LogVerbosityLevel -> ShowS)
-> (LogVerbosityLevel -> String)
-> ([LogVerbosityLevel] -> ShowS)
-> Show LogVerbosityLevel
forall a.
(I32 -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [LogVerbosityLevel] -> ShowS
$cshowList :: [LogVerbosityLevel] -> ShowS
show :: LogVerbosityLevel -> String
$cshow :: LogVerbosityLevel -> String
showsPrec :: I32 -> LogVerbosityLevel -> ShowS
$cshowsPrec :: I32 -> LogVerbosityLevel -> ShowS
Show, LogVerbosityLevel -> LogVerbosityLevel -> Bool
(LogVerbosityLevel -> LogVerbosityLevel -> Bool)
-> (LogVerbosityLevel -> LogVerbosityLevel -> Bool)
-> Eq LogVerbosityLevel
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: LogVerbosityLevel -> LogVerbosityLevel -> Bool
$c/= :: LogVerbosityLevel -> LogVerbosityLevel -> Bool
== :: LogVerbosityLevel -> LogVerbosityLevel -> Bool
$c== :: LogVerbosityLevel -> LogVerbosityLevel -> Bool
Eq, (forall x. LogVerbosityLevel -> Rep LogVerbosityLevel x)
-> (forall x. Rep LogVerbosityLevel x -> LogVerbosityLevel)
-> Generic LogVerbosityLevel
forall x. Rep LogVerbosityLevel x -> LogVerbosityLevel
forall x. LogVerbosityLevel -> Rep LogVerbosityLevel x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x. Rep LogVerbosityLevel x -> LogVerbosityLevel
$cfrom :: forall x. LogVerbosityLevel -> Rep LogVerbosityLevel x
Generic)
data LogTags
=
LogTags
{
LogTags -> [T]
tags :: [T]
}
deriving (I32 -> LogTags -> ShowS
[LogTags] -> ShowS
LogTags -> String
(I32 -> LogTags -> ShowS)
-> (LogTags -> String) -> ([LogTags] -> ShowS) -> Show LogTags
forall a.
(I32 -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [LogTags] -> ShowS
$cshowList :: [LogTags] -> ShowS
show :: LogTags -> String
$cshow :: LogTags -> String
showsPrec :: I32 -> LogTags -> ShowS
$cshowsPrec :: I32 -> LogTags -> ShowS
Show, LogTags -> LogTags -> Bool
(LogTags -> LogTags -> Bool)
-> (LogTags -> LogTags -> Bool) -> Eq LogTags
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: LogTags -> LogTags -> Bool
$c/= :: LogTags -> LogTags -> Bool
== :: LogTags -> LogTags -> Bool
$c== :: LogTags -> LogTags -> Bool
Eq, (forall x. LogTags -> Rep LogTags x)
-> (forall x. Rep LogTags x -> LogTags) -> Generic LogTags
forall x. Rep LogTags x -> LogTags
forall x. LogTags -> Rep LogTags x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x. Rep LogTags x -> LogTags
$cfrom :: forall x. LogTags -> Rep LogTags x
Generic)
data TestInt
=
TestInt
{
TestInt -> I32
value :: I32
}
deriving (I32 -> TestInt -> ShowS
[TestInt] -> ShowS
TestInt -> String
(I32 -> TestInt -> ShowS)
-> (TestInt -> String) -> ([TestInt] -> ShowS) -> Show TestInt
forall a.
(I32 -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [TestInt] -> ShowS
$cshowList :: [TestInt] -> ShowS
show :: TestInt -> String
$cshow :: TestInt -> String
showsPrec :: I32 -> TestInt -> ShowS
$cshowsPrec :: I32 -> TestInt -> ShowS
Show, TestInt -> TestInt -> Bool
(TestInt -> TestInt -> Bool)
-> (TestInt -> TestInt -> Bool) -> Eq TestInt
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: TestInt -> TestInt -> Bool
$c/= :: TestInt -> TestInt -> Bool
== :: TestInt -> TestInt -> Bool
$c== :: TestInt -> TestInt -> Bool
Eq, (forall x. TestInt -> Rep TestInt x)
-> (forall x. Rep TestInt x -> TestInt) -> Generic TestInt
forall x. Rep TestInt x -> TestInt
forall x. TestInt -> Rep TestInt x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x. Rep TestInt x -> TestInt
$cfrom :: forall x. TestInt -> Rep TestInt x
Generic)
data TestString
=
TestString
{
TestString -> T
value :: T
}
deriving (I32 -> TestString -> ShowS
[TestString] -> ShowS
TestString -> String
(I32 -> TestString -> ShowS)
-> (TestString -> String)
-> ([TestString] -> ShowS)
-> Show TestString
forall a.
(I32 -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [TestString] -> ShowS
$cshowList :: [TestString] -> ShowS
show :: TestString -> String
$cshow :: TestString -> String
showsPrec :: I32 -> TestString -> ShowS
$cshowsPrec :: I32 -> TestString -> ShowS
Show, TestString -> TestString -> Bool
(TestString -> TestString -> Bool)
-> (TestString -> TestString -> Bool) -> Eq TestString
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: TestString -> TestString -> Bool
$c/= :: TestString -> TestString -> Bool
== :: TestString -> TestString -> Bool
$c== :: TestString -> TestString -> Bool
Eq, (forall x. TestString -> Rep TestString x)
-> (forall x. Rep TestString x -> TestString) -> Generic TestString
forall x. Rep TestString x -> TestString
forall x. TestString -> Rep TestString x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x. Rep TestString x -> TestString
$cfrom :: forall x. TestString -> Rep TestString x
Generic)
data TestBytes
=
TestBytes
{
TestBytes -> ByteString64
value :: ByteString64
}
deriving (I32 -> TestBytes -> ShowS
[TestBytes] -> ShowS
TestBytes -> String
(I32 -> TestBytes -> ShowS)
-> (TestBytes -> String)
-> ([TestBytes] -> ShowS)
-> Show TestBytes
forall a.
(I32 -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [TestBytes] -> ShowS
$cshowList :: [TestBytes] -> ShowS
show :: TestBytes -> String
$cshow :: TestBytes -> String
showsPrec :: I32 -> TestBytes -> ShowS
$cshowsPrec :: I32 -> TestBytes -> ShowS
Show, TestBytes -> TestBytes -> Bool
(TestBytes -> TestBytes -> Bool)
-> (TestBytes -> TestBytes -> Bool) -> Eq TestBytes
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: TestBytes -> TestBytes -> Bool
$c/= :: TestBytes -> TestBytes -> Bool
== :: TestBytes -> TestBytes -> Bool
$c== :: TestBytes -> TestBytes -> Bool
Eq, (forall x. TestBytes -> Rep TestBytes x)
-> (forall x. Rep TestBytes x -> TestBytes) -> Generic TestBytes
forall x. Rep TestBytes x -> TestBytes
forall x. TestBytes -> Rep TestBytes x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x. Rep TestBytes x -> TestBytes
$cfrom :: forall x. TestBytes -> Rep TestBytes x
Generic)
data TestVectorInt
=
TestVectorInt
{
TestVectorInt -> [I32]
value :: [I32]
}
deriving (I32 -> TestVectorInt -> ShowS
[TestVectorInt] -> ShowS
TestVectorInt -> String
(I32 -> TestVectorInt -> ShowS)
-> (TestVectorInt -> String)
-> ([TestVectorInt] -> ShowS)
-> Show TestVectorInt
forall a.
(I32 -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [TestVectorInt] -> ShowS
$cshowList :: [TestVectorInt] -> ShowS
show :: TestVectorInt -> String
$cshow :: TestVectorInt -> String
showsPrec :: I32 -> TestVectorInt -> ShowS
$cshowsPrec :: I32 -> TestVectorInt -> ShowS
Show, TestVectorInt -> TestVectorInt -> Bool
(TestVectorInt -> TestVectorInt -> Bool)
-> (TestVectorInt -> TestVectorInt -> Bool) -> Eq TestVectorInt
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: TestVectorInt -> TestVectorInt -> Bool
$c/= :: TestVectorInt -> TestVectorInt -> Bool
== :: TestVectorInt -> TestVectorInt -> Bool
$c== :: TestVectorInt -> TestVectorInt -> Bool
Eq, (forall x. TestVectorInt -> Rep TestVectorInt x)
-> (forall x. Rep TestVectorInt x -> TestVectorInt)
-> Generic TestVectorInt
forall x. Rep TestVectorInt x -> TestVectorInt
forall x. TestVectorInt -> Rep TestVectorInt x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x. Rep TestVectorInt x -> TestVectorInt
$cfrom :: forall x. TestVectorInt -> Rep TestVectorInt x
Generic)
data TestVectorIntObject
=
TestVectorIntObject
{
TestVectorIntObject -> [TestInt]
value :: [TestInt]
}
deriving (I32 -> TestVectorIntObject -> ShowS
[TestVectorIntObject] -> ShowS
TestVectorIntObject -> String
(I32 -> TestVectorIntObject -> ShowS)
-> (TestVectorIntObject -> String)
-> ([TestVectorIntObject] -> ShowS)
-> Show TestVectorIntObject
forall a.
(I32 -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [TestVectorIntObject] -> ShowS
$cshowList :: [TestVectorIntObject] -> ShowS
show :: TestVectorIntObject -> String
$cshow :: TestVectorIntObject -> String
showsPrec :: I32 -> TestVectorIntObject -> ShowS
$cshowsPrec :: I32 -> TestVectorIntObject -> ShowS
Show, TestVectorIntObject -> TestVectorIntObject -> Bool
(TestVectorIntObject -> TestVectorIntObject -> Bool)
-> (TestVectorIntObject -> TestVectorIntObject -> Bool)
-> Eq TestVectorIntObject
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: TestVectorIntObject -> TestVectorIntObject -> Bool
$c/= :: TestVectorIntObject -> TestVectorIntObject -> Bool
== :: TestVectorIntObject -> TestVectorIntObject -> Bool
$c== :: TestVectorIntObject -> TestVectorIntObject -> Bool
Eq, (forall x. TestVectorIntObject -> Rep TestVectorIntObject x)
-> (forall x. Rep TestVectorIntObject x -> TestVectorIntObject)
-> Generic TestVectorIntObject
forall x. Rep TestVectorIntObject x -> TestVectorIntObject
forall x. TestVectorIntObject -> Rep TestVectorIntObject x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x. Rep TestVectorIntObject x -> TestVectorIntObject
$cfrom :: forall x. TestVectorIntObject -> Rep TestVectorIntObject x
Generic)
data TestVectorString
=
TestVectorString
{
TestVectorString -> [T]
value :: [T]
}
deriving (I32 -> TestVectorString -> ShowS
[TestVectorString] -> ShowS
TestVectorString -> String
(I32 -> TestVectorString -> ShowS)
-> (TestVectorString -> String)
-> ([TestVectorString] -> ShowS)
-> Show TestVectorString
forall a.
(I32 -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [TestVectorString] -> ShowS
$cshowList :: [TestVectorString] -> ShowS
show :: TestVectorString -> String
$cshow :: TestVectorString -> String
showsPrec :: I32 -> TestVectorString -> ShowS
$cshowsPrec :: I32 -> TestVectorString -> ShowS
Show, TestVectorString -> TestVectorString -> Bool
(TestVectorString -> TestVectorString -> Bool)
-> (TestVectorString -> TestVectorString -> Bool)
-> Eq TestVectorString
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: TestVectorString -> TestVectorString -> Bool
$c/= :: TestVectorString -> TestVectorString -> Bool
== :: TestVectorString -> TestVectorString -> Bool
$c== :: TestVectorString -> TestVectorString -> Bool
Eq, (forall x. TestVectorString -> Rep TestVectorString x)
-> (forall x. Rep TestVectorString x -> TestVectorString)
-> Generic TestVectorString
forall x. Rep TestVectorString x -> TestVectorString
forall x. TestVectorString -> Rep TestVectorString x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x. Rep TestVectorString x -> TestVectorString
$cfrom :: forall x. TestVectorString -> Rep TestVectorString x
Generic)
data TestVectorStringObject
=
TestVectorStringObject
{
TestVectorStringObject -> [TestString]
value :: [TestString]
}
deriving (I32 -> TestVectorStringObject -> ShowS
[TestVectorStringObject] -> ShowS
TestVectorStringObject -> String
(I32 -> TestVectorStringObject -> ShowS)
-> (TestVectorStringObject -> String)
-> ([TestVectorStringObject] -> ShowS)
-> Show TestVectorStringObject
forall a.
(I32 -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [TestVectorStringObject] -> ShowS
$cshowList :: [TestVectorStringObject] -> ShowS
show :: TestVectorStringObject -> String
$cshow :: TestVectorStringObject -> String
showsPrec :: I32 -> TestVectorStringObject -> ShowS
$cshowsPrec :: I32 -> TestVectorStringObject -> ShowS
Show, TestVectorStringObject -> TestVectorStringObject -> Bool
(TestVectorStringObject -> TestVectorStringObject -> Bool)
-> (TestVectorStringObject -> TestVectorStringObject -> Bool)
-> Eq TestVectorStringObject
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: TestVectorStringObject -> TestVectorStringObject -> Bool
$c/= :: TestVectorStringObject -> TestVectorStringObject -> Bool
== :: TestVectorStringObject -> TestVectorStringObject -> Bool
$c== :: TestVectorStringObject -> TestVectorStringObject -> Bool
Eq, (forall x. TestVectorStringObject -> Rep TestVectorStringObject x)
-> (forall x.
Rep TestVectorStringObject x -> TestVectorStringObject)
-> Generic TestVectorStringObject
forall x. Rep TestVectorStringObject x -> TestVectorStringObject
forall x. TestVectorStringObject -> Rep TestVectorStringObject x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x. Rep TestVectorStringObject x -> TestVectorStringObject
$cfrom :: forall x. TestVectorStringObject -> Rep TestVectorStringObject x
Generic)