Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Synopsis
- data SetStickerKeywordsRequest = SetStickerKeywordsRequest {}
- type SetStickerKeywords = "setStickerKeywords" :> (ReqBody '[JSON] SetStickerKeywordsRequest :> Post '[JSON] (Response Bool))
- setStickerKeywords :: SetStickerKeywordsRequest -> ClientM (Response Bool)
- defSetStickerKeywords :: Text -> SetStickerKeywordsRequest
setStickerKeywords
data SetStickerKeywordsRequest Source #
Request parameters for setStickerKeywords
.
SetStickerKeywordsRequest | |
|
Instances
FromJSON SetStickerKeywordsRequest Source # | |
ToJSON SetStickerKeywordsRequest Source # | |
Defined in Telegram.Bot.API.Methods.SetStickerKeywords | |
Generic SetStickerKeywordsRequest Source # | |
Defined in Telegram.Bot.API.Methods.SetStickerKeywords type Rep SetStickerKeywordsRequest :: Type -> Type # | |
type Rep SetStickerKeywordsRequest Source # | |
Defined in Telegram.Bot.API.Methods.SetStickerKeywords type Rep SetStickerKeywordsRequest = D1 ('MetaData "SetStickerKeywordsRequest" "Telegram.Bot.API.Methods.SetStickerKeywords" "telegram-bot-api-7.4.1-2WtpFhMXNFKIB67Pjf7fgm" 'False) (C1 ('MetaCons "SetStickerKeywordsRequest" 'PrefixI 'True) (S1 ('MetaSel ('Just "setStickerKeywordsSticker") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text) :*: S1 ('MetaSel ('Just "setStickerKeywordsKeywords") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe [Text])))) |
type SetStickerKeywords = "setStickerKeywords" :> (ReqBody '[JSON] SetStickerKeywordsRequest :> Post '[JSON] (Response Bool)) Source #
setStickerKeywords :: SetStickerKeywordsRequest -> ClientM (Response Bool) Source #
Use this method to change search keywords
assigned to a regular or custom emoji sticker.
The sticker must belong to a sticker set created by the bot.
Returns True
on success.