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 17, 2023
1 parent d576740 commit 7f2edaa
Show file tree
Hide file tree
Showing 11 changed files with 29 additions and 28 deletions.
28 changes: 14 additions & 14 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: 7ebc63f53cad2091dd307b4e886c829e0a4e451bbb8ffc0a8f459a632201fad2
// SHA256: 6b8f03c114a99f63b1c56b8c74d8b90d8bf37cc2f47b16a2cbe2461038450903

double#2210c154 ? = Double;

Expand Down Expand Up @@ -709,7 +709,7 @@ premiumGiftCodePaymentOptions#97a8cf2e options:vector<premiumGiftCodePaymentOpti
//@creator_id Identifier of a chat or a user that created the gift code
//@creation_date Point in time (Unix timestamp) when the code was created
//@is_from_giveaway True, if the gift code was created for a giveaway
//@giveaway_message_id Identifier of the corresponding giveaway message; can be 0 or an identifier of a deleted message
//@giveaway_message_id Identifier of the corresponding giveaway message in the creator_id chat; can be 0 or an identifier of a deleted message
//@month_count Number of month the Telegram Premium subscription will be active after code activation
//@user_id Identifier of a user for which the code was created; 0 if none
//@use_date Point in time (Unix timestamp) when the code was activated; 0 if none
Expand Down Expand Up @@ -1140,7 +1140,7 @@ messageSenderChat#f1b71131 chat_id:int53 = MessageSender;
messageSenders#f6929bcc total_count:int32 senders:vector<MessageSender> = MessageSenders;

//@description Represents a message sender, which can be used to send messages in a chat
//@sender Available message senders
//@sender The message sender
//@needs_premium True, if Telegram Premium is needed to use the message sender
chatMessageSender#2d55aeba sender:MessageSender needs_premium:Bool = ChatMessageSender;

Expand Down Expand Up @@ -1213,7 +1213,7 @@ messageReplyInfo#69240cb9 reply_count:int32 recent_replier_ids:vector<MessageSen
//@type Type of the reaction
//@total_count Number of times the reaction was added
//@is_chosen True, if the reaction is chosen by the current user
//@used_sender_id Identifier of the message sender used by the current user to add the reaction; null if unknown or the reaction isn't chosen
//@used_sender_id Identifier of the message sender used by the current user to add the reaction; may be null if unknown or the reaction isn't chosen
//@recent_sender_ids Identifiers of at most 3 recent message senders, added the reaction; available in private, basic group and supergroup chats
messageReaction#7d9e9864 type:ReactionType total_count:int32 is_chosen:Bool used_sender_id:MessageSender recent_sender_ids:vector<MessageSender> = MessageReaction;

Expand Down Expand Up @@ -1514,7 +1514,7 @@ chatTypeSupergroup#a83a5a6a supergroup_id:int53 is_channel:Bool = ChatType;

//@description A secret chat with a user
//@secret_chat_id Secret chat identifier
//@user_id User identifier of the secret chat peer
//@user_id User identifier of the other user in the secret chat
chatTypeSecret#3366ab31 secret_chat_id:int32 user_id:int53 = ChatType;

//@description Represents an icon for a chat folder
Expand Down Expand Up @@ -1700,7 +1700,7 @@ chatActionBarInviteMembers#76557c70 = ChatActionBar;

//@description The chat is a private or secret chat, which can be reported using the method reportChat, or the other user can be blocked using the method setMessageSenderBlockList,
//@can_unarchive If true, the chat was automatically archived and can be moved back to the main chat list using addChatToList simultaneously with setting chat notification settings to default using setChatNotificationSettings
//@distance If non-negative, the current user was found by the peer through searchChatsNearby and this is the distance between the users
//@distance If non-negative, the current user was found by the other user through searchChatsNearby and this is the distance between the users
chatActionBarReportAddBlock#c9832bed can_unarchive:Bool distance:int32 = ChatActionBar;

//@description The chat is a private or secret chat and the other user can be added to the contact list using the method addContact
Expand Down Expand Up @@ -3201,7 +3201,7 @@ inputThumbnail#5e515024 thumbnail:InputFile width:int32 height:int32 = InputThum
//@send_date Point in time (Unix timestamp) when the message will be sent. The date must be within 367 days in the future
messageSchedulingStateSendAtDate#a773ffe7 send_date:int32 = MessageSchedulingState;

//@description The message will be sent when the peer will be online. Applicable to private chats only and when the exact online status of the peer is known
//@description The message will be sent when the other user is online. Applicable to private chats only and when the exact online status of the other user is known
messageSchedulingStateSendWhenOnline#7cbfd808 = MessageSchedulingState;

//@class MessageSelfDestructType @description Describes when a message will be self-destructed
Expand Down Expand Up @@ -3260,7 +3260,7 @@ inputMessageAudio#daa400b2 audio:InputFile album_cover_thumbnail:inputThumbnail
//@description A document message (general file)
//@document Document to be sent
//@thumbnail Document thumbnail; pass null to skip thumbnail uploading
//@disable_content_type_detection If true, automatic file type detection will be disabled and the document will always be sent as file. Always true for files sent to secret chats
//@disable_content_type_detection True, if automatic file type detection is disabled and the document must be sent as a file. Always true for files sent to secret chats
//@caption Document caption; pass null to use an empty caption; 0-getOption("message_caption_length_max") characters
inputMessageDocument#615b72b9 document:InputFile thumbnail:inputThumbnail disable_content_type_detection:Bool caption:formattedText = InputMessageContent;

Expand Down Expand Up @@ -3877,7 +3877,7 @@ callStatePending#3ff56c2c is_created:Bool is_received:Bool = CallState;
callStateExchangingKeys#91d77a65 = CallState;

//@description The call is ready to use
//@protocol Call protocols supported by the peer
//@protocol Call protocols supported by the other call participant
//@servers List of available call servers
//@config A JSON-encoded call config
//@encryption_key Call encryption key
Expand Down Expand Up @@ -3934,7 +3934,7 @@ groupCallRecentSpeaker#6c73a9cc participant_id:MessageSender is_speaking:Bool =
//@id Group call identifier
//@title Group call title
//@scheduled_start_date Point in time (Unix timestamp) when the group call is supposed to be started by an administrator; 0 if it is already active or was ended
//@enabled_start_notification True, if the group call is scheduled and the current user will receive a notification when the group call will start
//@enabled_start_notification True, if the group call is scheduled and the current user will receive a notification when the group call starts
//@is_active True, if the call is active
//@is_rtmp_stream True, if the chat is an RTMP stream instead of an ordinary video chat
//@is_joined True, if the call is joined
Expand Down Expand Up @@ -4017,7 +4017,7 @@ callProblemPixelatedVideo#7e1526d3 = CallProblem;

//@description Describes a call
//@id Call identifier, not persistent
//@user_id Peer user identifier
//@user_id User identifier of the other call participant
//@is_outgoing True, if the call is outgoing
//@is_video True, if the call is a video call
//@state Call state
Expand Down Expand Up @@ -6406,7 +6406,7 @@ updateAuthorizationState#60b30ee2 authorization_state:AuthorizationState = Updat
//@message The new message
updateNewMessage#de6fb20e message:message = Update;

//@description A request to send a message has reached the Telegram server. This doesn't mean that the message will be sent successfully or even that the send message request will be processed.
//@description A request to send a message has reached the Telegram server. This doesn't mean that the message will be sent successfully.
//@chat_id The chat identifier of the sent message
//@message_id A temporary message identifier
updateMessageSendAcknowledged#4da7d239 chat_id:int53 message_id:int53 = Update;
Expand Down Expand Up @@ -6491,7 +6491,7 @@ updateChatAccentColor#fc111634 chat_id:int53 accent_color_id:int32 = Update;

//@description A chat's custom emoji for reply background has changed
//@chat_id Chat identifier
//@background_custom_emoji_id The new tdentifier of a custom emoji to be shown on the reply header background
//@background_custom_emoji_id The new identifier of a custom emoji to be shown on the reply header background; 0 if none
updateChatBackgroundCustomEmoji#dcbad97a chat_id:int53 background_custom_emoji_id:int64 = Update;

//@description Chat permissions was changed
Expand Down Expand Up @@ -8984,7 +8984,7 @@ getGroupCall#5787668e group_call_id:int32 = GroupCall;
//@group_call_id Group call identifier
startScheduledGroupCall#5a986d16 group_call_id:int32 = Ok;

//@description Toggles whether the current user will receive a notification when the group call will start; scheduled group calls only
//@description Toggles whether the current user will receive a notification when the group call starts; scheduled group calls only
//@group_call_id Group call identifier
//@enabled_start_notification New value of the enabled_start_notification setting
toggleGroupCallEnabledStartNotification#2a30c752 group_call_id:int32 enabled_start_notification:Bool = Ok;
Expand Down
2 changes: 1 addition & 1 deletion tdapi/tl_call_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_call_state_gen.go

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

4 changes: 2 additions & 2 deletions tdapi/tl_chat_action_bar_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_chat_message_sender_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_chat_type_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_group_call_gen.go

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

4 changes: 2 additions & 2 deletions tdapi/tl_input_message_content_gen.go

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

4 changes: 2 additions & 2 deletions tdapi/tl_message_reaction_gen.go

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

4 changes: 2 additions & 2 deletions tdapi/tl_premium_gift_code_info_gen.go

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

3 changes: 2 additions & 1 deletion tdapi/tl_update_gen.go

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

0 comments on commit 7f2edaa

Please sign in to comment.