Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- module Network.API.Telegram.Bot.Object.Member.Restrictions
- module Network.API.Telegram.Bot.Object.Member.Powers
- data Member
- data Until
- data Kick a where
- data Unban a where
- data Restrict a where
- data Promote a where
Documentation
Creator Sender | |
Administrator Sender Bool Powers | |
Member Sender | |
Restricted Sender Restrictions Int | |
Left Sender | |
Kicked Sender Int |
Instances
Show Member Source # | |
FromJSON Member Source # | |
Defined in Network.API.Telegram.Bot.Object.Member parseJSON :: Value -> Parser Member parseJSONList :: Value -> Parser [Member] | |
Persistable (Promote Member) Source # | |
Defined in Network.API.Telegram.Bot.Object.Member | |
Persistable (Restrict Member) Source # | |
Defined in Network.API.Telegram.Bot.Object.Member | |
Persistable (Unban Member) Source # | |
Defined in Network.API.Telegram.Bot.Object.Member | |
Persistable (Kick Member) Source # | |
Defined in Network.API.Telegram.Bot.Object.Member | |
type Payload (Promote Member) Source # | |
type Payload (Restrict Member) Source # | |
type Payload (Unban Member) Source # | |
type Payload (Kick Member) Source # | |
Ban forever or until some date (between 30 seconds and 366 days)