| Safe Haskell | Safe-Inferred |
|---|---|
| Language | GHC2021 |
TD.Data.PremiumLimitType
Synopsis
- data PremiumLimitType
- = PremiumLimitTypeSupergroupCount
- | PremiumLimitTypePinnedChatCount
- | PremiumLimitTypeCreatedPublicChatCount
- | PremiumLimitTypeSavedAnimationCount
- | PremiumLimitTypeFavoriteStickerCount
- | PremiumLimitTypeChatFolderCount
- | PremiumLimitTypeChatFolderChosenChatCount
- | PremiumLimitTypePinnedArchivedChatCount
- | PremiumLimitTypePinnedSavedMessagesTopicCount
- | PremiumLimitTypeCaptionLength
- | PremiumLimitTypeBioLength
- | PremiumLimitTypeChatFolderInviteLinkCount
- | PremiumLimitTypeShareableChatFolderCount
- | PremiumLimitTypeActiveStoryCount
- | PremiumLimitTypeWeeklyPostedStoryCount
- | PremiumLimitTypeMonthlyPostedStoryCount
- | PremiumLimitTypeStoryCaptionLength
- | PremiumLimitTypeStorySuggestedReactionAreaCount
- | PremiumLimitTypeSimilarChatCount
Documentation
data PremiumLimitType Source #
Describes type of limit, increased for Premium users
Constructors
| PremiumLimitTypeSupergroupCount | The maximum number of joined supergroups and channels |
| PremiumLimitTypePinnedChatCount | The maximum number of pinned chats in the main chat list |
| PremiumLimitTypeCreatedPublicChatCount | The maximum number of created public chats |
| PremiumLimitTypeSavedAnimationCount | The maximum number of saved animations |
| PremiumLimitTypeFavoriteStickerCount | The maximum number of favorite stickers |
| PremiumLimitTypeChatFolderCount | The maximum number of chat folders |
| PremiumLimitTypeChatFolderChosenChatCount | The maximum number of pinned and always included, or always excluded chats in a chat folder |
| PremiumLimitTypePinnedArchivedChatCount | The maximum number of pinned chats in the archive chat list |
| PremiumLimitTypePinnedSavedMessagesTopicCount | The maximum number of pinned Saved Messages topics |
| PremiumLimitTypeCaptionLength | The maximum length of sent media caption |
| PremiumLimitTypeBioLength | The maximum length of the user's bio |
| PremiumLimitTypeChatFolderInviteLinkCount | The maximum number of invite links for a chat folder |
| PremiumLimitTypeShareableChatFolderCount | The maximum number of added shareable chat folders |
| PremiumLimitTypeActiveStoryCount | The maximum number of active stories |
| PremiumLimitTypeWeeklyPostedStoryCount | The maximum number of stories posted per week |
| PremiumLimitTypeMonthlyPostedStoryCount | The maximum number of stories posted per month |
| PremiumLimitTypeStoryCaptionLength | The maximum length of captions of posted stories |
| PremiumLimitTypeStorySuggestedReactionAreaCount | The maximum number of suggested reaction areas on a story |
| PremiumLimitTypeSimilarChatCount | The maximum number of received similar chats |
Instances
| FromJSON PremiumLimitType Source # | |
Defined in TD.Data.PremiumLimitType Methods parseJSON :: Value -> Parser PremiumLimitType # parseJSONList :: Value -> Parser [PremiumLimitType] # | |
| ToJSON PremiumLimitType Source # | |
Defined in TD.Data.PremiumLimitType Methods toJSON :: PremiumLimitType -> Value # toEncoding :: PremiumLimitType -> Encoding # toJSONList :: [PremiumLimitType] -> Value # toEncodingList :: [PremiumLimitType] -> Encoding # | |
| Show PremiumLimitType Source # | |
Defined in TD.Data.PremiumLimitType Methods showsPrec :: Int -> PremiumLimitType -> ShowS # show :: PremiumLimitType -> String # showList :: [PremiumLimitType] -> ShowS # | |
| Eq PremiumLimitType Source # | |
Defined in TD.Data.PremiumLimitType Methods (==) :: PremiumLimitType -> PremiumLimitType -> Bool # (/=) :: PremiumLimitType -> PremiumLimitType -> Bool # | |
| ShortShow PremiumLimitType Source # | |
Defined in TD.Data.PremiumLimitType Methods shortShow :: PremiumLimitType -> String Source # | |