Skip to content

Commit a3e6be0

Browse files
committed
feat(schema): update TDLib to the latest layer
1 parent 088e6c1 commit a3e6be0

5 files changed

+49
-49
lines changed

_schema/tdapi.tl

+26-26
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: 9a87d3a3e4516376de91182fa64e40adf54e4173eab25b988398b7fa00ecdaad
4+
// SHA256: c735c17c2d0a0ba8c1faded2ccd859d6431868d2c2f836507a89c55eccdbb36c
55

66
double#2210c154 ? = Double;
77

@@ -2250,11 +2250,11 @@ publicChatTypeIsLocationBased#468e6090 = PublicChatType;
22502250

22512251
//@class ChatActionBar @description Describes actions which must be possible to do through a chat action bar
22522252

2253-
//@description The chat can be reported as spam using the method reportChat with the reason reportReasonSpam. If the chat is a private chat with a user with an emoji status, then a notice about emoji status usage must be shown
2253+
//@description The chat can be reported as spam using the method reportChat with an empty option_id and message_ids. If the chat is a private chat with a user with an emoji status, then a notice about emoji status usage must be shown
22542254
//@can_unarchive If true, the chat was automatically archived and can be moved back to the main chat list using addChatToList simultaneously with setting chat notification settings to default using setChatNotificationSettings
22552255
chatActionBarReportSpam#b1c0e61a can_unarchive:Bool = ChatActionBar;
22562256

2257-
//@description The chat is a location-based supergroup, which can be reported as having unrelated location using the method reportChat with the reason reportReasonUnrelatedLocation
2257+
//@description The chat is a location-based supergroup, which can't be reported anymore
22582258
chatActionBarReportUnrelatedLocation#2d30d701 = ChatActionBar;
22592259

22602260
//@description The chat is a recently created group chat to which new members can be invited
@@ -2952,7 +2952,7 @@ linkPreviewTypeSupergroupBoost#90570476 photo:chatPhoto = LinkPreviewType;
29522952

29532953
//@description The link is a link to a cloud theme. TDLib has no theme support yet
29542954
//@documents The list of files with theme description
2955-
//@settings Settings for the cloud theme
2955+
//@settings Settings for the cloud theme; may be null if unknown
29562956
linkPreviewTypeTheme#6b7a9ba5 documents:vector<document> settings:themeSettings = LinkPreviewType;
29572957

29582958
//@description The link preview type is unsupported yet
@@ -2981,7 +2981,7 @@ linkPreviewTypeVideoNote#cf70db61 video_note:videoNote = LinkPreviewType;
29812981
linkPreviewTypeVoiceNote#d2d2cf2b voice_note:voiceNote = LinkPreviewType;
29822982

29832983
//@description The link is a link to a Web App
2984-
//@photo Web App photo
2984+
//@photo Web App photo; may be null if none
29852985
linkPreviewTypeWebApp#a62eef8a photo:photo = LinkPreviewType;
29862986

29872987
//@description Describes a link preview
@@ -3065,21 +3065,21 @@ address#86304f3a country_code:string state:string city:string street_line1:strin
30653065
locationAddress#a3dad322 country_code:string state:string city:string street:string = LocationAddress;
30663066

30673067
//@description Contains parameters of the application theme
3068-
//@background_color A color of the background in the RGB24 format
3069-
//@secondary_background_color A secondary color for the background in the RGB24 format
3070-
//@header_background_color A color of the header background in the RGB24 format
3071-
//@bottom_bar_background_color A color of the bottom bar background in the RGB24 format
3072-
//@section_background_color A color of the section background in the RGB24 format
3073-
//@section_separator_color A color of the section separator in the RGB24 format
3074-
//@text_color A color of text in the RGB24 format
3075-
//@accent_text_color An accent color of the text in the RGB24 format
3076-
//@section_header_text_color A color of text on the section headers in the RGB24 format
3077-
//@subtitle_text_color A color of the subtitle text in the RGB24 format
3078-
//@destructive_text_color A color of the text for destructive actions in the RGB24 format
3079-
//@hint_color A color of hints in the RGB24 format
3080-
//@link_color A color of links in the RGB24 format
3081-
//@button_color A color of the buttons in the RGB24 format
3082-
//@button_text_color A color of text on the buttons in the RGB24 format
3068+
//@background_color A color of the background in the RGB format
3069+
//@secondary_background_color A secondary color for the background in the RGB format
3070+
//@header_background_color A color of the header background in the RGB format
3071+
//@bottom_bar_background_color A color of the bottom bar background in the RGB format
3072+
//@section_background_color A color of the section background in the RGB format
3073+
//@section_separator_color A color of the section separator in the RGB format
3074+
//@text_color A color of text in the RGB format
3075+
//@accent_text_color An accent color of the text in the RGB format
3076+
//@section_header_text_color A color of text on the section headers in the RGB format
3077+
//@subtitle_text_color A color of the subtitle text in the RGB format
3078+
//@destructive_text_color A color of the text for destructive actions in the RGB format
3079+
//@hint_color A color of hints in the RGB format
3080+
//@link_color A color of links in the RGB format
3081+
//@button_color A color of the buttons in the RGB format
3082+
//@button_text_color A color of text on the buttons in the RGB format
30833083
themeParameters#ef8395af background_color:int32 secondary_background_color:int32 header_background_color:int32 bottom_bar_background_color:int32 section_background_color:int32 section_separator_color:int32 text_color:int32 accent_text_color:int32 section_header_text_color:int32 subtitle_text_color:int32 destructive_text_color:int32 hint_color:int32 link_color:int32 button_color:int32 button_text_color:int32 = ThemeParameters;
30843084

30853085
//@description Portion of the price of a product (e.g., "delivery cost", "tax amount")
@@ -5306,8 +5306,8 @@ speechRecognitionResultError#9d243fc error:error = SpeechRecognitionResult;
53065306
businessConnection#4436e234 id:string user_id:int53 user_chat_id:int53 date:int32 can_reply:Bool is_enabled:Bool = BusinessConnection;
53075307

53085308
//@description Describes a color to highlight a bot added to attachment menu
5309-
//@light_color Color in the RGB24 format for light themes
5310-
//@dark_color Color in the RGB24 format for dark themes
5309+
//@light_color Color in the RGB format for light themes
5310+
//@dark_color Color in the RGB format for dark themes
53115311
attachmentMenuBotColor#64235ebc light_color:int32 dark_color:int32 = AttachmentMenuBotColor;
53125312

53135313
//@description Represents a bot, which can be added to attachment or side menu
@@ -6354,17 +6354,17 @@ pushReceiverId#161ddf2c id:int64 = PushReceiverId;
63546354
//@class BackgroundFill @description Describes a fill of a background
63556355

63566356
//@description Describes a solid fill of a background
6357-
//@color A color of the background in the RGB24 format
6357+
//@color A color of the background in the RGB format
63586358
backgroundFillSolid#3c3dbc1d color:int32 = BackgroundFill;
63596359

63606360
//@description Describes a gradient fill of a background
6361-
//@top_color A top color of the background in the RGB24 format
6362-
//@bottom_color A bottom color of the background in the RGB24 format
6361+
//@top_color A top color of the background in the RGB format
6362+
//@bottom_color A bottom color of the background in the RGB format
63636363
//@rotation_angle Clockwise rotation angle of the gradient, in degrees; 0-359. Must always be divisible by 45
63646364
backgroundFillGradient#925ff17f top_color:int32 bottom_color:int32 rotation_angle:int32 = BackgroundFill;
63656365

63666366
//@description Describes a freeform gradient fill of a background
6367-
//@colors A list of 3 or 4 colors of the freeform gradient in the RGB24 format
6367+
//@colors A list of 3 or 4 colors of the freeform gradient in the RGB format
63686368
backgroundFillFreeformGradient#fa31756a colors:vector<int32> = BackgroundFill;
63696369

63706370
//@class BackgroundType @description Describes the type of background

tdapi/tl_attachment_menu_bot_color_gen.go

+2-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

tdapi/tl_background_fill_gen.go

+4-4
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

tdapi/tl_link_preview_type_gen.go

+2-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

tdapi/tl_theme_parameters_gen.go

+15-15
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)