Safe Haskell | Safe-Inferred |
---|---|
Language | GHC2021 |
TD.Query.RequestQrCodeAuthentication
Synopsis
Documentation
data RequestQrCodeAuthentication Source #
Requests QR code authentication by scanning a QR code on another logged in device. Works only when the current authorization state is authorizationStateWaitPhoneNumber, or if there is no pending authentication query and the current authorization state is authorizationStateWaitPremiumPurchase, authorizationStateWaitEmailAddress, authorizationStateWaitEmailCode, authorizationStateWaitCode, authorizationStateWaitRegistration, or authorizationStateWaitPassword. Returns Ok
Constructors
RequestQrCodeAuthentication | |
Fields
|
Instances
ToJSON RequestQrCodeAuthentication Source # | |
Defined in TD.Query.RequestQrCodeAuthentication Methods toJSON :: RequestQrCodeAuthentication -> Value # toEncoding :: RequestQrCodeAuthentication -> Encoding # toJSONList :: [RequestQrCodeAuthentication] -> Value # toEncodingList :: [RequestQrCodeAuthentication] -> Encoding # | |
Show RequestQrCodeAuthentication Source # | |
Defined in TD.Query.RequestQrCodeAuthentication Methods showsPrec :: Int -> RequestQrCodeAuthentication -> ShowS # show :: RequestQrCodeAuthentication -> String # showList :: [RequestQrCodeAuthentication] -> ShowS # | |
Eq RequestQrCodeAuthentication Source # | |
Defined in TD.Query.RequestQrCodeAuthentication Methods (==) :: RequestQrCodeAuthentication -> RequestQrCodeAuthentication -> Bool # (/=) :: RequestQrCodeAuthentication -> RequestQrCodeAuthentication -> Bool # | |
ShortShow RequestQrCodeAuthentication Source # | |
Defined in TD.Query.RequestQrCodeAuthentication Methods |