Safe Haskell | Safe-Inferred |
---|---|
Language | GHC2021 |
Synopsis
Documentation
data SetPassportElement Source #
Adds an element to the user's Telegram Passport. May return an error with a message PHONE_VERIFICATION_NEEDED or EMAIL_VERIFICATION_NEEDED if the chosen phone number or the chosen email address must be verified first. Returns PassportElement
Instances
ToJSON SetPassportElement Source # | |
Defined in TD.Query.SetPassportElement toJSON :: SetPassportElement -> Value # toEncoding :: SetPassportElement -> Encoding # toJSONList :: [SetPassportElement] -> Value # toEncodingList :: [SetPassportElement] -> Encoding # | |
Show SetPassportElement Source # | |
Defined in TD.Query.SetPassportElement showsPrec :: Int -> SetPassportElement -> ShowS # show :: SetPassportElement -> String # showList :: [SetPassportElement] -> ShowS # | |
Eq SetPassportElement Source # | |
Defined in TD.Query.SetPassportElement (==) :: SetPassportElement -> SetPassportElement -> Bool # (/=) :: SetPassportElement -> SetPassportElement -> Bool # | |
ShortShow SetPassportElement Source # | |
Defined in TD.Query.SetPassportElement shortShow :: SetPassportElement -> String Source # |