Skip to content

Commit

Permalink
Merge pull request #1438 from gotd/feat/update-tdlib-schema
Browse files Browse the repository at this point in the history
Update TDLib schema to the latest layer
  • Loading branch information
ernado authored Sep 10, 2024
2 parents 3d1e163 + d43c48b commit 73fc00d
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 9 deletions.
14 changes: 7 additions & 7 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: 52a13c3af30750d098439cf0fa45bb18e02e6eb5fc1261774f2c8293e72d1b3a
// SHA256: e7ace9ca079e7c195546d81cd1bd921d5725316b31a16aaa9800e6cbea5ba8c1

double#2210c154 ? = Double;

Expand Down Expand Up @@ -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;

Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -8493,7 +8493,7 @@ updateAnimationSearchParameters#6016ef01 provider:string emojis:vector<string> =
//@removed_actions Removed suggested actions
updateSuggestedActions#c2e5cccb added_actions:vector<SuggestedAction> removed_actions:vector<SuggestedAction> = 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;

Expand Down Expand Up @@ -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;
Expand Down Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion tdapi/tl_get_chat_archived_stories_gen.go

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

2 changes: 1 addition & 1 deletion tdapi/tl_get_chat_posted_to_chat_page_stories_gen.go

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

0 comments on commit 73fc00d

Please sign in to comment.