telegram-types-0.1.0: Types used in Telegram bot API

Safe HaskellNone
LanguageHaskell2010

Web.Telegram.Types.Input

Contents

Description

Sending files

Synopsis

Sending Media

data InputMediaAnimation Source #

Instances
Eq InputMediaAnimation Source # 
Instance details

Defined in Web.Telegram.Types.Internal.InputMedia

Show InputMediaAnimation Source # 
Instance details

Defined in Web.Telegram.Types.Internal.InputMedia

Generic InputMediaAnimation Source # 
Instance details

Defined in Web.Telegram.Types.Internal.InputMedia

Associated Types

type Rep InputMediaAnimation :: Type -> Type #

ToJSON InputMediaAnimation Source # 
Instance details

Defined in Web.Telegram.Types.Internal.InputMedia

ToJSON InputMedia Source # 
Instance details

Defined in Web.Telegram.Types.Internal.InputMedia

ToHttpApiData InputMediaAnimation Source # 
Instance details

Defined in Web.Telegram.Types.Internal.InputMedia

Default InputMediaAnimation Source # 
Instance details

Defined in Web.Telegram.Types.Internal.InputMedia

ToMultipart Mem InputMediaAnimation Source # 
Instance details

Defined in Web.Telegram.Types.Internal.InputMedia

ToMultipart Mem InputMedia Source # 
Instance details

Defined in Web.Telegram.Types.Internal.InputMedia

ToHttpApiData (Union (InputMediaAnimation ': (InputMediaDocument ': (InputMediaAudio ': (InputMediaVideo ': (InputMediaPhoto ': ([] :: [Type]))))))) Source # 
Instance details

Defined in Web.Telegram.Types.Internal.InputMedia

type Rep InputMediaAnimation Source # 
Instance details

Defined in Web.Telegram.Types.Internal.InputMedia

data InputMediaAudio Source #

Instances
Eq InputMediaAudio Source # 
Instance details

Defined in Web.Telegram.Types.Internal.InputMedia

Show InputMediaAudio Source # 
Instance details

Defined in Web.Telegram.Types.Internal.InputMedia

Generic InputMediaAudio Source # 
Instance details

Defined in Web.Telegram.Types.Internal.InputMedia

Associated Types

type Rep InputMediaAudio :: Type -> Type #

ToJSON InputMediaAudio Source # 
Instance details

Defined in Web.Telegram.Types.Internal.InputMedia

ToJSON InputMedia Source # 
Instance details

Defined in Web.Telegram.Types.Internal.InputMedia

ToHttpApiData InputMediaAudio Source # 
Instance details

Defined in Web.Telegram.Types.Internal.InputMedia

Default InputMediaAudio Source # 
Instance details

Defined in Web.Telegram.Types.Internal.InputMedia

ToMultipart Mem InputMediaAudio Source # 
Instance details

Defined in Web.Telegram.Types.Internal.InputMedia

ToMultipart Mem InputMedia Source # 
Instance details

Defined in Web.Telegram.Types.Internal.InputMedia

ToHttpApiData (Union (InputMediaAnimation ': (InputMediaDocument ': (InputMediaAudio ': (InputMediaVideo ': (InputMediaPhoto ': ([] :: [Type]))))))) Source # 
Instance details

Defined in Web.Telegram.Types.Internal.InputMedia

type Rep InputMediaAudio Source # 
Instance details

Defined in Web.Telegram.Types.Internal.InputMedia

data InputMediaDocument Source #

Instances
Eq InputMediaDocument Source # 
Instance details

Defined in Web.Telegram.Types.Internal.InputMedia

Show InputMediaDocument Source # 
Instance details

Defined in Web.Telegram.Types.Internal.InputMedia

Generic InputMediaDocument Source # 
Instance details

Defined in Web.Telegram.Types.Internal.InputMedia

Associated Types

type Rep InputMediaDocument :: Type -> Type #

ToJSON InputMediaDocument Source # 
Instance details

Defined in Web.Telegram.Types.Internal.InputMedia

ToJSON InputMedia Source # 
Instance details

Defined in Web.Telegram.Types.Internal.InputMedia

ToHttpApiData InputMediaDocument Source # 
Instance details

Defined in Web.Telegram.Types.Internal.InputMedia

Default InputMediaDocument Source # 
Instance details

Defined in Web.Telegram.Types.Internal.InputMedia

ToMultipart Mem InputMediaDocument Source # 
Instance details

Defined in Web.Telegram.Types.Internal.InputMedia

ToMultipart Mem InputMedia Source # 
Instance details

Defined in Web.Telegram.Types.Internal.InputMedia

ToHttpApiData (Union (InputMediaAnimation ': (InputMediaDocument ': (InputMediaAudio ': (InputMediaVideo ': (InputMediaPhoto ': ([] :: [Type]))))))) Source # 
Instance details

Defined in Web.Telegram.Types.Internal.InputMedia

type Rep InputMediaDocument Source # 
Instance details

Defined in Web.Telegram.Types.Internal.InputMedia

type Rep InputMediaDocument = D1 (MetaData "InputMediaDocument" "Web.Telegram.Types.Internal.InputMedia" "telegram-types-0.1.0-6TiTf83FaoyKIwaUxcYK63" False) (C1 (MetaCons "InputMediaDocument" PrefixI True) ((S1 (MetaSel (Just "media") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Either Text Media)) :*: S1 (MetaSel (Just "thumb") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe Text))) :*: (S1 (MetaSel (Just "caption") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "parseMode") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe ParseMode)))))

data InputMediaVideo Source #

Instances
Eq InputMediaVideo Source # 
Instance details

Defined in Web.Telegram.Types.Internal.InputMedia

Show InputMediaVideo Source # 
Instance details

Defined in Web.Telegram.Types.Internal.InputMedia

Generic InputMediaVideo Source # 
Instance details

Defined in Web.Telegram.Types.Internal.InputMedia

Associated Types

type Rep InputMediaVideo :: Type -> Type #

ToJSON InputMediaVideo Source # 
Instance details

Defined in Web.Telegram.Types.Internal.InputMedia

ToJSON InputMedia Source # 
Instance details

Defined in Web.Telegram.Types.Internal.InputMedia

ToJSON VideoOrPhoto Source # 
Instance details

Defined in Web.Telegram.Types.Internal.InputMedia

ToHttpApiData InputMediaVideo Source # 
Instance details

Defined in Web.Telegram.Types.Internal.InputMedia

Default InputMediaVideo Source # 
Instance details

Defined in Web.Telegram.Types.Internal.InputMedia

ToMultipart Mem InputMediaVideo Source # 
Instance details

Defined in Web.Telegram.Types.Internal.InputMedia

ToMultipart Mem InputMedia Source # 
Instance details

Defined in Web.Telegram.Types.Internal.InputMedia

ToMultipart Mem VideoOrPhoto Source # 
Instance details

Defined in Web.Telegram.Types.Internal.InputMedia

ToHttpApiData (Union (InputMediaPhoto ': (InputMediaVideo ': ([] :: [Type])))) Source # 
Instance details

Defined in Web.Telegram.Types.Internal.InputMedia

ToHttpApiData (Union (InputMediaAnimation ': (InputMediaDocument ': (InputMediaAudio ': (InputMediaVideo ': (InputMediaPhoto ': ([] :: [Type]))))))) Source # 
Instance details

Defined in Web.Telegram.Types.Internal.InputMedia

type Rep InputMediaVideo Source # 
Instance details

Defined in Web.Telegram.Types.Internal.InputMedia

type Rep InputMediaVideo = D1 (MetaData "InputMediaVideo" "Web.Telegram.Types.Internal.InputMedia" "telegram-types-0.1.0-6TiTf83FaoyKIwaUxcYK63" False) (C1 (MetaCons "InputMediaVideo" PrefixI True) ((S1 (MetaSel (Just "media") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Either Text Media)) :*: S1 (MetaSel (Just "thumb") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe Text))) :*: (S1 (MetaSel (Just "caption") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "parseMode") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe ParseMode)))))

data InputMediaPhoto Source #

Instances
Eq InputMediaPhoto Source # 
Instance details

Defined in Web.Telegram.Types.Internal.InputMedia

Show InputMediaPhoto Source # 
Instance details

Defined in Web.Telegram.Types.Internal.InputMedia

Generic InputMediaPhoto Source # 
Instance details

Defined in Web.Telegram.Types.Internal.InputMedia

Associated Types

type Rep InputMediaPhoto :: Type -> Type #

ToJSON InputMediaPhoto Source # 
Instance details

Defined in Web.Telegram.Types.Internal.InputMedia

ToJSON InputMedia Source # 
Instance details

Defined in Web.Telegram.Types.Internal.InputMedia

ToJSON VideoOrPhoto Source # 
Instance details

Defined in Web.Telegram.Types.Internal.InputMedia

ToHttpApiData InputMediaPhoto Source # 
Instance details

Defined in Web.Telegram.Types.Internal.InputMedia

Default InputMediaPhoto Source # 
Instance details

Defined in Web.Telegram.Types.Internal.InputMedia

ToMultipart Mem InputMediaPhoto Source # 
Instance details

Defined in Web.Telegram.Types.Internal.InputMedia

ToMultipart Mem InputMedia Source # 
Instance details

Defined in Web.Telegram.Types.Internal.InputMedia

ToMultipart Mem VideoOrPhoto Source # 
Instance details

Defined in Web.Telegram.Types.Internal.InputMedia

ToHttpApiData (Union (InputMediaPhoto ': (InputMediaVideo ': ([] :: [Type])))) Source # 
Instance details

Defined in Web.Telegram.Types.Internal.InputMedia

ToHttpApiData (Union (InputMediaAnimation ': (InputMediaDocument ': (InputMediaAudio ': (InputMediaVideo ': (InputMediaPhoto ': ([] :: [Type]))))))) Source # 
Instance details

Defined in Web.Telegram.Types.Internal.InputMedia

type Rep InputMediaPhoto Source # 
Instance details

Defined in Web.Telegram.Types.Internal.InputMedia

type Rep InputMediaPhoto = D1 (MetaData "InputMediaPhoto" "Web.Telegram.Types.Internal.InputMedia" "telegram-types-0.1.0-6TiTf83FaoyKIwaUxcYK63" False) (C1 (MetaCons "InputMediaPhoto" PrefixI True) (S1 (MetaSel (Just "media") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Either Text Media)) :*: (S1 (MetaSel (Just "caption") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "parseMode") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe ParseMode)))))

Uploading Files

data InputFile Source #

Constructors

InputFile 
Instances
Eq InputFile Source # 
Instance details

Defined in Web.Telegram.Types.Internal.InputFile

Show InputFile Source # 
Instance details

Defined in Web.Telegram.Types.Internal.InputFile

Generic InputFile Source # 
Instance details

Defined in Web.Telegram.Types.Internal.InputFile

Associated Types

type Rep InputFile :: Type -> Type #

Default InputFile Source # 
Instance details

Defined in Web.Telegram.Types.Internal.InputFile

Methods

def :: InputFile Source #

type Rep InputFile Source # 
Instance details

Defined in Web.Telegram.Types.Internal.InputFile

type Rep InputFile = D1 (MetaData "InputFile" "Web.Telegram.Types.Internal.InputFile" "telegram-types-0.1.0-6TiTf83FaoyKIwaUxcYK63" False) (C1 (MetaCons "InputFile" PrefixI True) (S1 (MetaSel (Just "fileName") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Text) :*: (S1 (MetaSel (Just "mimeType") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Text) :*: S1 (MetaSel (Just "content") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 ByteString))))

newtype Cert Source #

Constructors

Cert InputFile 
Instances
Eq Cert Source # 
Instance details

Defined in Web.Telegram.Types.Internal.InputFile

Methods

(==) :: Cert -> Cert -> Bool #

(/=) :: Cert -> Cert -> Bool #

Show Cert Source # 
Instance details

Defined in Web.Telegram.Types.Internal.InputFile

Methods

showsPrec :: Int -> Cert -> ShowS #

show :: Cert -> String #

showList :: [Cert] -> ShowS #

Generic Cert Source # 
Instance details

Defined in Web.Telegram.Types.Internal.InputFile

Associated Types

type Rep Cert :: Type -> Type #

Methods

from :: Cert -> Rep Cert x #

to :: Rep Cert x -> Cert #

Default Cert Source # 
Instance details

Defined in Web.Telegram.Types.Internal.InputFile

Methods

def :: Cert Source #

ToMultipart Mem Cert Source # 
Instance details

Defined in Web.Telegram.Types.Internal.InputFile

type Rep Cert Source # 
Instance details

Defined in Web.Telegram.Types.Internal.InputFile

type Rep Cert = D1 (MetaData "Cert" "Web.Telegram.Types.Internal.InputFile" "telegram-types-0.1.0-6TiTf83FaoyKIwaUxcYK63" True) (C1 (MetaCons "Cert" PrefixI False) (S1 (MetaSel (Nothing :: Maybe Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 InputFile)))

newtype Thumb Source #

Constructors

Thumb InputFile 
Instances
Eq Thumb Source # 
Instance details

Defined in Web.Telegram.Types.Internal.InputFile

Methods

(==) :: Thumb -> Thumb -> Bool #

(/=) :: Thumb -> Thumb -> Bool #

Show Thumb Source # 
Instance details

Defined in Web.Telegram.Types.Internal.InputFile

Methods

showsPrec :: Int -> Thumb -> ShowS #

show :: Thumb -> String #

showList :: [Thumb] -> ShowS #

Generic Thumb Source # 
Instance details

Defined in Web.Telegram.Types.Internal.InputFile

Associated Types

type Rep Thumb :: Type -> Type #

Methods

from :: Thumb -> Rep Thumb x #

to :: Rep Thumb x -> Thumb #

Default Thumb Source # 
Instance details

Defined in Web.Telegram.Types.Internal.InputFile

Methods

def :: Thumb Source #

ToMultipart Mem Thumb Source # 
Instance details

Defined in Web.Telegram.Types.Internal.InputFile

type Rep Thumb Source # 
Instance details

Defined in Web.Telegram.Types.Internal.InputFile

type Rep Thumb = D1 (MetaData "Thumb" "Web.Telegram.Types.Internal.InputFile" "telegram-types-0.1.0-6TiTf83FaoyKIwaUxcYK63" True) (C1 (MetaCons "Thumb" PrefixI False) (S1 (MetaSel (Nothing :: Maybe Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 InputFile)))

newtype Photo Source #

Constructors

Photo InputFile 
Instances
Eq Photo Source # 
Instance details

Defined in Web.Telegram.Types.Internal.InputFile

Methods

(==) :: Photo -> Photo -> Bool #

(/=) :: Photo -> Photo -> Bool #

Show Photo Source # 
Instance details

Defined in Web.Telegram.Types.Internal.InputFile

Methods

showsPrec :: Int -> Photo -> ShowS #

show :: Photo -> String #

showList :: [Photo] -> ShowS #

Generic Photo Source # 
Instance details

Defined in Web.Telegram.Types.Internal.InputFile

Associated Types

type Rep Photo :: Type -> Type #

Methods

from :: Photo -> Rep Photo x #

to :: Rep Photo x -> Photo #

Default Photo Source # 
Instance details

Defined in Web.Telegram.Types.Internal.InputFile

Methods

def :: Photo Source #

ToMultipart Mem Photo Source # 
Instance details

Defined in Web.Telegram.Types.Internal.InputFile

type Rep Photo Source # 
Instance details

Defined in Web.Telegram.Types.Internal.InputFile

type Rep Photo = D1 (MetaData "Photo" "Web.Telegram.Types.Internal.InputFile" "telegram-types-0.1.0-6TiTf83FaoyKIwaUxcYK63" True) (C1 (MetaCons "Photo" PrefixI False) (S1 (MetaSel (Nothing :: Maybe Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 InputFile)))

newtype Doc Source #

Constructors

Doc InputFile 
Instances
Eq Doc Source # 
Instance details

Defined in Web.Telegram.Types.Internal.InputFile

Methods

(==) :: Doc -> Doc -> Bool #

(/=) :: Doc -> Doc -> Bool #

Show Doc Source # 
Instance details

Defined in Web.Telegram.Types.Internal.InputFile

Methods

showsPrec :: Int -> Doc -> ShowS #

show :: Doc -> String #

showList :: [Doc] -> ShowS #

Generic Doc Source # 
Instance details

Defined in Web.Telegram.Types.Internal.InputFile

Associated Types

type Rep Doc :: Type -> Type #

Methods

from :: Doc -> Rep Doc x #

to :: Rep Doc x -> Doc #

Default Doc Source # 
Instance details

Defined in Web.Telegram.Types.Internal.InputFile

Methods

def :: Doc Source #

ToMultipart Mem Doc Source # 
Instance details

Defined in Web.Telegram.Types.Internal.InputFile

type Rep Doc Source # 
Instance details

Defined in Web.Telegram.Types.Internal.InputFile

type Rep Doc = D1 (MetaData "Doc" "Web.Telegram.Types.Internal.InputFile" "telegram-types-0.1.0-6TiTf83FaoyKIwaUxcYK63" True) (C1 (MetaCons "Doc" PrefixI False) (S1 (MetaSel (Nothing :: Maybe Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 InputFile)))

newtype Animation Source #

Constructors

Animation InputFile 
Instances
Eq Animation Source # 
Instance details

Defined in Web.Telegram.Types.Internal.InputFile

Show Animation Source # 
Instance details

Defined in Web.Telegram.Types.Internal.InputFile

Generic Animation Source # 
Instance details

Defined in Web.Telegram.Types.Internal.InputFile

Associated Types

type Rep Animation :: Type -> Type #

Default Animation Source # 
Instance details

Defined in Web.Telegram.Types.Internal.InputFile

Methods

def :: Animation Source #

ToMultipart Mem Animation Source # 
Instance details

Defined in Web.Telegram.Types.Internal.InputFile

type Rep Animation Source # 
Instance details

Defined in Web.Telegram.Types.Internal.InputFile

type Rep Animation = D1 (MetaData "Animation" "Web.Telegram.Types.Internal.InputFile" "telegram-types-0.1.0-6TiTf83FaoyKIwaUxcYK63" True) (C1 (MetaCons "Animation" PrefixI False) (S1 (MetaSel (Nothing :: Maybe Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 InputFile)))

newtype Audio Source #

Constructors

Audio InputFile 
Instances
Eq Audio Source # 
Instance details

Defined in Web.Telegram.Types.Internal.InputFile

Methods

(==) :: Audio -> Audio -> Bool #

(/=) :: Audio -> Audio -> Bool #

Show Audio Source # 
Instance details

Defined in Web.Telegram.Types.Internal.InputFile

Methods

showsPrec :: Int -> Audio -> ShowS #

show :: Audio -> String #

showList :: [Audio] -> ShowS #

Generic Audio Source # 
Instance details

Defined in Web.Telegram.Types.Internal.InputFile

Associated Types

type Rep Audio :: Type -> Type #

Methods

from :: Audio -> Rep Audio x #

to :: Rep Audio x -> Audio #

Default Audio Source # 
Instance details

Defined in Web.Telegram.Types.Internal.InputFile

Methods

def :: Audio Source #

ToMultipart Mem Audio Source # 
Instance details

Defined in Web.Telegram.Types.Internal.InputFile

type Rep Audio Source # 
Instance details

Defined in Web.Telegram.Types.Internal.InputFile

type Rep Audio = D1 (MetaData "Audio" "Web.Telegram.Types.Internal.InputFile" "telegram-types-0.1.0-6TiTf83FaoyKIwaUxcYK63" True) (C1 (MetaCons "Audio" PrefixI False) (S1 (MetaSel (Nothing :: Maybe Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 InputFile)))

newtype Voice Source #

Constructors

Voice InputFile 
Instances
Eq Voice Source # 
Instance details

Defined in Web.Telegram.Types.Internal.InputFile

Methods

(==) :: Voice -> Voice -> Bool #

(/=) :: Voice -> Voice -> Bool #

Show Voice Source # 
Instance details

Defined in Web.Telegram.Types.Internal.InputFile

Methods

showsPrec :: Int -> Voice -> ShowS #

show :: Voice -> String #

showList :: [Voice] -> ShowS #

Generic Voice Source # 
Instance details

Defined in Web.Telegram.Types.Internal.InputFile

Associated Types

type Rep Voice :: Type -> Type #

Methods

from :: Voice -> Rep Voice x #

to :: Rep Voice x -> Voice #

Default Voice Source # 
Instance details

Defined in Web.Telegram.Types.Internal.InputFile

Methods

def :: Voice Source #

ToMultipart Mem Voice Source # 
Instance details

Defined in Web.Telegram.Types.Internal.InputFile

type Rep Voice Source # 
Instance details

Defined in Web.Telegram.Types.Internal.InputFile

type Rep Voice = D1 (MetaData "Voice" "Web.Telegram.Types.Internal.InputFile" "telegram-types-0.1.0-6TiTf83FaoyKIwaUxcYK63" True) (C1 (MetaCons "Voice" PrefixI False) (S1 (MetaSel (Nothing :: Maybe Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 InputFile)))

newtype Video Source #

Constructors

Video InputFile 
Instances
Eq Video Source # 
Instance details

Defined in Web.Telegram.Types.Internal.InputFile

Methods

(==) :: Video -> Video -> Bool #

(/=) :: Video -> Video -> Bool #

Show Video Source # 
Instance details

Defined in Web.Telegram.Types.Internal.InputFile

Methods

showsPrec :: Int -> Video -> ShowS #

show :: Video -> String #

showList :: [Video] -> ShowS #

Generic Video Source # 
Instance details

Defined in Web.Telegram.Types.Internal.InputFile

Associated Types

type Rep Video :: Type -> Type #

Methods

from :: Video -> Rep Video x #

to :: Rep Video x -> Video #

Default Video Source # 
Instance details

Defined in Web.Telegram.Types.Internal.InputFile

Methods

def :: Video Source #

ToMultipart Mem Video Source # 
Instance details

Defined in Web.Telegram.Types.Internal.InputFile

type Rep Video Source # 
Instance details

Defined in Web.Telegram.Types.Internal.InputFile

type Rep Video = D1 (MetaData "Video" "Web.Telegram.Types.Internal.InputFile" "telegram-types-0.1.0-6TiTf83FaoyKIwaUxcYK63" True) (C1 (MetaCons "Video" PrefixI False) (S1 (MetaSel (Nothing :: Maybe Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 InputFile)))

newtype VideoNote Source #

Constructors

VideoNote InputFile 
Instances
Eq VideoNote Source # 
Instance details

Defined in Web.Telegram.Types.Internal.InputFile

Show VideoNote Source # 
Instance details

Defined in Web.Telegram.Types.Internal.InputFile

Generic VideoNote Source # 
Instance details

Defined in Web.Telegram.Types.Internal.InputFile

Associated Types

type Rep VideoNote :: Type -> Type #

Default VideoNote Source # 
Instance details

Defined in Web.Telegram.Types.Internal.InputFile

Methods

def :: VideoNote Source #

ToMultipart Mem VideoNote Source # 
Instance details

Defined in Web.Telegram.Types.Internal.InputFile

type Rep VideoNote Source # 
Instance details

Defined in Web.Telegram.Types.Internal.InputFile

type Rep VideoNote = D1 (MetaData "VideoNote" "Web.Telegram.Types.Internal.InputFile" "telegram-types-0.1.0-6TiTf83FaoyKIwaUxcYK63" True) (C1 (MetaCons "VideoNote" PrefixI False) (S1 (MetaSel (Nothing :: Maybe Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 InputFile)))

newtype Sticker Source #

Constructors

Sticker InputFile 
Instances
Eq Sticker Source # 
Instance details

Defined in Web.Telegram.Types.Internal.InputFile

Methods

(==) :: Sticker -> Sticker -> Bool #

(/=) :: Sticker -> Sticker -> Bool #

Show Sticker Source # 
Instance details

Defined in Web.Telegram.Types.Internal.InputFile

Generic Sticker Source # 
Instance details

Defined in Web.Telegram.Types.Internal.InputFile

Associated Types

type Rep Sticker :: Type -> Type #

Methods

from :: Sticker -> Rep Sticker x #

to :: Rep Sticker x -> Sticker #

Default Sticker Source # 
Instance details

Defined in Web.Telegram.Types.Internal.InputFile

Methods

def :: Sticker Source #

ToMultipart Mem Sticker Source # 
Instance details

Defined in Web.Telegram.Types.Internal.InputFile

type Rep Sticker Source # 
Instance details

Defined in Web.Telegram.Types.Internal.InputFile

type Rep Sticker = D1 (MetaData "Sticker" "Web.Telegram.Types.Internal.InputFile" "telegram-types-0.1.0-6TiTf83FaoyKIwaUxcYK63" True) (C1 (MetaCons "Sticker" PrefixI False) (S1 (MetaSel (Nothing :: Maybe Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 InputFile)))

newtype PngSticker Source #

Constructors

PngSticker InputFile 
Instances
Eq PngSticker Source # 
Instance details

Defined in Web.Telegram.Types.Internal.InputFile

Show PngSticker Source # 
Instance details

Defined in Web.Telegram.Types.Internal.InputFile

Generic PngSticker Source # 
Instance details

Defined in Web.Telegram.Types.Internal.InputFile

Associated Types

type Rep PngSticker :: Type -> Type #

Default PngSticker Source # 
Instance details

Defined in Web.Telegram.Types.Internal.InputFile

ToMultipart Mem PngSticker Source # 
Instance details

Defined in Web.Telegram.Types.Internal.InputFile

type Rep PngSticker Source # 
Instance details

Defined in Web.Telegram.Types.Internal.InputFile

type Rep PngSticker = D1 (MetaData "PngSticker" "Web.Telegram.Types.Internal.InputFile" "telegram-types-0.1.0-6TiTf83FaoyKIwaUxcYK63" True) (C1 (MetaCons "PngSticker" PrefixI False) (S1 (MetaSel (Nothing :: Maybe Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 InputFile)))

newtype TgsSticker Source #

Constructors

TgsSticker InputFile 
Instances
Eq TgsSticker Source # 
Instance details

Defined in Web.Telegram.Types.Internal.InputFile

Show TgsSticker Source # 
Instance details

Defined in Web.Telegram.Types.Internal.InputFile

Generic TgsSticker Source # 
Instance details

Defined in Web.Telegram.Types.Internal.InputFile

Associated Types

type Rep TgsSticker :: Type -> Type #

Default TgsSticker Source # 
Instance details

Defined in Web.Telegram.Types.Internal.InputFile

ToMultipart Mem TgsSticker Source # 
Instance details

Defined in Web.Telegram.Types.Internal.InputFile

type Rep TgsSticker Source # 
Instance details

Defined in Web.Telegram.Types.Internal.InputFile

type Rep TgsSticker = D1 (MetaData "TgsSticker" "Web.Telegram.Types.Internal.InputFile" "telegram-types-0.1.0-6TiTf83FaoyKIwaUxcYK63" True) (C1 (MetaCons "TgsSticker" PrefixI False) (S1 (MetaSel (Nothing :: Maybe Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 InputFile)))

newtype Media Source #

Constructors

Media InputFile 
Instances
Eq Media Source # 
Instance details

Defined in Web.Telegram.Types.Internal.InputFile

Methods

(==) :: Media -> Media -> Bool #

(/=) :: Media -> Media -> Bool #

Show Media Source # 
Instance details

Defined in Web.Telegram.Types.Internal.InputFile

Methods

showsPrec :: Int -> Media -> ShowS #

show :: Media -> String #

showList :: [Media] -> ShowS #

Generic Media Source # 
Instance details

Defined in Web.Telegram.Types.Internal.InputFile

Associated Types

type Rep Media :: Type -> Type #

Methods

from :: Media -> Rep Media x #

to :: Rep Media x -> Media #

Default Media Source # 
Instance details

Defined in Web.Telegram.Types.Internal.InputFile

Methods

def :: Media Source #

ToMultipart Mem Media Source # 
Instance details

Defined in Web.Telegram.Types.Internal.InputFile

type Rep Media Source # 
Instance details

Defined in Web.Telegram.Types.Internal.InputFile

type Rep Media = D1 (MetaData "Media" "Web.Telegram.Types.Internal.InputFile" "telegram-types-0.1.0-6TiTf83FaoyKIwaUxcYK63" True) (C1 (MetaCons "Media" PrefixI False) (S1 (MetaSel (Nothing :: Maybe Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 InputFile)))