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

Synopsis

setStickerMaskPosition

data SetStickerMaskPositionRequest Source #

Request parameters for setStickerMaskPosition.

Constructors

SetStickerMaskPositionRequest 

Fields

Instances

Instances details
FromJSON SetStickerMaskPositionRequest Source # 
Instance details

Defined in Telegram.Bot.API.Methods.SetStickerMaskPosition

ToJSON SetStickerMaskPositionRequest Source # 
Instance details

Defined in Telegram.Bot.API.Methods.SetStickerMaskPosition

Generic SetStickerMaskPositionRequest Source # 
Instance details

Defined in Telegram.Bot.API.Methods.SetStickerMaskPosition

Associated Types

type Rep SetStickerMaskPositionRequest :: Type -> Type #

type Rep SetStickerMaskPositionRequest Source # 
Instance details

Defined in Telegram.Bot.API.Methods.SetStickerMaskPosition

type Rep SetStickerMaskPositionRequest = D1 ('MetaData "SetStickerMaskPositionRequest" "Telegram.Bot.API.Methods.SetStickerMaskPosition" "telegram-bot-api-6.7-8B5O9jcStFh8aacJiwZZeM" 'False) (C1 ('MetaCons "SetStickerMaskPositionRequest" 'PrefixI 'True) (S1 ('MetaSel ('Just "setStickerMaskPositionSticker") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text) :*: S1 ('MetaSel ('Just "setStickerMaskPositionMaskPosition") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe [MaskPosition]))))

setStickerMaskPosition :: SetStickerMaskPositionRequest -> ClientM (Response Bool) Source #

Use this method to change the mask position of a mask sticker. The sticker must belong to a sticker set that was created by the bot. Returns True on success.