From ace71ce632ae8c1d389e07ead22611b98c348436 Mon Sep 17 00:00:00 2001 From: GitHub Date: Thu, 9 Nov 2023 07:45:06 +0000 Subject: [PATCH] feat(schema): update TDLib to the latest layer --- _schema/tdapi.tl | 12 ++++++------ tdapi/tl_input_message_reply_to_gen.go | 2 +- tdapi/tl_message_gen.go | 2 +- tdapi/tl_message_reply_to_gen.go | 10 +++++----- 4 files changed, 13 insertions(+), 13 deletions(-) diff --git a/_schema/tdapi.tl b/_schema/tdapi.tl index cdf7bfc9b6..eb29315efc 100644 --- a/_schema/tdapi.tl +++ b/_schema/tdapi.tl @@ -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: 535f19db102e2796cab50a4c33596f63131ee76b42511ec6356a99bff99ed007 +// SHA256: 15a671389c44eca65d80551a5daddde5fbb7ad712f677d19b7353a264de00739 double#2210c154 ? = Double; @@ -1252,9 +1252,9 @@ messageSendingStateFailed#ac81ee5e error:error can_retry:Bool need_another_sende //@message_id The identifier of the message; may be 0 if the replied message is in unknown chat //@quote Manually or automatically chosen quote from the replied message; may be null if none. Only Bold, Italic, Underline, Strikethrough, Spoiler, and CustomEmoji entities can be present in the quote //@is_quote_manual True, if the quote was manually chosen by the message sender -//@origin Information about origin of the message if the message was replied from another chat; may be null for messages from the same chat -//@origin_send_date Point in time (Unix timestamp) when the message was sent if the message was replied from another chat; 0 for messages from the same chat -//@content Media content of the message if the message was replied from another chat; may be null for messages from the same chat and messages without media. +//@origin Information about origin of the message if the message was from another chat or topic; may be null for messages from the same chat +//@origin_send_date Point in time (Unix timestamp) when the message was sent if the message was from another chat or topic; 0 for messages from the same chat +//@content Media content of the message if the message was from another chat or topic; may be null for messages from the same chat and messages without media. messageReplyToMessage#1bb65082 chat_id:int53 message_id:int53 quote:formattedText is_quote_manual:Bool origin:MessageOrigin origin_send_date:int32 content:MessageContent = MessageReplyTo; //@description Describes a story replied by a given message @@ -1265,7 +1265,7 @@ messageReplyToStory#708ca939 story_sender_chat_id:int53 story_id:int32 = Message //@class InputMessageReplyTo @description Contains information about the message or the story to be replied //@description Describes a message to be replied -//@chat_id The identifier of the chat to which the message to be replied belongs; pass 0 if the message to be replied is in the same chat. Must always be 0 for replies in secret chats. A message can be replied in another chat only if message.can_be_replied_in_another_chat +//@chat_id The identifier of the chat to which the message to be replied belongs; pass 0 if the message to be replied is in the same chat. Must always be 0 for replies in secret chats. A message can be replied in another chat or topic only if message.can_be_replied_in_another_chat //@message_id The identifier of the message to be replied in the same or the specified chat //@quote Manually chosen quote from the message to be replied; pass null if none; 0-getOption("message_reply_quote_length_max") characters. Must always be null for replies in secret chats. inputMessageReplyToMessage#20b16f06 chat_id:int53 message_id:int53 quote:formattedText = InputMessageReplyTo; @@ -1285,7 +1285,7 @@ inputMessageReplyToStory#51aece78 story_sender_chat_id:int53 story_id:int32 = In //@is_pinned True, if the message is pinned //@can_be_edited True, if the message can be edited. For live location and poll messages this fields shows whether editMessageLiveLocation or stopPoll can be used with this message by the application //@can_be_forwarded True, if the message can be forwarded -//@can_be_replied_in_another_chat True, if the message can be replied in another chat +//@can_be_replied_in_another_chat True, if the message can be replied in another chat or topic //@can_be_saved True, if content of the message can be saved locally or copied //@can_be_deleted_only_for_self True, if the message can be deleted only for the current user while other users will continue to see it //@can_be_deleted_for_all_users True, if the message can be deleted for all users diff --git a/tdapi/tl_input_message_reply_to_gen.go b/tdapi/tl_input_message_reply_to_gen.go index b6e4a61fa1..eeb582a491 100644 --- a/tdapi/tl_input_message_reply_to_gen.go +++ b/tdapi/tl_input_message_reply_to_gen.go @@ -35,7 +35,7 @@ var ( type InputMessageReplyToMessage struct { // The identifier of the chat to which the message to be replied belongs; pass 0 if the // message to be replied is in the same chat. Must always be 0 for replies in secret - // chats. A message can be replied in another chat only if message + // chats. A message can be replied in another chat or topic only if message // can_be_replied_in_another_chat ChatID int64 // The identifier of the message to be replied in the same or the specified chat diff --git a/tdapi/tl_message_gen.go b/tdapi/tl_message_gen.go index 79868b9f97..458b1f1161 100644 --- a/tdapi/tl_message_gen.go +++ b/tdapi/tl_message_gen.go @@ -54,7 +54,7 @@ type Message struct { CanBeEdited bool // True, if the message can be forwarded CanBeForwarded bool - // True, if the message can be replied in another chat + // True, if the message can be replied in another chat or topic CanBeRepliedInAnotherChat bool // True, if content of the message can be saved locally or copied CanBeSaved bool diff --git a/tdapi/tl_message_reply_to_gen.go b/tdapi/tl_message_reply_to_gen.go index 9ad78e1e65..8101b99e18 100644 --- a/tdapi/tl_message_reply_to_gen.go +++ b/tdapi/tl_message_reply_to_gen.go @@ -44,14 +44,14 @@ type MessageReplyToMessage struct { Quote FormattedText // True, if the quote was manually chosen by the message sender IsQuoteManual bool - // Information about origin of the message if the message was replied from another chat; + // Information about origin of the message if the message was from another chat or topic; // may be null for messages from the same chat Origin MessageOriginClass - // Point in time (Unix timestamp) when the message was sent if the message was replied - // from another chat; 0 for messages from the same chat + // Point in time (Unix timestamp) when the message was sent if the message was from + // another chat or topic; 0 for messages from the same chat OriginSendDate int32 - // Media content of the message if the message was replied from another chat; may be null - // for messages from the same chat and messages without media. + // Media content of the message if the message was from another chat or topic; may be + // null for messages from the same chat and messages without media. Content MessageContentClass }