Safe Haskell | Safe-Inferred |
---|---|
Language | GHC2021 |
Documentation
data CanSendStoryResult Source #
Represents result of checking whether the current user can send a story in the specific chat
CanSendStoryResultOk | A story can be sent |
CanSendStoryResultPremiumNeeded | The user must subscribe to Telegram Premium to be able to post stories |
CanSendStoryResultBoostNeeded | The chat must be boosted first by Telegram Premium subscribers to post more stories. Call getChatBoostStatus to get current boost status of the chat |
CanSendStoryResultActiveStoryLimitExceeded | The limit for the number of active stories exceeded. The user can buy Telegram Premium, delete an active story, or wait for the oldest story to expire |
CanSendStoryResultWeeklyLimitExceeded | The weekly limit for the number of posted stories exceeded. The user needs to buy Telegram Premium or wait specified time |
| |
CanSendStoryResultMonthlyLimitExceeded | The monthly limit for the number of posted stories exceeded. The user needs to buy Telegram Premium or wait specified time |
|
Instances
FromJSON CanSendStoryResult Source # | |
Defined in TD.Data.CanSendStoryResult parseJSON :: Value -> Parser CanSendStoryResult # parseJSONList :: Value -> Parser [CanSendStoryResult] # | |
Show CanSendStoryResult Source # | |
Defined in TD.Data.CanSendStoryResult showsPrec :: Int -> CanSendStoryResult -> ShowS # show :: CanSendStoryResult -> String # showList :: [CanSendStoryResult] -> ShowS # | |
Eq CanSendStoryResult Source # | |
Defined in TD.Data.CanSendStoryResult (==) :: CanSendStoryResult -> CanSendStoryResult -> Bool # (/=) :: CanSendStoryResult -> CanSendStoryResult -> Bool # | |
ShortShow CanSendStoryResult Source # | |
Defined in TD.Data.CanSendStoryResult shortShow :: CanSendStoryResult -> String Source # |