Add td_api::premiumStoryFeatureVideoQuality.

This commit is contained in:
levlam 2024-01-30 03:29:50 +03:00
parent 1ce1761190
commit c7952b1c1d
2 changed files with 6 additions and 1 deletions

View File

@ -4779,7 +4779,7 @@ premiumFeatureSavedMessagesTags = PremiumFeature;
//@class PremiumStoryFeature @description Describes a story feature available to Premium users //@class PremiumStoryFeature @description Describes a story feature available to Premium users
//@description User stories are displayed before stories of non-premium contacts and channels //@description Stories of the current user are displayed before stories of non-premium contacts and channels
premiumStoryFeaturePriorityOrder = PremiumStoryFeature; premiumStoryFeaturePriorityOrder = PremiumStoryFeature;
//@description The ability to hide the fact that the user viewed other's stories //@description The ability to hide the fact that the user viewed other's stories
@ -4797,6 +4797,9 @@ premiumStoryFeatureSaveStories = PremiumStoryFeature;
//@description The ability to use links and formatting in story caption //@description The ability to use links and formatting in story caption
premiumStoryFeatureLinksAndFormatting = PremiumStoryFeature; premiumStoryFeatureLinksAndFormatting = PremiumStoryFeature;
//@description The ability to choose better quality for viewed stories
premiumStoryFeatureVideoQuality = PremiumStoryFeature;
//@description Contains information about a limit, increased for Premium users @type The type of the limit @default_value Default value of the limit @premium_value Value of the limit for Premium users //@description Contains information about a limit, increased for Premium users @type The type of the limit @default_value Default value of the limit @premium_value Value of the limit for Premium users
premiumLimit type:PremiumLimitType default_value:int32 premium_value:int32 = PremiumLimit; premiumLimit type:PremiumLimitType default_value:int32 premium_value:int32 = PremiumLimit;

View File

@ -776,6 +776,8 @@ static string get_premium_source(const td_api::PremiumStoryFeature *feature) {
return "stories__save_stories_to_gallery"; return "stories__save_stories_to_gallery";
case td_api::premiumStoryFeatureLinksAndFormatting::ID: case td_api::premiumStoryFeatureLinksAndFormatting::ID:
return "stories__links_and_formatting"; return "stories__links_and_formatting";
case td_api::premiumStoryFeatureVideoQuality::ID:
return "stories__quality";
default: default:
UNREACHABLE(); UNREACHABLE();
return string(); return string();