telegram-bot-simple-0.3.7: Easy to use library for building Telegram bots.
Safe HaskellNone
LanguageHaskell2010

Telegram.Bot.API.InlineMode.InlineQueryResult

Synopsis

Documentation

data InlineQueryResult Source #

This object represents one result of an inline query

Instances

Instances details
Show InlineQueryResult Source # 
Instance details

Defined in Telegram.Bot.API.InlineMode.InlineQueryResult

Generic InlineQueryResult Source # 
Instance details

Defined in Telegram.Bot.API.InlineMode.InlineQueryResult

Associated Types

type Rep InlineQueryResult :: Type -> Type #

ToJSON InlineQueryResult Source # 
Instance details

Defined in Telegram.Bot.API.InlineMode.InlineQueryResult

FromJSON InlineQueryResult Source # 
Instance details

Defined in Telegram.Bot.API.InlineMode.InlineQueryResult

type Rep InlineQueryResult Source # 
Instance details

Defined in Telegram.Bot.API.InlineMode.InlineQueryResult

type Rep InlineQueryResult = D1 ('MetaData "InlineQueryResult" "Telegram.Bot.API.InlineMode.InlineQueryResult" "telegram-bot-simple-0.3.7-HZUAaklEXjr8K6d7MsBs9a" 'False) (C1 ('MetaCons "InlineQueryResult" 'PrefixI 'True) ((S1 ('MetaSel ('Just "inlineQueryResultType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 InlineQueryResultType) :*: S1 ('MetaSel ('Just "inlineQueryResultId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 InlineQueryResultId)) :*: (S1 ('MetaSel ('Just "inlineQueryResultTitle") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "inlineQueryResultInputMessageContent") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe InputMessageContent)))))

newtype InlineQueryResultId Source #

Instances

Instances details
Eq InlineQueryResultId Source # 
Instance details

Defined in Telegram.Bot.API.InlineMode.InlineQueryResult

Show InlineQueryResultId Source # 
Instance details

Defined in Telegram.Bot.API.InlineMode.InlineQueryResult

Generic InlineQueryResultId Source # 
Instance details

Defined in Telegram.Bot.API.InlineMode.InlineQueryResult

Associated Types

type Rep InlineQueryResultId :: Type -> Type #

Hashable InlineQueryResultId Source # 
Instance details

Defined in Telegram.Bot.API.InlineMode.InlineQueryResult

ToJSON InlineQueryResultId Source # 
Instance details

Defined in Telegram.Bot.API.InlineMode.InlineQueryResult

FromJSON InlineQueryResultId Source # 
Instance details

Defined in Telegram.Bot.API.InlineMode.InlineQueryResult

type Rep InlineQueryResultId Source # 
Instance details

Defined in Telegram.Bot.API.InlineMode.InlineQueryResult

type Rep InlineQueryResultId = D1 ('MetaData "InlineQueryResultId" "Telegram.Bot.API.InlineMode.InlineQueryResult" "telegram-bot-simple-0.3.7-HZUAaklEXjr8K6d7MsBs9a" 'True) (C1 ('MetaCons "InlineQueryResultId" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

data InlineQueryResultType Source #

Type of inline query result

Instances

Instances details
Eq InlineQueryResultType Source # 
Instance details

Defined in Telegram.Bot.API.InlineMode.InlineQueryResult

Show InlineQueryResultType Source # 
Instance details

Defined in Telegram.Bot.API.InlineMode.InlineQueryResult

Generic InlineQueryResultType Source # 
Instance details

Defined in Telegram.Bot.API.InlineMode.InlineQueryResult

Associated Types

type Rep InlineQueryResultType :: Type -> Type #

ToJSON InlineQueryResultType Source # 
Instance details

Defined in Telegram.Bot.API.InlineMode.InlineQueryResult

FromJSON InlineQueryResultType Source # 
Instance details

Defined in Telegram.Bot.API.InlineMode.InlineQueryResult

type Rep InlineQueryResultType Source # 
Instance details

Defined in Telegram.Bot.API.InlineMode.InlineQueryResult

type Rep InlineQueryResultType = D1 ('MetaData "InlineQueryResultType" "Telegram.Bot.API.InlineMode.InlineQueryResult" "telegram-bot-simple-0.3.7-HZUAaklEXjr8K6d7MsBs9a" 'False) ((((C1 ('MetaCons "InlineQueryResultCachedAudio" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "InlineQueryResultCachedDocument" 'PrefixI 'False) (U1 :: Type -> Type)) :+: (C1 ('MetaCons "InlineQueryResultCachedGif" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "InlineQueryResultCachedMpeg4Gif" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "InlineQueryResultCachedPhoto" 'PrefixI 'False) (U1 :: Type -> Type)))) :+: ((C1 ('MetaCons "InlineQueryResultCachedSticker" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "InlineQueryResultCachedVideo" 'PrefixI 'False) (U1 :: Type -> Type)) :+: (C1 ('MetaCons "InlineQueryResultCachedVoice" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "InlineQueryResultArticle" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "InlineQueryResultAudio" 'PrefixI 'False) (U1 :: Type -> Type))))) :+: (((C1 ('MetaCons "InlineQueryResultContact" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "InlineQueryResultGame" 'PrefixI 'False) (U1 :: Type -> Type)) :+: (C1 ('MetaCons "InlineQueryResultDocument" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "InlineQueryResultGif" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "InlineQueryResultLocation" 'PrefixI 'False) (U1 :: Type -> Type)))) :+: ((C1 ('MetaCons "InlineQueryResultMpeg4Gif" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "InlineQueryResultPhoto" 'PrefixI 'False) (U1 :: Type -> Type)) :+: (C1 ('MetaCons "InlineQueryResultVenue" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "InlineQueryResultVideo" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "InlineQueryResultVoice" 'PrefixI 'False) (U1 :: Type -> Type))))))