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

Telegram.Bot.API.InlineMode

Synopsis

Available types

User

data InlineQuery Source #

This object represents an incoming inline query. When the user sends an empty query, your bot could return some default or trending results.

https://core.telegram.org/bots/api#inline-mode

Constructors

InlineQuery 

Fields

Instances

Instances details
Show InlineQuery Source # 
Instance details

Defined in Telegram.Bot.API.InlineMode

Generic InlineQuery Source # 
Instance details

Defined in Telegram.Bot.API.InlineMode

Associated Types

type Rep InlineQuery :: Type -> Type #

ToJSON InlineQuery Source # 
Instance details

Defined in Telegram.Bot.API.InlineMode

FromJSON InlineQuery Source # 
Instance details

Defined in Telegram.Bot.API.InlineMode

type Rep InlineQuery Source # 
Instance details

Defined in Telegram.Bot.API.InlineMode

type Rep InlineQuery = D1 ('MetaData "InlineQuery" "Telegram.Bot.API.InlineMode" "telegram-bot-simple-0.3.7-HZUAaklEXjr8K6d7MsBs9a" 'False) (C1 ('MetaCons "InlineQuery" 'PrefixI 'True) ((S1 ('MetaSel ('Just "inlineQueryId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 InlineQueryId) :*: S1 ('MetaSel ('Just "inlineQueryFrom") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 User)) :*: (S1 ('MetaSel ('Just "inlineQueryLocation") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Location)) :*: (S1 ('MetaSel ('Just "inlineQueryQuery") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text) :*: S1 ('MetaSel ('Just "inlineQueryOffset") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))))

newtype InlineQueryId Source #

Unique identifier for this query

Constructors

InlineQueryId Text 

Instances

Instances details
Eq InlineQueryId Source # 
Instance details

Defined in Telegram.Bot.API.InlineMode

Show InlineQueryId Source # 
Instance details

Defined in Telegram.Bot.API.InlineMode

Generic InlineQueryId Source # 
Instance details

Defined in Telegram.Bot.API.InlineMode

Associated Types

type Rep InlineQueryId :: Type -> Type #

Hashable InlineQueryId Source # 
Instance details

Defined in Telegram.Bot.API.InlineMode

ToJSON InlineQueryId Source # 
Instance details

Defined in Telegram.Bot.API.InlineMode

FromJSON InlineQueryId Source # 
Instance details

Defined in Telegram.Bot.API.InlineMode

type Rep InlineQueryId Source # 
Instance details

Defined in Telegram.Bot.API.InlineMode

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

Available methods

answerInlineQuery

data AnswerInlineQueryRequest Source #