Skip to content

Commit

Permalink
Merge pull request #1198 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 28, 2023
2 parents 94491ee + 30c0643 commit 757e679
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 19 deletions.
22 changes: 11 additions & 11 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: aebc55c771a4ce5ea24cf9f25d4318d1642a491143616ef63fee79affd1b7549
// SHA256: c23d12535019a8cca837a75c58027e1755e6ebed2d537c28412e99990a19ba69

double#2210c154 ? = Double;

Expand Down Expand Up @@ -659,13 +659,13 @@ inputChatPhotoSticker#4e6e735d sticker:chatPhotoSticker = InputChatPhoto;
chatPermissions#af3b61cb can_send_basic_messages:Bool can_send_audios:Bool can_send_documents:Bool can_send_photos:Bool can_send_videos:Bool can_send_video_notes:Bool can_send_voice_notes:Bool can_send_polls:Bool can_send_other_messages:Bool can_add_web_page_previews:Bool can_change_info:Bool can_invite_users:Bool can_pin_messages:Bool can_manage_topics:Bool = ChatPermissions;

//@description Describes rights of the administrator
//@can_manage_chat True, if the administrator can get chat event log, get chat statistics, get chat boosts in channels, get message statistics in channels, get channel members,
//@can_manage_chat True, if the administrator can get chat event log, get chat boosts in channels, get channel members, report supergroup spam messages, see anonymous administrators in supergroups and ignore slow mode. Implied by any other privilege; applicable to supergroups and channels only
//@can_change_info True, if the administrator can change the chat title, photo, and other settings
//@can_post_messages True, if the administrator can create channel posts; applicable to channels only
//@can_post_messages True, if the administrator can create channel posts or view channel statistics; applicable to channels only
//@can_edit_messages True, if the administrator can edit messages of other users and pin messages; applicable to channels only
//@can_delete_messages True, if the administrator can delete messages of other users
//@can_invite_users True, if the administrator can invite new users to the chat
//@can_restrict_members True, if the administrator can restrict, ban, or unban chat members; always true for channels
//@can_restrict_members True, if the administrator can restrict, ban, or unban chat members or view supergroup statistics; always true for channels
//@can_pin_messages True, if the administrator can pin messages; applicable to basic groups and supergroups only
//@can_manage_topics True, if the administrator can manage topics; applicable to forum supergroups only
//@can_promote_members True, if the administrator can add new administrators with a subset of their own privileges or demote administrators that were directly or indirectly promoted by them
Expand Down Expand Up @@ -7284,13 +7284,6 @@ getChatMessagePosition#dea71718 chat_id:int53 message_id:int53 filter:SearchMess
//@chat_id Chat identifier
getChatScheduledMessages#df3d2ffb chat_id:int53 = Messages;

//@description Returns forwarded copies of a channel message to different public channels. For optimal performance, the number of returned messages is chosen by TDLib
//@chat_id Chat identifier of the message
//@message_id Message identifier
//@offset Offset of the first entry to return as received from the previous request; use empty string to get the first chunk of results
//@limit The maximum number of messages to be returned; must be positive and can't be greater than 100. For optimal performance, the number of returned messages is chosen by TDLib and can be smaller than the specified limit
getMessagePublicForwards#6006a949 chat_id:int53 message_id:int53 offset:string limit:int32 = FoundMessages;

//@description Returns sponsored messages to be shown in a chat; for channel chats only
//@chat_id Identifier of the chat
getChatSponsoredMessages#50a84098 chat_id:int53 = SponsoredMessages;
Expand Down Expand Up @@ -9563,6 +9556,13 @@ getChatStatistics#137e8198 chat_id:int53 is_dark:Bool = ChatStatistics;
//@is_dark Pass true if a dark theme is used by the application
getMessageStatistics#4bb5a1d8 chat_id:int53 message_id:int53 is_dark:Bool = MessageStatistics;

//@description Returns forwarded copies of a channel message to different public channels. Can be used only if message.can_get_statistics == true. For optimal performance, the number of returned messages is chosen by TDLib
//@chat_id Chat identifier of the message
//@message_id Message identifier
//@offset Offset of the first entry to return as received from the previous request; use empty string to get the first chunk of results
//@limit The maximum number of messages to be returned; must be positive and can't be greater than 100. For optimal performance, the number of returned messages is chosen by TDLib and can be smaller than the specified limit
getMessagePublicForwards#6006a949 chat_id:int53 message_id:int53 offset:string limit:int32 = FoundMessages;

//@description Loads an asynchronous or a zoomed in statistical graph
//@chat_id Chat identifier
//@token The token for graph loading
Expand Down
13 changes: 8 additions & 5 deletions tdapi/tl_chat_administrator_rights_gen.go

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

6 changes: 3 additions & 3 deletions tdapi/tl_registry_gen.go

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

0 comments on commit 757e679

Please sign in to comment.