diff --git a/_schema/tdapi.tl b/_schema/tdapi.tl index f5961ced1e..eadec73893 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: 52a13c3af30750d098439cf0fa45bb18e02e6eb5fc1261774f2c8293e72d1b3a +// SHA256: e7ace9ca079e7c195546d81cd1bd921d5725316b31a16aaa9800e6cbea5ba8c1 double#2210c154 ? = Double; @@ -7012,7 +7012,7 @@ internalLinkTypeAttachmentMenuBot#644c4225 target_chat:TargetChat bot_username:s //@code The authentication code internalLinkTypeAuthenticationCode#f3874ff2 code:string = InternalLinkType; -//@description The link is a link to a background. Call searchBackground with the given background name to process the link +//@description The link is a link to a background. Call searchBackground with the given background name to process the link. //@background_name Name of the background internalLinkTypeBackground#b0d2908 background_name:string = InternalLinkType; @@ -7136,7 +7136,7 @@ internalLinkTypePrivacyAndSecuritySettings#ad5f6acf = InternalLinkType; //@type Type of the proxy internalLinkTypeProxy#b1b12cea server:string port:int32 type:ProxyType = InternalLinkType; -//@description The link is a link to a chat by its username. Call searchPublicChat with the given chat username to process the link +//@description The link is a link to a chat by its username. Call searchPublicChat with the given chat username to process the link. //@chat_username Username of the chat //@draft_text Draft text for message to send in the chat //@open_profile True, if chat profile information screen must be opened; otherwise, the chat itself must be opened @@ -8493,7 +8493,7 @@ updateAnimationSearchParameters#6016ef01 provider:string emojis:vector = //@removed_actions Removed suggested actions updateSuggestedActions#c2e5cccb added_actions:vector removed_actions:vector = Update; -//@description Download or upload file speed for the user was limited, but it can be restored by subscription to Telegram Premium. The notification can be postponed until a being downloaded or uploaded file is visible to the user +//@description Download or upload file speed for the user was limited, but it can be restored by subscription to Telegram Premium. The notification can be postponed until a being downloaded or uploaded file is visible to the user. //@is_upload True, if upload speed was limited; false, if download speed was limited updateSpeedLimitNotification#c683d868 is_upload:Bool = Update; @@ -10302,7 +10302,7 @@ setChatAccentColor#349f57ca chat_id:int53 accent_color_id:int32 background_custo //@profile_background_custom_emoji_id Identifier of a custom emoji to be shown on the chat's profile photo background; 0 if none. Use chatBoostLevelFeatures.can_set_profile_background_custom_emoji to check whether a custom emoji can be set setChatProfileAccentColor#4227ae7a chat_id:int53 profile_accent_color_id:int32 profile_background_custom_emoji_id:int64 = Ok; -//@description Changes the message auto-delete or self-destruct (for secret chats) time in a chat. Requires change_info administrator right in basic groups, supergroups and channels +//@description Changes the message auto-delete or self-destruct (for secret chats) time in a chat. Requires change_info administrator right in basic groups, supergroups and channels. //@chat_id Chat identifier //@message_auto_delete_time New time value, in seconds; unless the chat is secret, it must be from 0 up to 365 * 86400 and be divisible by 86400. If 0, then messages aren't deleted automatically setChatMessageAutoDeleteTime#a641b4ff chat_id:int53 message_auto_delete_time:int32 = Ok; @@ -10612,13 +10612,13 @@ getChatActiveStories#2e4ffbf5 chat_id:int53 = ChatActiveStories; //@description Returns the list of stories that posted by the given chat to its chat page. If from_story_id == 0, then pinned stories are returned first. //@chat_id Chat identifier //@from_story_id Identifier of the story starting from which stories must be returned; use 0 to get results from pinned and the newest story -//@limit The maximum number of stories to be returned +//@limit The maximum number of stories to be returned. getChatPostedToChatPageStories#fd3bc72b chat_id:int53 from_story_id:int32 limit:int32 = Stories; //@description Returns the list of all stories posted by the given chat; requires can_edit_stories right in the chat. //@chat_id Chat identifier //@from_story_id Identifier of the story starting from which stories must be returned; use 0 to get results from the last story -//@limit The maximum number of stories to be returned +//@limit The maximum number of stories to be returned. getChatArchivedStories#af1e9488 chat_id:int53 from_story_id:int32 limit:int32 = Stories; //@description Changes the list of pinned stories on a chat page; requires can_edit_stories right in the chat diff --git a/tdapi/tl_get_chat_archived_stories_gen.go b/tdapi/tl_get_chat_archived_stories_gen.go index 90d79633de..e28a533b32 100644 --- a/tdapi/tl_get_chat_archived_stories_gen.go +++ b/tdapi/tl_get_chat_archived_stories_gen.go @@ -38,7 +38,7 @@ type GetChatArchivedStoriesRequest struct { // Identifier of the story starting from which stories must be returned; use 0 to get // results from the last story FromStoryID int32 - // The maximum number of stories to be returned + // The maximum number of stories to be returned. Limit int32 } diff --git a/tdapi/tl_get_chat_posted_to_chat_page_stories_gen.go b/tdapi/tl_get_chat_posted_to_chat_page_stories_gen.go index e9b4152bf9..bbef5ad3af 100644 --- a/tdapi/tl_get_chat_posted_to_chat_page_stories_gen.go +++ b/tdapi/tl_get_chat_posted_to_chat_page_stories_gen.go @@ -38,7 +38,7 @@ type GetChatPostedToChatPageStoriesRequest struct { // Identifier of the story starting from which stories must be returned; use 0 to get // results from pinned and the newest story FromStoryID int32 - // The maximum number of stories to be returned + // The maximum number of stories to be returned. Limit int32 }