| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
Web.Telegram.API.CompoundParam
Description
Compound parameters
Documentation
data CompoundParam (tag :: Type) (sym :: Symbol) (a :: Type) Source #
Instances
| (KnownSymbol sym, ToHttpApiData a, HasClient m api, ToMultipart tag a, MultipartBackend tag) => HasClient m (CompoundParam tag sym a :> api) Source # | |
Defined in Web.Telegram.API.CompoundParam Associated Types type Client m (CompoundParam tag sym a :> api) :: Type # Methods clientWithRoute :: Proxy m -> Proxy (CompoundParam tag sym a :> api) -> Request -> Client m (CompoundParam tag sym a :> api) # hoistClientMonad :: Proxy m -> Proxy (CompoundParam tag sym a :> api) -> (forall x. mon x -> mon' x) -> Client mon (CompoundParam tag sym a :> api) -> Client mon' (CompoundParam tag sym a :> api) # | |
| type Client m (CompoundParam tag sym a :> api) Source # | |
Defined in Web.Telegram.API.CompoundParam | |
data CompoundParams (tag :: Type) (sym :: Symbol) (a :: Type) Source #
Instances
| (KnownSymbol sym, ToHttpApiData a, HasClient m api, ToMultipart tag a, MultipartBackend tag) => HasClient m (CompoundParams tag sym a :> api) Source # | |
Defined in Web.Telegram.API.CompoundParam Associated Types type Client m (CompoundParams tag sym a :> api) :: Type # Methods clientWithRoute :: Proxy m -> Proxy (CompoundParams tag sym a :> api) -> Request -> Client m (CompoundParams tag sym a :> api) # hoistClientMonad :: Proxy m -> Proxy (CompoundParams tag sym a :> api) -> (forall x. mon x -> mon' x) -> Client mon (CompoundParams tag sym a :> api) -> Client mon' (CompoundParams tag sym a :> api) # | |
| type Client m (CompoundParams tag sym a :> api) Source # | |
Defined in Web.Telegram.API.CompoundParam | |
Constructors
| Warp a |
Instances
| ToHttpApiData a => ToHttpApiData (Warp [a]) Source # | |
Defined in Web.Telegram.API.CompoundParam Methods toUrlPiece :: Warp [a] -> Text # toEncodedUrlPiece :: Warp [a] -> Builder # toHeader :: Warp [a] -> ByteString # toQueryParam :: Warp [a] -> Text # | |