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

Telegram.Bot.API.Methods.SetStickerKeywords

Synopsis

setStickerKeywords

data SetStickerKeywordsRequest Source #

Request parameters for setStickerKeywords.

Constructors

SetStickerKeywordsRequest 

Fields

Instances

Instances details
FromJSON SetStickerKeywordsRequest Source # 
Instance details

Defined in Telegram.Bot.API.Methods.SetStickerKeywords

ToJSON SetStickerKeywordsRequest Source # 
Instance details

Defined in Telegram.Bot.API.Methods.SetStickerKeywords

Generic SetStickerKeywordsRequest Source # 
Instance details

Defined in Telegram.Bot.API.Methods.SetStickerKeywords

Associated Types

type Rep SetStickerKeywordsRequest :: Type -> Type #

type Rep SetStickerKeywordsRequest Source # 
Instance details

Defined in Telegram.Bot.API.Methods.SetStickerKeywords

type Rep SetStickerKeywordsRequest = D1 ('MetaData "SetStickerKeywordsRequest" "Telegram.Bot.API.Methods.SetStickerKeywords" "telegram-bot-api-6.7-8B5O9jcStFh8aacJiwZZeM" '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]))))

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.