Safe Haskell | Safe-Inferred |
---|---|
Language | GHC2021 |
Synopsis
- data SetTdlibParameters = SetTdlibParameters {
- use_test_dc :: Maybe Bool
- database_directory :: Maybe Text
- files_directory :: Maybe Text
- database_encryption_key :: Maybe ByteString
- use_file_database :: Maybe Bool
- use_chat_info_database :: Maybe Bool
- use_message_database :: Maybe Bool
- use_secret_chats :: Maybe Bool
- api_id :: Maybe Int
- api_hash :: Maybe Text
- system_language_code :: Maybe Text
- device_model :: Maybe Text
- system_version :: Maybe Text
- application_version :: Maybe Text
- defaultSetTdlibParameters :: SetTdlibParameters
Documentation
data SetTdlibParameters Source #
Sets the parameters for TDLib initialization. Works only when the current authorization state is authorizationStateWaitTdlibParameters. Returns Ok
SetTdlibParameters | |
|
Instances
ToJSON SetTdlibParameters Source # | |
Defined in TD.Query.SetTdlibParameters toJSON :: SetTdlibParameters -> Value # toEncoding :: SetTdlibParameters -> Encoding # toJSONList :: [SetTdlibParameters] -> Value # toEncodingList :: [SetTdlibParameters] -> Encoding # | |
Show SetTdlibParameters Source # | |
Defined in TD.Query.SetTdlibParameters showsPrec :: Int -> SetTdlibParameters -> ShowS # show :: SetTdlibParameters -> String # showList :: [SetTdlibParameters] -> ShowS # | |
Eq SetTdlibParameters Source # | |
Defined in TD.Query.SetTdlibParameters (==) :: SetTdlibParameters -> SetTdlibParameters -> Bool # (/=) :: SetTdlibParameters -> SetTdlibParameters -> Bool # | |
ShortShow SetTdlibParameters Source # | |
Defined in TD.Query.SetTdlibParameters shortShow :: SetTdlibParameters -> String Source # |