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.SetStickerEmojiList

Synopsis

setStickerEmojiList

data SetStickerEmojiListRequest Source #

Request parameters for setStickerEmojiList.

Constructors

SetStickerEmojiListRequest 

Fields

Instances

Instances details
FromJSON SetStickerEmojiListRequest Source # 
Instance details

Defined in Telegram.Bot.API.Methods.SetStickerEmojiList

ToJSON SetStickerEmojiListRequest Source # 
Instance details

Defined in Telegram.Bot.API.Methods.SetStickerEmojiList

Generic SetStickerEmojiListRequest Source # 
Instance details

Defined in Telegram.Bot.API.Methods.SetStickerEmojiList

Associated Types

type Rep SetStickerEmojiListRequest :: Type -> Type #

type Rep SetStickerEmojiListRequest Source # 
Instance details

Defined in Telegram.Bot.API.Methods.SetStickerEmojiList

type Rep SetStickerEmojiListRequest = D1 ('MetaData "SetStickerEmojiListRequest" "Telegram.Bot.API.Methods.SetStickerEmojiList" "telegram-bot-api-6.7-8B5O9jcStFh8aacJiwZZeM" 'False) (C1 ('MetaCons "SetStickerEmojiListRequest" 'PrefixI 'True) (S1 ('MetaSel ('Just "setStickerEmojiListSticker") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text) :*: S1 ('MetaSel ('Just "setStickerEmojiListEmojiList") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [Text])))

setStickerEmojiList :: SetStickerEmojiListRequest -> ClientM (Response Bool) Source #

Use this method to change the list of emoji assigned to a regular or custom emoji sticker. The sticker must belong to a sticker set created by the bot. Returns True on success.