Safe Haskell | None |
---|---|
Language | Haskell2010 |
Documentation
type EditMessageCaption = Base :> ("editMessageCaption" :> (CaptionEdit :> Res)) Source #
type EditMessageMedia = Base :> ("editMessageMedia" :> (QueryParam "chat_id" ChatId :> (QueryParam "message_id" Integer :> (QueryParam "inline_message_id" Text :> (CompoundParam Mem "media" InputMedia :> Res))))) Source #
type EditMessageReplyMarkup = Base :> ("editMessageReplyMarkup" :> (ReqBody '[JSON] MarkupEdit :> Res)) Source #
type StopPoll = Base :> ("stopPoll" :> (ReqBody '[JSON] PollStop :> Get '[JSON] (ReqResult Poll))) Source #
type DeleteMessage = Base :> ("deleteMessage" :> (QueryR "chat_id" ChatId :> (QueryR "message_id" Integer :> Get '[JSON] (ReqResult Bool)))) Source #
Instances
data CaptionEdit Source #
Instances
Instances
Eq MediaEdit Source # | |
Show MediaEdit Source # | |
Generic MediaEdit Source # | |
ToJSON MediaEdit Source # | |
Defined in Web.Telegram.API.Editing.Data | |
Default MediaEdit Source # | |
Defined in Web.Telegram.API.Editing.Data | |
type Rep MediaEdit Source # | |
Defined in Web.Telegram.API.Editing.Data type Rep MediaEdit = D1 (MetaData "MediaEdit" "Web.Telegram.API.Editing.Data" "telegram-raw-api-0.1.0-6INSX8mwqV2A3qTaYNvjDy" False) (C1 (MetaCons "MediaE" PrefixI True) ((S1 (MetaSel (Just "chatId") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe ChatId)) :*: S1 (MetaSel (Just "messageId") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe Integer))) :*: (S1 (MetaSel (Just "inlineMessageId") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "media") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 InputMedia)))) |
data MarkupEdit Source #
Instances
Instances
Eq PollStop Source # | |
Show PollStop Source # | |
Generic PollStop Source # | |
ToJSON PollStop Source # | |
Defined in Web.Telegram.API.Editing.Data | |
Default PollStop Source # | |
Defined in Web.Telegram.API.Editing.Data | |
type Rep PollStop Source # | |
Defined in Web.Telegram.API.Editing.Data type Rep PollStop = D1 (MetaData "PollStop" "Web.Telegram.API.Editing.Data" "telegram-raw-api-0.1.0-6INSX8mwqV2A3qTaYNvjDy" False) (C1 (MetaCons "PollStop" PrefixI True) (S1 (MetaSel (Just "chatId") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 ChatId) :*: (S1 (MetaSel (Just "messageId") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Integer) :*: S1 (MetaSel (Just "replyMarkup") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe InlineKeyboardMarkup))))) |