telegram-api-0.4.3.0: Telegram Bot API bindings

Safe HaskellNone
LanguageHaskell2010

Web.Telegram.API.Bot.Responses

Contents

Description

This module contains responses from Telegram Bot API

Synopsis

Types

data GetMeResponse Source #

This object represents getMe response

Constructors

GetMeResponse 

Fields

Instances

Show GetMeResponse Source # 
Generic GetMeResponse Source # 

Associated Types

type Rep GetMeResponse :: * -> * #

ToJSON GetMeResponse Source # 
FromJSON GetMeResponse Source # 
type Rep GetMeResponse Source # 
type Rep GetMeResponse = D1 (MetaData "GetMeResponse" "Web.Telegram.API.Bot.Responses" "telegram-api-0.4.3.0-7gUtd774AGu1nW0CVBhSHa" False) (C1 (MetaCons "GetMeResponse" PrefixI True) (S1 (MetaSel (Just Symbol "user_result") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 User)))

data MessageResponse Source #

This object represents message response

Constructors

MessageResponse 

data ChatActionResponse Source #

This object represents sendChatAction response

Constructors

ChatActionResponse 

Fields

data UpdatesResponse Source #

This object represents getUpdates response

Constructors

UpdatesResponse 

Fields

data FileResponse Source #

This object represents file response

Constructors

FileResponse 

Fields

Instances

Show FileResponse Source # 
Generic FileResponse Source # 

Associated Types

type Rep FileResponse :: * -> * #

ToJSON FileResponse Source # 
FromJSON FileResponse Source # 
type Rep FileResponse Source # 
type Rep FileResponse = D1 (MetaData "FileResponse" "Web.Telegram.API.Bot.Responses" "telegram-api-0.4.3.0-7gUtd774AGu1nW0CVBhSHa" False) (C1 (MetaCons "FileResponse" PrefixI True) (S1 (MetaSel (Just Symbol "file_result") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 File)))

data SetWebhookResponse Source #

This object represents setWebhook response

Constructors

SetWebhookResponse 

Fields