diff --git a/_schema/tdapi.tl b/_schema/tdapi.tl index 754b673d8b..de3aae1818 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: aa49d0f4e834c95acbd6e60cbd7940c4ee907c3da622506b5fe0d36df04b1beb +// SHA256: fcb6a2ad9fc6b974a27aed3ce5737d263ee5e45227ab674586aabd8ae0130c81 double#2210c154 ? = Double; @@ -3090,7 +3090,7 @@ messagePaymentSuccessfulBot#68e13eb9 currency:string total_amount:int53 is_recur messageGiftedPremium#78d1d0a gifter_user_id:int53 currency:string amount:int53 cryptocurrency:string cryptocurrency_amount:int64 month_count:int32 sticker:sticker = MessageContent; //@description A Telegram Premium gift code was created for the user -//@creator_id Identifier of a chat or a user that created the gift code +//@creator_id Identifier of a chat or a user that created the gift code; may be null if unknown //@is_from_giveaway True, if the gift code was created for a giveaway //@is_unclaimed True, if the winner for the corresponding Telegram Premium subscription wasn't chosen //@month_count Number of month the Telegram Premium subscription will be active after code activation @@ -3109,7 +3109,7 @@ messagePremiumGiveawayCreated#270f2c44 = MessageContent; messagePremiumGiveaway#4aa0d0b0 parameters:premiumGiveawayParameters winner_count:int32 month_count:int32 sticker:sticker = MessageContent; //@description A Telegram Premium giveaway has been completed for the chat -//@giveaway_message_id Identifier of the message with the giveaway, can be an identifier of a deleted message +//@giveaway_message_id Identifier of the message with the giveaway; can be 0 if the message was deleted //@winner_count Number of winners in the giveaway //@unclaimed_prize_count Number of undistributed prizes messagePremiumGiveawayCompleted#80533949 giveaway_message_id:int53 winner_count:int32 unclaimed_prize_count:int32 = MessageContent; diff --git a/tdapi/tl_message_content_gen.go b/tdapi/tl_message_content_gen.go index ef1e10c61b..5a077091cc 100644 --- a/tdapi/tl_message_content_gen.go +++ b/tdapi/tl_message_content_gen.go @@ -10872,7 +10872,7 @@ func (m *MessageGiftedPremium) GetSticker() (value Sticker) { // MessagePremiumGiftCode represents TL type `messagePremiumGiftCode#7a9c468f`. type MessagePremiumGiftCode struct { - // Identifier of a chat or a user that created the gift code + // Identifier of a chat or a user that created the gift code; may be null if unknown CreatorID MessageSenderClass // True, if the gift code was created for a giveaway IsFromGiveaway bool @@ -11617,7 +11617,7 @@ func (m *MessagePremiumGiveaway) GetSticker() (value Sticker) { // MessagePremiumGiveawayCompleted represents TL type `messagePremiumGiveawayCompleted#80533949`. type MessagePremiumGiveawayCompleted struct { - // Identifier of the message with the giveaway, can be an identifier of a deleted message + // Identifier of the message with the giveaway; can be 0 if the message was deleted GiveawayMessageID int64 // Number of winners in the giveaway WinnerCount int32