Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Synopsis
- type ForwardMessage = "forwardMessage" :> (ReqBody '[JSON] ForwardMessageRequest :> Post '[JSON] (Response Message))
- forwardMessage :: ForwardMessageRequest -> ClientM (Response Message)
- data ForwardMessageRequest = ForwardMessageRequest {}
- defForwardMessage :: SomeChatId -> SomeChatId -> MessageId -> ForwardMessageRequest
forwardMessage
type ForwardMessage = "forwardMessage" :> (ReqBody '[JSON] ForwardMessageRequest :> Post '[JSON] (Response Message)) Source #
forwardMessage :: ForwardMessageRequest -> ClientM (Response Message) Source #
Use this method to forward messages of any kind.
On success, the sent Message
is returned.
data ForwardMessageRequest Source #
Request parameters for forwardMessage
.
ForwardMessageRequest | |
|