pub enum PremiumFeature {
Show 23 variants
IncreasedLimits,
IncreasedUploadFileSize,
ImprovedDownloadSpeed,
VoiceRecognition,
DisabledAds,
UniqueReactions,
UniqueStickers,
CustomEmoji,
AdvancedChatManagement,
ProfileBadge,
EmojiStatus,
AnimatedProfilePhoto,
ForumTopicIcon,
AppIcons,
RealTimeChatTranslation,
UpgradedStories,
ChatBoost,
AccentColor,
BackgroundForBoth,
SavedMessagesTags,
MessagePrivacy,
LastSeenTimes,
Business,
}
Variants§
IncreasedLimits
Increased limits
IncreasedUploadFileSize
Increased maximum upload file size
ImprovedDownloadSpeed
Improved download speed
VoiceRecognition
The ability to convert voice notes to text
DisabledAds
Disabled ads
UniqueReactions
Allowed to use more reactions
UniqueStickers
Allowed to use premium stickers with unique effects
CustomEmoji
Allowed to use custom emoji stickers in message texts and captions
AdvancedChatManagement
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
ProfileBadge
A badge in the user’s profile
EmojiStatus
The ability to show an emoji status along with the user’s name
AnimatedProfilePhoto
Profile photo animation on message and chat screens
ForumTopicIcon
The ability to set a custom emoji as a forum topic icon
AppIcons
Allowed to set a premium application icons
RealTimeChatTranslation
Allowed to translate chat messages real-time
UpgradedStories
Allowed to use many additional features for stories
ChatBoost
The ability to boost chats
AccentColor
The ability to choose accent color for replies and user profile
BackgroundForBoth
The ability to set private chat background for both users
SavedMessagesTags
The ability to use tags in Saved Messages
MessagePrivacy
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
LastSeenTimes
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
Business
The ability to use Business features
Trait Implementations§
Source§impl Clone for PremiumFeature
impl Clone for PremiumFeature
Source§fn clone(&self) -> PremiumFeature
fn clone(&self) -> PremiumFeature
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more