telegram-raw-api-0.1.0: Servant bindings to the Telegram bot API

Safe HaskellNone
LanguageHaskell2010

Web.Telegram.API.Actions.Data

Documentation

data Kick Source #

Constructors

Kick 
Instances
Eq Kick Source # 
Instance details

Defined in Web.Telegram.API.Actions.Data

Methods

(==) :: Kick -> Kick -> Bool #

(/=) :: Kick -> Kick -> Bool #

Show Kick Source # 
Instance details

Defined in Web.Telegram.API.Actions.Data

Methods

showsPrec :: Int -> Kick -> ShowS #

show :: Kick -> String #

showList :: [Kick] -> ShowS #

Generic Kick Source # 
Instance details

Defined in Web.Telegram.API.Actions.Data

Associated Types

type Rep Kick :: Type -> Type #

Methods

from :: Kick -> Rep Kick x #

to :: Rep Kick x -> Kick #

ToJSON Kick Source # 
Instance details

Defined in Web.Telegram.API.Actions.Data

Default Kick Source # 
Instance details

Defined in Web.Telegram.API.Actions.Data

Methods

def :: Kick #

type Rep Kick Source # 
Instance details

Defined in Web.Telegram.API.Actions.Data

type Rep Kick = D1 (MetaData "Kick" "Web.Telegram.API.Actions.Data" "telegram-raw-api-0.1.0-6INSX8mwqV2A3qTaYNvjDy" False) (C1 (MetaCons "Kick" PrefixI True) (S1 (MetaSel (Just "chatId") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 ChatId) :*: (S1 (MetaSel (Just "userId") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Integer) :*: S1 (MetaSel (Just "untilDate") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe Integer)))))

data Unban Source #

Constructors

Unban 

Fields

Instances
Eq Unban Source # 
Instance details

Defined in Web.Telegram.API.Actions.Data

Methods

(==) :: Unban -> Unban -> Bool #

(/=) :: Unban -> Unban -> Bool #

Show Unban Source # 
Instance details

Defined in Web.Telegram.API.Actions.Data

Methods

showsPrec :: Int -> Unban -> ShowS #

show :: Unban -> String #

showList :: [Unban] -> ShowS #

Generic Unban Source # 
Instance details

Defined in Web.Telegram.API.Actions.Data

Associated Types

type Rep Unban :: Type -> Type #

Methods

from :: Unban -> Rep Unban x #

to :: Rep Unban x -> Unban #

ToJSON Unban Source # 
Instance details

Defined in Web.Telegram.API.Actions.Data

Default Unban Source # 
Instance details

Defined in Web.Telegram.API.Actions.Data

Methods

def :: Unban #

type Rep Unban Source # 
Instance details

Defined in Web.Telegram.API.Actions.Data

type Rep Unban = D1 (MetaData "Unban" "Web.Telegram.API.Actions.Data" "telegram-raw-api-0.1.0-6INSX8mwqV2A3qTaYNvjDy" False) (C1 (MetaCons "Unban" PrefixI True) (S1 (MetaSel (Just "chatId") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 ChatId) :*: S1 (MetaSel (Just "userId") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Integer)))

data Restriction Source #

Instances
Eq Restriction Source # 
Instance details

Defined in Web.Telegram.API.Actions.Data

Show Restriction Source # 
Instance details

Defined in Web.Telegram.API.Actions.Data

Generic Restriction Source # 
Instance details

Defined in Web.Telegram.API.Actions.Data

Associated Types

type Rep Restriction :: Type -> Type #

ToJSON Restriction Source # 
Instance details

Defined in Web.Telegram.API.Actions.Data

Default Restriction Source # 
Instance details

Defined in Web.Telegram.API.Actions.Data

Methods

def :: Restriction #

type Rep Restriction Source # 
Instance details

Defined in Web.Telegram.API.Actions.Data

data Promotion Source #

Instances
Eq Promotion Source # 
Instance details

Defined in Web.Telegram.API.Actions.Data

Show Promotion Source # 
Instance details

Defined in Web.Telegram.API.Actions.Data

Generic Promotion Source # 
Instance details

Defined in Web.Telegram.API.Actions.Data

Associated Types

type Rep Promotion :: Type -> Type #

ToJSON Promotion Source # 
Instance details

Defined in Web.Telegram.API.Actions.Data

Default Promotion Source # 
Instance details

Defined in Web.Telegram.API.Actions.Data

Methods

def :: Promotion #

type Rep Promotion Source # 
Instance details

Defined in Web.Telegram.API.Actions.Data

data InlineQueryAnswer Source #

Instances
Eq InlineQueryAnswer Source # 
Instance details

Defined in Web.Telegram.API.Actions.Data

Show InlineQueryAnswer Source # 
Instance details

Defined in Web.Telegram.API.Actions.Data

Generic InlineQueryAnswer Source # 
Instance details

Defined in Web.Telegram.API.Actions.Data

Associated Types

type Rep InlineQueryAnswer :: Type -> Type #

ToJSON InlineQueryAnswer Source # 
Instance details

Defined in Web.Telegram.API.Actions.Data

FromJSON InlineQueryAnswer Source # 
Instance details

Defined in Web.Telegram.API.Actions.Data

Default InlineQueryAnswer Source # 
Instance details

Defined in Web.Telegram.API.Actions.Data

type Rep InlineQueryAnswer Source # 
Instance details

Defined in Web.Telegram.API.Actions.Data

data CallbackQueryAnswer Source #

Instances
Eq CallbackQueryAnswer Source # 
Instance details

Defined in Web.Telegram.API.Actions.Data

Show CallbackQueryAnswer Source # 
Instance details

Defined in Web.Telegram.API.Actions.Data

Generic CallbackQueryAnswer Source # 
Instance details

Defined in Web.Telegram.API.Actions.Data

Associated Types

type Rep CallbackQueryAnswer :: Type -> Type #

ToJSON CallbackQueryAnswer Source # 
Instance details

Defined in Web.Telegram.API.Actions.Data

FromJSON CallbackQueryAnswer Source # 
Instance details

Defined in Web.Telegram.API.Actions.Data

Default CallbackQueryAnswer Source # 
Instance details

Defined in Web.Telegram.API.Actions.Data

type Rep CallbackQueryAnswer Source # 
Instance details

Defined in Web.Telegram.API.Actions.Data

newtype CommandSet Source #

Constructors

CommandSet 

Fields

Instances
Eq CommandSet Source # 
Instance details

Defined in Web.Telegram.API.Actions.Data

Show CommandSet Source # 
Instance details

Defined in Web.Telegram.API.Actions.Data

Generic CommandSet Source # 
Instance details

Defined in Web.Telegram.API.Actions.Data

Associated Types

type Rep CommandSet :: Type -> Type #

ToJSON CommandSet Source # 
Instance details

Defined in Web.Telegram.API.Actions.Data

FromJSON CommandSet Source # 
Instance details

Defined in Web.Telegram.API.Actions.Data

Default CommandSet Source # 
Instance details

Defined in Web.Telegram.API.Actions.Data

Methods

def :: CommandSet #

type Rep CommandSet Source # 
Instance details

Defined in Web.Telegram.API.Actions.Data

type Rep CommandSet = D1 (MetaData "CommandSet" "Web.Telegram.API.Actions.Data" "telegram-raw-api-0.1.0-6INSX8mwqV2A3qTaYNvjDy" True) (C1 (MetaCons "CommandSet" PrefixI True) (S1 (MetaSel (Just "commands") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 [BotCommand])))