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 18, 2024
1 parent 088e6c1 commit a3e6be0
Show file tree
Hide file tree
Showing 5 changed files with 49 additions and 49 deletions.
52 changes: 26 additions & 26 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: 9a87d3a3e4516376de91182fa64e40adf54e4173eab25b988398b7fa00ecdaad
// SHA256: c735c17c2d0a0ba8c1faded2ccd859d6431868d2c2f836507a89c55eccdbb36c

double#2210c154 ? = Double;

Expand Down Expand Up @@ -2250,11 +2250,11 @@ publicChatTypeIsLocationBased#468e6090 = PublicChatType;

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

//@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
//@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
//@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
chatActionBarReportSpam#b1c0e61a can_unarchive:Bool = ChatActionBar;

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

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

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

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

//@description The link is a link to a Web App
//@photo Web App photo
//@photo Web App photo; may be null if none
linkPreviewTypeWebApp#a62eef8a photo:photo = LinkPreviewType;

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

//@description Contains parameters of the application theme
//@background_color A color of the background in the RGB24 format
//@secondary_background_color A secondary color for the background in the RGB24 format
//@header_background_color A color of the header background in the RGB24 format
//@bottom_bar_background_color A color of the bottom bar background in the RGB24 format
//@section_background_color A color of the section background in the RGB24 format
//@section_separator_color A color of the section separator in the RGB24 format
//@text_color A color of text in the RGB24 format
//@accent_text_color An accent color of the text in the RGB24 format
//@section_header_text_color A color of text on the section headers in the RGB24 format
//@subtitle_text_color A color of the subtitle text in the RGB24 format
//@destructive_text_color A color of the text for destructive actions in the RGB24 format
//@hint_color A color of hints in the RGB24 format
//@link_color A color of links in the RGB24 format
//@button_color A color of the buttons in the RGB24 format
//@button_text_color A color of text on the buttons in the RGB24 format
//@background_color A color of the background in the RGB format
//@secondary_background_color A secondary color for the background in the RGB format
//@header_background_color A color of the header background in the RGB format
//@bottom_bar_background_color A color of the bottom bar background in the RGB format
//@section_background_color A color of the section background in the RGB format
//@section_separator_color A color of the section separator in the RGB format
//@text_color A color of text in the RGB format
//@accent_text_color An accent color of the text in the RGB format
//@section_header_text_color A color of text on the section headers in the RGB format
//@subtitle_text_color A color of the subtitle text in the RGB format
//@destructive_text_color A color of the text for destructive actions in the RGB format
//@hint_color A color of hints in the RGB format
//@link_color A color of links in the RGB format
//@button_color A color of the buttons in the RGB format
//@button_text_color A color of text on the buttons in the RGB format
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;

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

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

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

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

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

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

//@class BackgroundType @description Describes the type of background
Expand Down
4 changes: 2 additions & 2 deletions tdapi/tl_attachment_menu_bot_color_gen.go

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

8 changes: 4 additions & 4 deletions tdapi/tl_background_fill_gen.go

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

4 changes: 2 additions & 2 deletions tdapi/tl_link_preview_type_gen.go

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

30 changes: 15 additions & 15 deletions tdapi/tl_theme_parameters_gen.go

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

0 comments on commit a3e6be0

Please sign in to comment.