Skip to content

Commit

Permalink
feat(schema): update TDLib to the latest layer
Browse files Browse the repository at this point in the history
  • Loading branch information
actions-user committed Oct 8, 2024
1 parent 024d4de commit 2ef90dd
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
6 changes: 3 additions & 3 deletions _schema/tdapi.tl
Original file line number Diff line number Diff line change
@@ -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: a624d4bf3c7a0a3cb3dc9f91e3b51cbd955292befe703c7ca29ab2912568c84e
// SHA256: 9a87d3a3e4516376de91182fa64e40adf54e4173eab25b988398b7fa00ecdaad

double#2210c154 ? = Double;

Expand Down Expand Up @@ -924,7 +924,7 @@ starGiveawayPaymentOptions#909fbf18 options:vector<starGiveawayPaymentOption> =
//@sticker The sticker representing the gift
//@star_count Number of Telegram Stars that must be paid for the gift
//@default_sell_star_count Number of Telegram Stars that can be claimed by the receiver instead of the gift by default. If the gift was paid with just bought Telegram Stars, then full value can be claimed
//@remaining_count Number of remaining times the gift can be purchased by all users; 0 if not limited
//@remaining_count Number of remaining times the gift can be purchased by all users; 0 if not limited or the gift was sold out
//@total_count Number of total times the gift can be purchased by all users; 0 if not limited
gift#2acb4d76 id:int64 sticker:sticker star_count:int53 default_sell_star_count:int53 remaining_count:int32 total_count:int32 = Gift;

Expand Down Expand Up @@ -12009,7 +12009,7 @@ deleteSavedCredentials#314056d2 = Ok;
//@description Returns gifts that can be sent to other users
getAvailableGifts#f6d565eb = Gifts;

//@description Send a gift to another user
//@description Sends a gift to another user. May return an error with a message "STARGIFT_USAGE_LIMITED" if the gift was sold out
//@gift_id Identifier of the gift to send
//@user_id Identifier of the user that will receive the gift
//@text Text to show along with the gift; 0-getOption("gift_text_length_max") characters. Only Bold, Italic, Underline, Strikethrough, Spoiler, and CustomEmoji entities are allowed
Expand Down
3 changes: 2 additions & 1 deletion tdapi/tl_gift_gen.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 2ef90dd

Please sign in to comment.