telega-0.2.4: Telegram Bot API binding

Safe HaskellNone
LanguageHaskell2010

Network.API.Telegram.Bot.Object.Member

Synopsis

Documentation

data Member Source #

Instances
Show Member Source # 
Instance details

Defined in Network.API.Telegram.Bot.Object.Member

FromJSON Member Source # 
Instance details

Defined in Network.API.Telegram.Bot.Object.Member

Methods

parseJSON :: Value -> Parser Member

parseJSONList :: Value -> Parser [Member]

Persistable (Promote Member) Source # 
Instance details

Defined in Network.API.Telegram.Bot.Object.Member

Associated Types

type Payload (Promote Member) = (payload :: *) Source #

Persistable (Restrict Member) Source # 
Instance details

Defined in Network.API.Telegram.Bot.Object.Member

Associated Types

type Payload (Restrict Member) = (payload :: *) Source #

Persistable (Unban Member) Source # 
Instance details

Defined in Network.API.Telegram.Bot.Object.Member

Associated Types

type Payload (Unban Member) = (payload :: *) Source #

Persistable (Kick Member) Source # 
Instance details

Defined in Network.API.Telegram.Bot.Object.Member

Associated Types

type Payload (Kick Member) = (payload :: *) Source #

type Payload (Promote Member) Source # 
Instance details

Defined in Network.API.Telegram.Bot.Object.Member

type Payload (Restrict Member) Source # 
Instance details

Defined in Network.API.Telegram.Bot.Object.Member

type Payload (Unban Member) Source # 
Instance details

Defined in Network.API.Telegram.Bot.Object.Member

type Payload (Kick Member) Source # 
Instance details

Defined in Network.API.Telegram.Bot.Object.Member

data Until Source #

Ban forever or until some date (between 30 seconds and 366 days)

Constructors

Forever 
Until Int 

data Kick a where Source #

Constructors

Kick :: Int64 -> Int -> Until -> Kick Member 
Instances
Persistable (Kick Member) Source # 
Instance details

Defined in Network.API.Telegram.Bot.Object.Member

Associated Types

type Payload (Kick Member) = (payload :: *) Source #

type Payload (Kick Member) Source # 
Instance details

Defined in Network.API.Telegram.Bot.Object.Member

data Unban a where Source #

Constructors

Unban :: Int64 -> Int -> Unban Member 
Instances
Persistable (Unban Member) Source # 
Instance details

Defined in Network.API.Telegram.Bot.Object.Member

Associated Types

type Payload (Unban Member) = (payload :: *) Source #

type Payload (Unban Member) Source # 
Instance details

Defined in Network.API.Telegram.Bot.Object.Member

data Restrict a where Source #

Constructors

Restrict :: Int64 -> Int -> Until -> Restrictions -> Restrict Member 

data Promote a where Source #

Constructors

Promote :: Int64 -> Int -> Until -> Powers -> Promote Member 
Instances
Persistable (Promote Member) Source # 
Instance details

Defined in Network.API.Telegram.Bot.Object.Member

Associated Types

type Payload (Promote Member) = (payload :: *) Source #

type Payload (Promote Member) Source # 
Instance details

Defined in Network.API.Telegram.Bot.Object.Member