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

Telegram.Bot.API.InlineMode.InputMessageContent

Synopsis

Documentation

data InputMessageContent Source #

Represents the content of a text message to be sent as the result of an inline query.

Constructors

InputTextMessageContent

Represents the content of a text message to be sent as the result of an inline query.

Fields

InputLocationMessageContent

Represents the content of a location message to be sent as the result of an inline query.

Fields

InputVenueMessageContent

Represents the content of a venue message to be sent as the result of an inline query.

Fields

InputContactMessageContent

Represents the content of a contact message to be sent as the result of an inline query.

Fields

Instances

Instances details
Show InputMessageContent Source # 
Instance details

Defined in Telegram.Bot.API.InlineMode.InputMessageContent

Generic InputMessageContent Source # 
Instance details

Defined in Telegram.Bot.API.InlineMode.InputMessageContent

Associated Types

type Rep InputMessageContent :: Type -> Type #

FromJSON InputMessageContent Source # 
Instance details

Defined in Telegram.Bot.API.InlineMode.InputMessageContent

Methods

parseJSON :: Value -> Parser InputMessageContent

parseJSONList :: Value -> Parser [InputMessageContent]

ToJSON InputMessageContent Source # 
Instance details

Defined in Telegram.Bot.API.InlineMode.InputMessageContent

type Rep InputMessageContent Source # 
Instance details

Defined in Telegram.Bot.API.InlineMode.InputMessageContent

type Rep InputMessageContent = D1 ('MetaData "InputMessageContent" "Telegram.Bot.API.InlineMode.InputMessageContent" "telegram-bot-simple-0.5.2-inplace" 'False) ((C1 ('MetaCons "InputTextMessageContent" 'PrefixI 'True) (S1 ('MetaSel ('Just "inputMessageContentMessageText") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text) :*: (S1 ('MetaSel ('Just "inputMessageContentParseMode") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "inputMessageContentDisableWebPagePrefiew") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Bool)))) :+: C1 ('MetaCons "InputLocationMessageContent" 'PrefixI 'True) ((S1 ('MetaSel ('Just "inputMessageContentLatitude") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Float) :*: (S1 ('MetaSel ('Just "inputMessageContentLongitude") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Float) :*: S1 ('MetaSel ('Just "inputMessageContentHorizontalAccuracy") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Float)))) :*: (S1 ('MetaSel ('Just "inputMessageContentLivePeriod") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Integer)) :*: (S1 ('MetaSel ('Just "inputMessageContentHeading") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Integer)) :*: S1 ('MetaSel ('Just "inputMessageContentProximityAlertRadius") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Integer)))))) :+: (C1 ('MetaCons "InputVenueMessageContent" 'PrefixI 'True) (((S1 ('MetaSel ('Just "inputMessageContentLatitude") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Float) :*: S1 ('MetaSel ('Just "inputMessageContentLongitude") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Float)) :*: (S1 ('MetaSel ('Just "inputMessageContentTitle") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text) :*: S1 ('MetaSel ('Just "inputMessageContentAddress") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text))) :*: ((S1 ('MetaSel ('Just "inputMessageContentFoursquareId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "inputMessageContentFoursquareType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "inputMessageContentGooglePlaceId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "inputMessageContentGooglePlaceType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Text))))) :+: C1 ('MetaCons "InputContactMessageContent" 'PrefixI 'True) ((S1 ('MetaSel ('Just "inputMessageContentPhoneNumber") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text) :*: S1 ('MetaSel ('Just "inputMessageContentFirstName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)) :*: (S1 ('MetaSel ('Just "inputMessageContentSecondName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "inputMessageContentVcard") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Text))))))