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 Nov 28, 2023
1 parent 4b44dd1 commit 6f18a4c
Show file tree
Hide file tree
Showing 6 changed files with 34 additions and 36 deletions.
36 changes: 18 additions & 18 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: bd8aa4da2ec994c4f642cd53c169ddd8fa28533d1617148f072788b5b9e6ba2e
// SHA256: 47199fdbe43df35e885d89c2dd29fb19df054bb8d10ba48e6a21b18115d54c16

double#2210c154 ? = Double;

Expand Down Expand Up @@ -1058,7 +1058,7 @@ basicGroupFullInfo#d62e521e photo:chatPhoto description:string creator_user_id:i
//@usernames Usernames of the supergroup or channel; may be null
//@date Point in time (Unix timestamp) when the current user joined, or the point in time when the supergroup or channel was created, in case the user is not a member
//@status Status of the current user in the supergroup or channel; custom title will always be empty
//@member_count Number of members in the supergroup or channel; 0 if unknown. Currently, it is guaranteed to be known only if the supergroup or channel was received
//@member_count Number of members in the supergroup or channel; 0 if unknown. Currently, it is guaranteed to be known only if the supergroup or channel was received through
//@has_linked_chat True, if the channel has a discussion group, or the supergroup is the designated discussion group for a channel
//@has_location True, if the supergroup is connected to a location, i.e. the supergroup is a location-based supergroup
//@sign_messages True, if messages sent to the channel need to contain information about the sender. This field is only applicable to channels
Expand Down Expand Up @@ -1461,30 +1461,30 @@ notificationSettingsScopeGroupChats#483fd1f3 = NotificationSettingsScope;
notificationSettingsScopeChannelChats#20aa0588 = NotificationSettingsScope;

//@description Contains information about notification settings for a chat or a forum topic
//@use_default_mute_for If true, mute_for is ignored and the value for the relevant type of chat or the forum chat is used instead
//@use_default_mute_for If true, the value for the relevant type of chat or the forum chat is used instead of mute_for
//@mute_for Time left before notifications will be unmuted, in seconds
//@use_default_sound If true, the value for the relevant type of chat or the forum chat is used instead of sound_id
//@sound_id Identifier of the notification sound to be played for messages; 0 if sound is disabled
//@use_default_show_preview If true, show_preview is ignored and the value for the relevant type of chat or the forum chat is used instead
//@use_default_show_preview If true, the value for the relevant type of chat or the forum chat is used instead of show_preview
//@show_preview True, if message content must be displayed in notifications
//@use_default_mute_stories If true, mute_stories is ignored and the value for the relevant type of chat is used instead
//@use_default_mute_stories If true, the value for the relevant type of chat is used instead of mute_stories
//@mute_stories True, if story notifications are disabled for the chat
//@use_default_story_sound If true, the value for the relevant type of chat is used instead of story_sound_id
//@story_sound_id Identifier of the notification sound to be played for stories; 0 if sound is disabled
//@use_default_show_story_sender If true, show_story_sender is ignored and the value for the relevant type of chat is used instead
//@use_default_show_story_sender If true, the value for the relevant type of chat is used instead of show_story_sender
//@show_story_sender True, if the sender of stories must be displayed in notifications
//@use_default_disable_pinned_message_notifications If true, disable_pinned_message_notifications is ignored and the value for the relevant type of chat or the forum chat is used instead
//@use_default_disable_pinned_message_notifications If true, the value for the relevant type of chat or the forum chat is used instead of disable_pinned_message_notifications
//@disable_pinned_message_notifications If true, notifications for incoming pinned messages will be created as for an ordinary unread message
//@use_default_disable_mention_notifications If true, disable_mention_notifications is ignored and the value for the relevant type of chat or the forum chat is used instead
//@use_default_disable_mention_notifications If true, the value for the relevant type of chat or the forum chat is used instead of disable_mention_notifications
//@disable_mention_notifications If true, notifications for messages with mentions will be created as for an ordinary unread message
chatNotificationSettings#dddc12cf use_default_mute_for:Bool mute_for:int32 use_default_sound:Bool sound_id:int64 use_default_show_preview:Bool show_preview:Bool use_default_mute_stories:Bool mute_stories:Bool use_default_story_sound:Bool story_sound_id:int64 use_default_show_story_sender:Bool show_story_sender:Bool use_default_disable_pinned_message_notifications:Bool disable_pinned_message_notifications:Bool use_default_disable_mention_notifications:Bool disable_mention_notifications:Bool = ChatNotificationSettings;

//@description Contains information about notification settings for several chats
//@mute_for Time left before notifications will be unmuted, in seconds
//@sound_id Identifier of the notification sound to be played; 0 if sound is disabled
//@show_preview True, if message content must be displayed in notifications
//@use_default_mute_stories If true, mute_stories is ignored and story notifications are received only for the first 5 chats from topChatCategoryUsers
//@mute_stories True, if story notifications are disabled for the chat
//@use_default_mute_stories If true, story notifications are received only for the first 5 chats from topChatCategoryUsers regardless of the value of mute_stories
//@mute_stories True, if story notifications are disabled
//@story_sound_id Identifier of the notification sound to be played for stories; 0 if sound is disabled
//@show_story_sender True, if the sender of stories must be displayed in notifications
//@disable_pinned_message_notifications True, if notifications for incoming pinned messages will be created as for an ordinary unread message
Expand Down Expand Up @@ -2790,7 +2790,7 @@ inputPassportElementError#11084de2 type:PassportElementType message:string sourc
//@description A text message
//@text Text of the message
//@web_page A link preview attached to the message; may be null
//@link_preview_options Options which was used for generation of the link preview; may be null if default options were used
//@link_preview_options Options which were used for generation of the link preview; may be null if default options were used
messageText#c13562aa text:formattedText web_page:webPage link_preview_options:linkPreviewOptions = MessageContent;

//@description An animation message (GIF-style).
Expand Down Expand Up @@ -4064,7 +4064,7 @@ availableReaction#f9024387 type:ReactionType needs_premium:Bool = AvailableReact
//@top_reactions List of reactions to be shown at the top
//@recent_reactions List of recently used reactions
//@popular_reactions List of popular reactions
//@allow_custom_emoji True, if custom emoji reactions could be added by Telegram Premium subscribers
//@allow_custom_emoji True, if any custom emoji reaction can be added by Telegram Premium subscribers
availableReactions#d5568da9 top_reactions:vector<availableReaction> recent_reactions:vector<availableReaction> popular_reactions:vector<availableReaction> allow_custom_emoji:Bool = AvailableReactions;

//@description Contains information about a emoji reaction
Expand Down Expand Up @@ -6087,16 +6087,16 @@ autosaveSettings#c0d11a28 private_chat_settings:scopeAutosaveSettings group_sett

//@class ConnectionState @description Describes the current state of the connection to Telegram servers

//@description Currently waiting for the network to become available. Use setNetworkType to change the available network type
//@description Waiting for the network to become available. Use setNetworkType to change the available network type
connectionStateWaitingForNetwork#650dd758 = ConnectionState;

//@description Currently establishing a connection with a proxy server
//@description Establishing a connection with a proxy server
connectionStateConnectingToProxy#fa721359 = ConnectionState;

//@description Currently establishing a connection to the Telegram servers
//@description Establishing a connection to the Telegram servers
connectionStateConnecting#b29bfa62 = ConnectionState;

//@description Downloading data received while the application was offline
//@description Downloading data supposed to be received while the application was offline
connectionStateUpdating#f4c9c2b7 = ConnectionState;

//@description There is a working connection to the Telegram servers
Expand Down Expand Up @@ -6653,7 +6653,7 @@ updateNotification#8ee67ed4 notification_group_id:int32 notification:notificatio
//@removed_notification_ids Identifiers of removed group notifications, sorted by notification identifier
updateNotificationGroup#96cd9e06 notification_group_id:int32 type:NotificationGroupType chat_id:int53 notification_settings_chat_id:int53 notification_sound_id:int64 total_count:int32 added_notifications:vector<notification> removed_notification_ids:vector<int32> = Update;

//@description Contains active notifications that was shown on previous application launches. This update is sent only if the message database is used. In that case it comes once before any updateNotification and updateNotificationGroup update
//@description Contains active notifications that were shown on previous application launches. This update is sent only if the message database is used. In that case it comes once before any updateNotification and updateNotificationGroup update
//@groups Lists of active notification groups
updateActiveNotifications#317d80f2 groups:vector<notificationGroup> = Update;

Expand Down Expand Up @@ -8368,7 +8368,7 @@ setChatNotificationSettings#2e531ffe chat_id:int53 notification_settings:chatNot
//@has_protected_content New value of has_protected_content
toggleChatHasProtectedContent#3a20d94d chat_id:int53 has_protected_content:Bool = Ok;

//@description Changes the translatable state of a chat; for Telegram Premium users only
//@description Changes the translatable state of a chat
//@chat_id Chat identifier
//@is_translatable New value of is_translatable
toggleChatIsTranslatable#93f9cbdf chat_id:int53 is_translatable:Bool = Ok;
Expand Down
2 changes: 1 addition & 1 deletion tdapi/tl_available_reactions_gen.go

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

22 changes: 10 additions & 12 deletions tdapi/tl_chat_notification_settings_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_message_content_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_scope_notification_settings_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_supergroup_gen.go

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

0 comments on commit 6f18a4c

Please sign in to comment.