Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Synopsis
- data SetCustomEmojiStickerSetThumbnailRequest = SetCustomEmojiStickerSetThumbnailRequest {}
- type SetCustomEmojiStickerSetThumbnail = "setCustomEmojiStickerSetThumbnail" :> (ReqBody '[JSON] SetCustomEmojiStickerSetThumbnailRequest :> Post '[JSON] (Response Bool))
- setCustomEmojiStickerSetThumbnail :: SetCustomEmojiStickerSetThumbnailRequest -> ClientM (Response Bool)
- defSetCustomEmojiStickerSetThumbnail :: Text -> SetCustomEmojiStickerSetThumbnailRequest
setCustomEmojiStickerSetThumbnail
data SetCustomEmojiStickerSetThumbnailRequest Source #
SetCustomEmojiStickerSetThumbnailRequest | |
|
Instances
FromJSON SetCustomEmojiStickerSetThumbnailRequest Source # | |
ToJSON SetCustomEmojiStickerSetThumbnailRequest Source # | |
Generic SetCustomEmojiStickerSetThumbnailRequest Source # | |
type Rep SetCustomEmojiStickerSetThumbnailRequest Source # | |
Defined in Telegram.Bot.API.Methods.SetCustomEmojiStickerSetThumbnail type Rep SetCustomEmojiStickerSetThumbnailRequest = D1 ('MetaData "SetCustomEmojiStickerSetThumbnailRequest" "Telegram.Bot.API.Methods.SetCustomEmojiStickerSetThumbnail" "telegram-bot-api-6.7.1-JVNyvYxjlO5KvMz4dPbeZL" 'False) (C1 ('MetaCons "SetCustomEmojiStickerSetThumbnailRequest" 'PrefixI 'True) (S1 ('MetaSel ('Just "setCustomEmojiStickerSetThumbnailName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text) :*: S1 ('MetaSel ('Just "setCustomEmojiStickerSetThumbnailCustomEmojiId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Text)))) |
type SetCustomEmojiStickerSetThumbnail = "setCustomEmojiStickerSetThumbnail" :> (ReqBody '[JSON] SetCustomEmojiStickerSetThumbnailRequest :> Post '[JSON] (Response Bool)) Source #
setCustomEmojiStickerSetThumbnail :: SetCustomEmojiStickerSetThumbnailRequest -> ClientM (Response Bool) Source #
Use this method to set the thumbnail of a custom emoji sticker set.
Returns True
on success.