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

Telegram.Bot.API.Types.Sticker

Synopsis

Sticker

data Sticker Source #

This object represents a sticker.

Constructors

Sticker 

Fields

Instances

Instances details
FromJSON Sticker Source # 
Instance details

Defined in Telegram.Bot.API.Types.Sticker

ToJSON Sticker Source # 
Instance details

Defined in Telegram.Bot.API.Types.Sticker

Generic Sticker Source # 
Instance details

Defined in Telegram.Bot.API.Types.Sticker

Associated Types

type Rep Sticker :: Type -> Type #

Methods

from :: Sticker -> Rep Sticker x #

to :: Rep Sticker x -> Sticker #

Show Sticker Source # 
Instance details

Defined in Telegram.Bot.API.Types.Sticker

type Rep Sticker Source # 
Instance details

Defined in Telegram.Bot.API.Types.Sticker

type Rep Sticker = D1 ('MetaData "Sticker" "Telegram.Bot.API.Types.Sticker" "telegram-bot-api-6.5-3pY7XQZ5v9zCuyh8HdDMyB" 'False) (C1 ('MetaCons "Sticker" 'PrefixI 'True) (((S1 ('MetaSel ('Just "stickerFileId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 FileId) :*: (S1 ('MetaSel ('Just "stickerFileUniqueId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 FileId) :*: S1 ('MetaSel ('Just "stickerWidth") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Int))) :*: (S1 ('MetaSel ('Just "stickerHeight") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Int) :*: (S1 ('MetaSel ('Just "stickerIsAnimated") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Bool) :*: S1 ('MetaSel ('Just "stickerIsVideo") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Bool)))) :*: ((S1 ('MetaSel ('Just "stickerThumb") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe PhotoSize)) :*: (S1 ('MetaSel ('Just "stickerEmoji") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "stickerSetName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Text)))) :*: ((S1 ('MetaSel ('Just "stickerPremiumAnimation") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe File)) :*: S1 ('MetaSel ('Just "stickerMaskPosition") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe MaskPosition))) :*: (S1 ('MetaSel ('Just "stickerCustomEmojiId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "stickerFileSize") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Integer)))))))

StickerSet

data StickerSet Source #

This object represents a sticker set.

Constructors

StickerSet 

Fields

Instances

Instances details
FromJSON StickerSet Source # 
Instance details

Defined in Telegram.Bot.API.Types.Sticker

ToJSON StickerSet Source # 
Instance details

Defined in Telegram.Bot.API.Types.Sticker

Generic StickerSet Source # 
Instance details

Defined in Telegram.Bot.API.Types.Sticker

Associated Types

type Rep StickerSet :: Type -> Type #

Show StickerSet Source # 
Instance details

Defined in Telegram.Bot.API.Types.Sticker

type Rep StickerSet Source # 
Instance details

Defined in Telegram.Bot.API.Types.Sticker

type Rep StickerSet = D1 ('MetaData "StickerSet" "Telegram.Bot.API.Types.Sticker" "telegram-bot-api-6.5-3pY7XQZ5v9zCuyh8HdDMyB" 'False) (C1 ('MetaCons "StickerSet" 'PrefixI 'True) (((S1 ('MetaSel ('Just "stickerSetName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text) :*: S1 ('MetaSel ('Just "stickerSetTitle") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)) :*: (S1 ('MetaSel ('Just "stickerSetType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 StickerSetType) :*: S1 ('MetaSel ('Just "stickerSetIsAnimated") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Bool))) :*: ((S1 ('MetaSel ('Just "stickerSetIsVideo") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Bool) :*: S1 ('MetaSel ('Just "stickerSetContainsMasks") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Bool))) :*: (S1 ('MetaSel ('Just "stickerSetStickers") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [Sticker]) :*: S1 ('MetaSel ('Just "stickerSetThumb") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe PhotoSize))))))

data StickerSetType Source #

Type of stickers in the set, currently one of “regular”, “mask”, “custom_emoji”.

Instances

Instances details
FromJSON StickerSetType Source # 
Instance details

Defined in Telegram.Bot.API.Types.Sticker

ToJSON StickerSetType Source # 
Instance details

Defined in Telegram.Bot.API.Types.Sticker

Generic StickerSetType Source # 
Instance details

Defined in Telegram.Bot.API.Types.Sticker

Associated Types

type Rep StickerSetType :: Type -> Type #

Show StickerSetType Source # 
Instance details

Defined in Telegram.Bot.API.Types.Sticker

Eq StickerSetType Source # 
Instance details

Defined in Telegram.Bot.API.Types.Sticker

type Rep StickerSetType Source # 
Instance details

Defined in Telegram.Bot.API.Types.Sticker

type Rep StickerSetType = D1 ('MetaData "StickerSetType" "Telegram.Bot.API.Types.Sticker" "telegram-bot-api-6.5-3pY7XQZ5v9zCuyh8HdDMyB" 'False) (C1 ('MetaCons "StickerSetTypeRegular" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "StickerSetTypeMask" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "StickerSetTypeCustomEmoji" 'PrefixI 'False) (U1 :: Type -> Type)))