Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update TDLib schema to the latest layer #1449

Merged
merged 1 commit into from
Oct 8, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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.

Loading