Safe Haskell | Safe-Inferred |
---|---|
Language | GHC2021 |
Synopsis
- data PremiumFeature
- = PremiumFeatureIncreasedLimits
- | PremiumFeatureIncreasedUploadFileSize
- | PremiumFeatureImprovedDownloadSpeed
- | PremiumFeatureVoiceRecognition
- | PremiumFeatureDisabledAds
- | PremiumFeatureUniqueReactions
- | PremiumFeatureUniqueStickers
- | PremiumFeatureCustomEmoji
- | PremiumFeatureAdvancedChatManagement
- | PremiumFeatureProfileBadge
- | PremiumFeatureEmojiStatus
- | PremiumFeatureAnimatedProfilePhoto
- | PremiumFeatureForumTopicIcon
- | PremiumFeatureAppIcons
- | PremiumFeatureRealTimeChatTranslation
- | PremiumFeatureUpgradedStories
- | PremiumFeatureChatBoost
- | PremiumFeatureAccentColor
- | PremiumFeatureBackgroundForBoth
- | PremiumFeatureSavedMessagesTags
- | PremiumFeatureMessagePrivacy
- | PremiumFeatureLastSeenTimes
- | PremiumFeatureBusiness
- | PremiumFeatureMessageEffects
Documentation
data PremiumFeature Source #
Describes a feature available to Premium users
PremiumFeatureIncreasedLimits | Increased limits |
PremiumFeatureIncreasedUploadFileSize | Increased maximum upload file size |
PremiumFeatureImprovedDownloadSpeed | Improved download speed |
PremiumFeatureVoiceRecognition | The ability to convert voice notes to text |
PremiumFeatureDisabledAds | Disabled ads |
PremiumFeatureUniqueReactions | Allowed to use more reactions |
PremiumFeatureUniqueStickers | Allowed to use premium stickers with unique effects |
PremiumFeatureCustomEmoji | Allowed to use custom emoji stickers in message texts and captions |
PremiumFeatureAdvancedChatManagement | Ability to change position of the main chat list, archive and mute all new chats from non-contacts, and completely disable notifications about the user's contacts joined Telegram |
PremiumFeatureProfileBadge | A badge in the user's profile |
PremiumFeatureEmojiStatus | The ability to show an emoji status along with the user's name |
PremiumFeatureAnimatedProfilePhoto | Profile photo animation on message and chat screens |
PremiumFeatureForumTopicIcon | The ability to set a custom emoji as a forum topic icon |
PremiumFeatureAppIcons | Allowed to set a premium application icons |
PremiumFeatureRealTimeChatTranslation | Allowed to translate chat messages real-time |
PremiumFeatureUpgradedStories | Allowed to use many additional features for stories |
PremiumFeatureChatBoost | The ability to boost chats |
PremiumFeatureAccentColor | The ability to choose accent color for replies and user profile |
PremiumFeatureBackgroundForBoth | The ability to set private chat background for both users |
PremiumFeatureSavedMessagesTags | The ability to use tags in Saved Messages |
PremiumFeatureMessagePrivacy | The ability to disallow incoming voice and video note messages in private chats using setUserPrivacySettingRules with userPrivacySettingAllowPrivateVoiceAndVideoNoteMessages and to restrict incoming messages from non-contacts using setNewChatPrivacySettings |
PremiumFeatureLastSeenTimes | The ability to view last seen and read times of other users even they can't view last seen or read time for the current user |
PremiumFeatureBusiness | The ability to use Business features |
PremiumFeatureMessageEffects | The ability to use all available message effects |
Instances
FromJSON PremiumFeature Source # | |
Defined in TD.Data.PremiumFeature parseJSON :: Value -> Parser PremiumFeature # parseJSONList :: Value -> Parser [PremiumFeature] # | |
ToJSON PremiumFeature Source # | |
Defined in TD.Data.PremiumFeature toJSON :: PremiumFeature -> Value # toEncoding :: PremiumFeature -> Encoding # toJSONList :: [PremiumFeature] -> Value # toEncodingList :: [PremiumFeature] -> Encoding # | |
Show PremiumFeature Source # | |
Defined in TD.Data.PremiumFeature showsPrec :: Int -> PremiumFeature -> ShowS # show :: PremiumFeature -> String # showList :: [PremiumFeature] -> ShowS # | |
Eq PremiumFeature Source # | |
Defined in TD.Data.PremiumFeature (==) :: PremiumFeature -> PremiumFeature -> Bool # (/=) :: PremiumFeature -> PremiumFeature -> Bool # | |
ShortShow PremiumFeature Source # | |
Defined in TD.Data.PremiumFeature shortShow :: PremiumFeature -> String Source # |