telegram-bot-api-7.4.4: Easy to use library for building Telegram bots. Exports Telegram Bot API.
Safe HaskellSafe-Inferred
LanguageHaskell2010

Telegram.Bot.API.Methods.ForwardMessage

Synopsis

forwardMessage

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.

Constructors

ForwardMessageRequest 

Fields

Instances

Instances details
FromJSON ForwardMessageRequest Source # 
Instance details

Defined in Telegram.Bot.API.Methods.ForwardMessage

ToJSON ForwardMessageRequest Source # 
Instance details

Defined in Telegram.Bot.API.Methods.ForwardMessage

Generic ForwardMessageRequest Source # 
Instance details

Defined in Telegram.Bot.API.Methods.ForwardMessage

Associated Types

type Rep ForwardMessageRequest :: Type -> Type #

type Rep ForwardMessageRequest Source # 
Instance details

Defined in Telegram.Bot.API.Methods.ForwardMessage

type Rep ForwardMessageRequest = D1 ('MetaData "ForwardMessageRequest" "Telegram.Bot.API.Methods.ForwardMessage" "telegram-bot-api-7.4.4-fdOK3VCUfTCfzXncfzYz7" 'False) (C1 ('MetaCons "ForwardMessageRequest" 'PrefixI 'True) ((S1 ('MetaSel ('Just "forwardMessageChatId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 SomeChatId) :*: (S1 ('MetaSel ('Just "forwardMessageMessageThreadId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe MessageThreadId)) :*: S1 ('MetaSel ('Just "forwardMessageFromChatId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 SomeChatId))) :*: (S1 ('MetaSel ('Just "forwardMessageDisableNotification") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Bool)) :*: (S1 ('MetaSel ('Just "forwardMessageProtectContent") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "forwardMessageMessageId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 MessageId)))))