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

Telegram.Bot.API.InlineMode.InlineQueryResult

Synopsis

Documentation

data InlineQueryResult Source #

This object represents one result of an inline query

Instances

Instances details
FromJSON InlineQueryResult Source # 
Instance details

Defined in Telegram.Bot.API.InlineMode.InlineQueryResult

ToJSON 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 #

Show 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-api-6.5-3pY7XQZ5v9zCuyh8HdDMyB" '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)) :*: S1 ('MetaSel ('Just "inlineQueryResultContact") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Contact))))))

newtype InlineQueryResultId Source #

Instances

Instances details
FromJSON InlineQueryResultId Source # 
Instance details

Defined in Telegram.Bot.API.InlineMode.InlineQueryResult

ToJSON 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 #

Show InlineQueryResultId Source # 
Instance details

Defined in Telegram.Bot.API.InlineMode.InlineQueryResult

Eq InlineQueryResultId Source # 
Instance details

Defined in Telegram.Bot.API.InlineMode.InlineQueryResult

Hashable 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-api-6.5-3pY7XQZ5v9zCuyh8HdDMyB" '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
FromJSON InlineQueryResultType Source # 
Instance details

Defined in Telegram.Bot.API.InlineMode.InlineQueryResult

ToJSON 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 #

Show InlineQueryResultType Source # 
Instance details

Defined in Telegram.Bot.API.InlineMode.InlineQueryResult

Eq 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-api-6.5-3pY7XQZ5v9zCuyh8HdDMyB" '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))))))