Add td_api::premiumStoryFeatureVideoQuality.
This commit is contained in:
parent
1ce1761190
commit
c7952b1c1d
@ -4779,7 +4779,7 @@ premiumFeatureSavedMessagesTags = PremiumFeature;
|
||||
|
||||
//@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;
|
||||
|
||||
//@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
|
||||
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
|
||||
premiumLimit type:PremiumLimitType default_value:int32 premium_value:int32 = PremiumLimit;
|
||||
|
@ -776,6 +776,8 @@ static string get_premium_source(const td_api::PremiumStoryFeature *feature) {
|
||||
return "stories__save_stories_to_gallery";
|
||||
case td_api::premiumStoryFeatureLinksAndFormatting::ID:
|
||||
return "stories__links_and_formatting";
|
||||
case td_api::premiumStoryFeatureVideoQuality::ID:
|
||||
return "stories__quality";
|
||||
default:
|
||||
UNREACHABLE();
|
||||
return string();
|
||||
|
Loading…
Reference in New Issue
Block a user