Skip to content

Commit 2ef90dd

Browse files
committed
feat(schema): update TDLib to the latest layer
1 parent 024d4de commit 2ef90dd

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

_schema/tdapi.tl

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
// Code generated by ./cmd/dltl, DO NOT EDIT.
22
//
33
// Source: https://raw.githubusercontent.com/tdlib/td/master/td/generate/scheme/td_api.tl
4-
// SHA256: a624d4bf3c7a0a3cb3dc9f91e3b51cbd955292befe703c7ca29ab2912568c84e
4+
// SHA256: 9a87d3a3e4516376de91182fa64e40adf54e4173eab25b988398b7fa00ecdaad
55

66
double#2210c154 ? = Double;
77

@@ -924,7 +924,7 @@ starGiveawayPaymentOptions#909fbf18 options:vector<starGiveawayPaymentOption> =
924924
//@sticker The sticker representing the gift
925925
//@star_count Number of Telegram Stars that must be paid for the gift
926926
//@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
927-
//@remaining_count Number of remaining times the gift can be purchased by all users; 0 if not limited
927+
//@remaining_count Number of remaining times the gift can be purchased by all users; 0 if not limited or the gift was sold out
928928
//@total_count Number of total times the gift can be purchased by all users; 0 if not limited
929929
gift#2acb4d76 id:int64 sticker:sticker star_count:int53 default_sell_star_count:int53 remaining_count:int32 total_count:int32 = Gift;
930930

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

12012-
//@description Send a gift to another user
12012+
//@description Sends a gift to another user. May return an error with a message "STARGIFT_USAGE_LIMITED" if the gift was sold out
1201312013
//@gift_id Identifier of the gift to send
1201412014
//@user_id Identifier of the user that will receive the gift
1201512015
//@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

tdapi/tl_gift_gen.go

Lines changed: 2 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)