diff --git a/_schema/tdapi.tl b/_schema/tdapi.tl index eca8c43b3c..754b673d8b 100644 --- a/_schema/tdapi.tl +++ b/_schema/tdapi.tl @@ -1,7 +1,7 @@ // Code generated by ./cmd/dltl, DO NOT EDIT. // // Source: https://raw.githubusercontent.com/tdlib/td/master/td/generate/scheme/td_api.tl -// SHA256: b3ce893c8a814da41748b8399a852630cf9456ee18a16d806a6674cf4e3584b2 +// SHA256: aa49d0f4e834c95acbd6e60cbd7940c4ee907c3da622506b5fe0d36df04b1beb double#2210c154 ? = Double; @@ -2485,7 +2485,7 @@ messageExtendedMediaUnsupported#141f5020 caption:formattedText = MessageExtended //@boosted_chat_id Identifier of the channel chat, which will be automatically boosted by the winners of the giveaway for duration of the Premium subscription //@additional_chat_ids Identifiers of other channel chats that must be subscribed by the users to be eligible for the giveaway. There can be up to getOption("giveaway_additional_chat_count_max") additional chats //@winners_selection_date Point in time (Unix timestamp) when the giveaway is expected to be performed; must be 60-getOption("giveaway_duration_max") seconds in the future in scheduled giveaways -//@only_new_members True, if only new subscribers of the chats will be eligible for the giveaway +//@only_new_members True, if only new members of the chats will be eligible for the giveaway //@country_codes The list of two-letter ISO 3166-1 alpha-2 codes of countries, users from which will be eligible for the giveaway. If empty, then all users can participate in the giveaway. premiumGiveawayParameters#de917baf boosted_chat_id:int53 additional_chat_ids:vector winners_selection_date:int32 only_new_members:Bool country_codes:vector = PremiumGiveawayParameters; diff --git a/tdapi/tl_premium_giveaway_parameters_gen.go b/tdapi/tl_premium_giveaway_parameters_gen.go index d9cf59d668..799aacafc4 100644 --- a/tdapi/tl_premium_giveaway_parameters_gen.go +++ b/tdapi/tl_premium_giveaway_parameters_gen.go @@ -43,7 +43,7 @@ type PremiumGiveawayParameters struct { // Point in time (Unix timestamp) when the giveaway is expected to be performed; must be // 60-getOption("giveaway_duration_max") seconds in the future in scheduled giveaways WinnersSelectionDate int32 - // True, if only new subscribers of the chats will be eligible for the giveaway + // True, if only new members of the chats will be eligible for the giveaway OnlyNewMembers bool // The list of two-letter ISO 3166-1 alpha-2 codes of countries, users from which will be // eligible for the giveaway. If empty, then all users can participate in the giveaway.