diff --git a/Package.resolved b/Package.resolved index 38e08b5cec..17cb0d405d 100644 --- a/Package.resolved +++ b/Package.resolved @@ -6,8 +6,8 @@ "repositoryURL": "https://github.com/Swiftgram/TDLibFramework", "state": { "branch": null, - "revision": "68ddc0b9210456d3f63ebfb0c4ad98776cbb53e6", - "version": "1.8.28-77b34797" + "revision": "51b036ce6d910b195144c428fdf3b4b5d169baad", + "version": "1.8.29-e4796b9b" } } ] diff --git a/Package.swift b/Package.swift index f26d409eed..2544576bc6 100644 --- a/Package.swift +++ b/Package.swift @@ -21,7 +21,7 @@ let package = Package( targets: ["TDLibKit"]), ], dependencies: [ - .package(url: "https://github.com/Swiftgram/TDLibFramework", .exact("1.8.28-77b34797")), + .package(url: "https://github.com/Swiftgram/TDLibFramework", .exact("1.8.29-e4796b9b")), ], targets: [ .target( diff --git a/Sources/TDLibKit/Generated/API/TDLibApi.swift b/Sources/TDLibKit/Generated/API/TDLibApi.swift index 433d00f86b..c451b99fc7 100644 --- a/Sources/TDLibKit/Generated/API/TDLibApi.swift +++ b/Sources/TDLibKit/Generated/API/TDLibApi.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation @@ -463,6 +463,29 @@ public class TDLibApi { return try await self.run(query: query) } + /// Reports that authentication code wasn't delivered via SMS; for official mobile apps only. Works only when the current authorization state is authorizationStateWaitCode + /// - Parameter mobileNetworkCode: Current mobile network code + public final func reportAuthenticationCodeMissing( + mobileNetworkCode: String?, + completion: @escaping (Result) -> Void + ) throws { + let query = ReportAuthenticationCodeMissing( + mobileNetworkCode: mobileNetworkCode + ) + self.run(query: query, completion: completion) + } + + /// Reports that authentication code wasn't delivered via SMS; for official mobile apps only. Works only when the current authorization state is authorizationStateWaitCode + /// - Parameter mobileNetworkCode: Current mobile network code + @available(iOS 13.0, macOS 10.15, watchOS 6.0, tvOS 13.0, *) + @discardableResult + public final func reportAuthenticationCodeMissing(mobileNetworkCode: String?) async throws -> Ok { + let query = ReportAuthenticationCodeMissing( + mobileNetworkCode: mobileNetworkCode + ) + return try await self.run(query: query) + } + /// Checks the authentication token of a bot; to log in as a bot. Works only when the current authorization state is authorizationStateWaitPhoneNumber. Can be used instead of setAuthenticationPhoneNumber and checkAuthenticationCode to log in /// - Parameter token: The bot token public final func checkAuthenticationBotToken( @@ -1707,6 +1730,21 @@ public class TDLibApi { return try await self.run(query: query) } + /// Returns a list of channel chats recommended to the current user + /// - Returns: A list of channel chats recommended to the current user + public final func getRecommendedChats(completion: @escaping (Result) -> Void) throws { + let query = GetRecommendedChats() + self.run(query: query, completion: completion) + } + + /// Returns a list of channel chats recommended to the current user + /// - Returns: A list of channel chats recommended to the current user + @available(iOS 13.0, macOS 10.15, watchOS 6.0, tvOS 13.0, *) + public final func getRecommendedChats() async throws -> Chats { + let query = GetRecommendedChats() + return try await self.run(query: query) + } + /// Returns a list of chats similar to the given chat /// - Parameter chatId: Identifier of the target chat; must be an identifier of a channel chat /// - Returns: A list of chats similar to the given chat @@ -2122,7 +2160,7 @@ public class TDLibApi { /// Returns messages in a Saved Messages topic. The messages are returned in a reverse chronological order (i.e., in order of decreasing message_id) /// - Parameter fromMessageId: Identifier of the message starting from which messages must be fetched; use 0 to get results from the last message - /// - Parameter limit: The maximum number of messages to be returned; must be positive and can't be greater than 100. If the offset is negative, the limit must be greater than or equal to -offset.//-For optimal performance, the number of returned messages is chosen by TDLib and can be smaller than the specified limit + /// - Parameter limit: The maximum number of messages to be returned; must be positive and can't be greater than 100. If the offset is negative, the limit must be greater than or equal to -offset. For optimal performance, the number of returned messages is chosen by TDLib and can be smaller than the specified limit /// - Parameter offset: Specify 0 to get results from exactly the message from_message_id or a negative offset up to 99 to get additionally some newer messages /// - Parameter savedMessagesTopicId: Identifier of Saved Messages topic which messages will be fetched /// - Returns: Messages in a Saved Messages topic. The messages are returned in a reverse chronological order (i.e., in order of decreasing message_id) @@ -2144,7 +2182,7 @@ public class TDLibApi { /// Returns messages in a Saved Messages topic. The messages are returned in a reverse chronological order (i.e., in order of decreasing message_id) /// - Parameter fromMessageId: Identifier of the message starting from which messages must be fetched; use 0 to get results from the last message - /// - Parameter limit: The maximum number of messages to be returned; must be positive and can't be greater than 100. If the offset is negative, the limit must be greater than or equal to -offset.//-For optimal performance, the number of returned messages is chosen by TDLib and can be smaller than the specified limit + /// - Parameter limit: The maximum number of messages to be returned; must be positive and can't be greater than 100. If the offset is negative, the limit must be greater than or equal to -offset. For optimal performance, the number of returned messages is chosen by TDLib and can be smaller than the specified limit /// - Parameter offset: Specify 0 to get results from exactly the message from_message_id or a negative offset up to 99 to get additionally some newer messages /// - Parameter savedMessagesTopicId: Identifier of Saved Messages topic which messages will be fetched /// - Returns: Messages in a Saved Messages topic. The messages are returned in a reverse chronological order (i.e., in order of decreasing message_id) @@ -2351,7 +2389,7 @@ public class TDLibApi { /// Returns messages in a chat. The messages are returned in a reverse chronological order (i.e., in order of decreasing message_id). For optimal performance, the number of returned messages is chosen by TDLib. This is an offline request if only_local is true /// - Parameter chatId: Chat identifier /// - Parameter fromMessageId: Identifier of the message starting from which history must be fetched; use 0 to get results from the last message - /// - Parameter limit: The maximum number of messages to be returned; must be positive and can't be greater than 100. If the offset is negative, the limit must be greater than or equal to -offset.//-For optimal performance, the number of returned messages is chosen by TDLib and can be smaller than the specified limit + /// - Parameter limit: The maximum number of messages to be returned; must be positive and can't be greater than 100. If the offset is negative, the limit must be greater than or equal to -offset. For optimal performance, the number of returned messages is chosen by TDLib and can be smaller than the specified limit /// - Parameter offset: Specify 0 to get results from exactly the message from_message_id or a negative offset up to 99 to get additionally some newer messages /// - Parameter onlyLocal: Pass true to get only messages that are available without sending network requests /// - Returns: Messages in a chat. The messages are returned in a reverse chronological order (i.e., in order of decreasing message_id). For optimal performance, the number of returned messages is chosen by TDLib @@ -2376,7 +2414,7 @@ public class TDLibApi { /// Returns messages in a chat. The messages are returned in a reverse chronological order (i.e., in order of decreasing message_id). For optimal performance, the number of returned messages is chosen by TDLib. This is an offline request if only_local is true /// - Parameter chatId: Chat identifier /// - Parameter fromMessageId: Identifier of the message starting from which history must be fetched; use 0 to get results from the last message - /// - Parameter limit: The maximum number of messages to be returned; must be positive and can't be greater than 100. If the offset is negative, the limit must be greater than or equal to -offset.//-For optimal performance, the number of returned messages is chosen by TDLib and can be smaller than the specified limit + /// - Parameter limit: The maximum number of messages to be returned; must be positive and can't be greater than 100. If the offset is negative, the limit must be greater than or equal to -offset. For optimal performance, the number of returned messages is chosen by TDLib and can be smaller than the specified limit /// - Parameter offset: Specify 0 to get results from exactly the message from_message_id or a negative offset up to 99 to get additionally some newer messages /// - Parameter onlyLocal: Pass true to get only messages that are available without sending network requests /// - Returns: Messages in a chat. The messages are returned in a reverse chronological order (i.e., in order of decreasing message_id). For optimal performance, the number of returned messages is chosen by TDLib @@ -2401,7 +2439,7 @@ public class TDLibApi { /// Returns messages in a message thread of a message. Can be used only if message.can_get_message_thread == true. Message thread of a channel message is in the channel's linked supergroup. The messages are returned in a reverse chronological order (i.e., in order of decreasing message_id). For optimal performance, the number of returned messages is chosen by TDLib /// - Parameter chatId: Chat identifier /// - Parameter fromMessageId: Identifier of the message starting from which history must be fetched; use 0 to get results from the last message - /// - Parameter limit: The maximum number of messages to be returned; must be positive and can't be greater than 100. If the offset is negative, the limit must be greater than or equal to -offset.//-For optimal performance, the number of returned messages is chosen by TDLib and can be smaller than the specified limit + /// - Parameter limit: The maximum number of messages to be returned; must be positive and can't be greater than 100. If the offset is negative, the limit must be greater than or equal to -offset. For optimal performance, the number of returned messages is chosen by TDLib and can be smaller than the specified limit /// - Parameter messageId: Message identifier, which thread history needs to be returned /// - Parameter offset: Specify 0 to get results from exactly the message from_message_id or a negative offset up to 99 to get additionally some newer messages /// - Returns: Messages in a message thread of a message. The messages are returned in a reverse chronological order (i.e., in order of decreasing message_id). For optimal performance, the number of returned messages is chosen by TDLib @@ -2426,7 +2464,7 @@ public class TDLibApi { /// Returns messages in a message thread of a message. Can be used only if message.can_get_message_thread == true. Message thread of a channel message is in the channel's linked supergroup. The messages are returned in a reverse chronological order (i.e., in order of decreasing message_id). For optimal performance, the number of returned messages is chosen by TDLib /// - Parameter chatId: Chat identifier /// - Parameter fromMessageId: Identifier of the message starting from which history must be fetched; use 0 to get results from the last message - /// - Parameter limit: The maximum number of messages to be returned; must be positive and can't be greater than 100. If the offset is negative, the limit must be greater than or equal to -offset.//-For optimal performance, the number of returned messages is chosen by TDLib and can be smaller than the specified limit + /// - Parameter limit: The maximum number of messages to be returned; must be positive and can't be greater than 100. If the offset is negative, the limit must be greater than or equal to -offset. For optimal performance, the number of returned messages is chosen by TDLib and can be smaller than the specified limit /// - Parameter messageId: Message identifier, which thread history needs to be returned /// - Parameter offset: Specify 0 to get results from exactly the message from_message_id or a negative offset up to 99 to get additionally some newer messages /// - Returns: Messages in a message thread of a message. The messages are returned in a reverse chronological order (i.e., in order of decreasing message_id). For optimal performance, the number of returned messages is chosen by TDLib @@ -2512,7 +2550,7 @@ public class TDLibApi { /// - Parameter chatId: Identifier of the chat in which to search messages /// - Parameter filter: Additional filter for messages to search; pass null to search for all messages /// - Parameter fromMessageId: Identifier of the message starting from which history must be fetched; use 0 to get results from the last message - /// - Parameter limit: The maximum number of messages to be returned; must be positive and can't be greater than 100. If the offset is negative, the limit must be greater than -offset.//-For optimal performance, the number of returned messages is chosen by TDLib and can be smaller than the specified limit + /// - Parameter limit: The maximum number of messages to be returned; must be positive and can't be greater than 100. If the offset is negative, the limit must be greater than -offset. For optimal performance, the number of returned messages is chosen by TDLib and can be smaller than the specified limit /// - Parameter messageThreadId: If not 0, only messages in the specified thread will be returned; supergroups only /// - Parameter offset: Specify 0 to get results from exactly the message from_message_id or a negative offset to get the specified message and some newer messages /// - Parameter query: Query to search for @@ -2549,7 +2587,7 @@ public class TDLibApi { /// - Parameter chatId: Identifier of the chat in which to search messages /// - Parameter filter: Additional filter for messages to search; pass null to search for all messages /// - Parameter fromMessageId: Identifier of the message starting from which history must be fetched; use 0 to get results from the last message - /// - Parameter limit: The maximum number of messages to be returned; must be positive and can't be greater than 100. If the offset is negative, the limit must be greater than -offset.//-For optimal performance, the number of returned messages is chosen by TDLib and can be smaller than the specified limit + /// - Parameter limit: The maximum number of messages to be returned; must be positive and can't be greater than 100. If the offset is negative, the limit must be greater than -offset. For optimal performance, the number of returned messages is chosen by TDLib and can be smaller than the specified limit /// - Parameter messageThreadId: If not 0, only messages in the specified thread will be returned; supergroups only /// - Parameter offset: Specify 0 to get results from exactly the message from_message_id or a negative offset to get the specified message and some newer messages /// - Parameter query: Query to search for @@ -2589,6 +2627,7 @@ public class TDLibApi { /// - Parameter maxDate: If not 0, the maximum date of the messages to return /// - Parameter minDate: If not 0, the minimum date of the messages to return /// - Parameter offset: Offset of the first entry to return as received from the previous request; use empty string to get the first chunk of results + /// - Parameter onlyInChannels: Pass true to search only for messages in channels /// - Parameter query: Query to search for /// - Returns: The results in reverse chronological order (i.e., in order of decreasing (date, chat_id, message_id)). For optimal performance, the number of returned messages is chosen by TDLib and can be smaller than the specified limit public final func searchMessages( @@ -2598,6 +2637,7 @@ public class TDLibApi { maxDate: Int?, minDate: Int?, offset: String?, + onlyInChannels: Bool?, query: String?, completion: @escaping (Result) -> Void ) throws { @@ -2608,6 +2648,7 @@ public class TDLibApi { maxDate: maxDate, minDate: minDate, offset: offset, + onlyInChannels: onlyInChannels, query: query ) self.run(query: query, completion: completion) @@ -2620,6 +2661,7 @@ public class TDLibApi { /// - Parameter maxDate: If not 0, the maximum date of the messages to return /// - Parameter minDate: If not 0, the minimum date of the messages to return /// - Parameter offset: Offset of the first entry to return as received from the previous request; use empty string to get the first chunk of results + /// - Parameter onlyInChannels: Pass true to search only for messages in channels /// - Parameter query: Query to search for /// - Returns: The results in reverse chronological order (i.e., in order of decreasing (date, chat_id, message_id)). For optimal performance, the number of returned messages is chosen by TDLib and can be smaller than the specified limit @available(iOS 13.0, macOS 10.15, watchOS 6.0, tvOS 13.0, *) @@ -2630,6 +2672,7 @@ public class TDLibApi { maxDate: Int?, minDate: Int?, offset: String?, + onlyInChannels: Bool?, query: String? ) async throws -> FoundMessages { let query = SearchMessages( @@ -2639,6 +2682,7 @@ public class TDLibApi { maxDate: maxDate, minDate: minDate, offset: offset, + onlyInChannels: onlyInChannels, query: query ) return try await self.run(query: query) @@ -2696,7 +2740,7 @@ public class TDLibApi { /// Searches for messages tagged by the given reaction and with the given words in the Saved Messages chat; for Telegram Premium users only. Returns the results in reverse chronological order, i.e. in order of decreasing message_id For optimal performance, the number of returned messages is chosen by TDLib and can be smaller than the specified limit /// - Parameter fromMessageId: Identifier of the message starting from which messages must be fetched; use 0 to get results from the last message - /// - Parameter limit: The maximum number of messages to be returned; must be positive and can't be greater than 100. If the offset is negative, the limit must be greater than -offset.//-For optimal performance, the number of returned messages is chosen by TDLib and can be smaller than the specified limit + /// - Parameter limit: The maximum number of messages to be returned; must be positive and can't be greater than 100. If the offset is negative, the limit must be greater than -offset. For optimal performance, the number of returned messages is chosen by TDLib and can be smaller than the specified limit /// - Parameter offset: Specify 0 to get results from exactly the message from_message_id or a negative offset to get the specified message and some newer messages /// - Parameter query: Query to search for /// - Parameter savedMessagesTopicId: If not 0, only messages in the specified Saved Messages topic will be considered; pass 0 to consider all messages @@ -2724,7 +2768,7 @@ public class TDLibApi { /// Searches for messages tagged by the given reaction and with the given words in the Saved Messages chat; for Telegram Premium users only. Returns the results in reverse chronological order, i.e. in order of decreasing message_id For optimal performance, the number of returned messages is chosen by TDLib and can be smaller than the specified limit /// - Parameter fromMessageId: Identifier of the message starting from which messages must be fetched; use 0 to get results from the last message - /// - Parameter limit: The maximum number of messages to be returned; must be positive and can't be greater than 100. If the offset is negative, the limit must be greater than -offset.//-For optimal performance, the number of returned messages is chosen by TDLib and can be smaller than the specified limit + /// - Parameter limit: The maximum number of messages to be returned; must be positive and can't be greater than 100. If the offset is negative, the limit must be greater than -offset. For optimal performance, the number of returned messages is chosen by TDLib and can be smaller than the specified limit /// - Parameter offset: Specify 0 to get results from exactly the message from_message_id or a negative offset to get the specified message and some newer messages /// - Parameter query: Query to search for /// - Parameter savedMessagesTopicId: If not 0, only messages in the specified Saved Messages topic will be considered; pass 0 to consider all messages @@ -3401,7 +3445,7 @@ public class TDLibApi { /// Translates a text to the given language. If the current user is a Telegram Premium user, then text formatting is preserved /// - Parameter text: Text to translate - /// - Parameter toLanguageCode: Language code of the language to which the message is translated. Must be one of//-"af", "sq", "am", "ar", "hy", "az", "eu", "be", "bn", "bs", "bg", "ca", "ceb", "zh-CN", "zh", "zh-Hans", "zh-TW", "zh-Hant", "co", "hr", "cs", "da", "nl", "en", "eo", "et",//-"fi", "fr", "fy", "gl", "ka", "de", "el", "gu", "ht", "ha", "haw", "he", "iw", "hi", "hmn", "hu", "is", "ig", "id", "in", "ga", "it", "ja", "jv", "kn", "kk", "km", "rw", "ko",//-"ku", "ky", "lo", "la", "lv", "lt", "lb", "mk", "mg", "ms", "ml", "mt", "mi", "mr", "mn", "my", "ne", "no", "ny", "or", "ps", "fa", "pl", "pt", "pa", "ro", "ru", "sm", "gd", "sr",//-"st", "sn", "sd", "si", "sk", "sl", "so", "es", "su", "sw", "sv", "tl", "tg", "ta", "tt", "te", "th", "tr", "tk", "uk", "ur", "ug", "uz", "vi", "cy", "xh", "yi", "ji", "yo", "zu" + /// - Parameter toLanguageCode: Language code of the language to which the message is translated. Must be one of "af", "sq", "am", "ar", "hy", "az", "eu", "be", "bn", "bs", "bg", "ca", "ceb", "zh-CN", "zh", "zh-Hans", "zh-TW", "zh-Hant", "co", "hr", "cs", "da", "nl", "en", "eo", "et", "fi", "fr", "fy", "gl", "ka", "de", "el", "gu", "ht", "ha", "haw", "he", "iw", "hi", "hmn", "hu", "is", "ig", "id", "in", "ga", "it", "ja", "jv", "kn", "kk", "km", "rw", "ko", "ku", "ky", "lo", "la", "lv", "lt", "lb", "mk", "mg", "ms", "ml", "mt", "mi", "mr", "mn", "my", "ne", "no", "ny", "or", "ps", "fa", "pl", "pt", "pa", "ro", "ru", "sm", "gd", "sr", "st", "sn", "sd", "si", "sk", "sl", "so", "es", "su", "sw", "sv", "tl", "tg", "ta", "tt", "te", "th", "tr", "tk", "uk", "ur", "ug", "uz", "vi", "cy", "xh", "yi", "ji", "yo", "zu" public final func translateText( text: FormattedText?, toLanguageCode: String?, @@ -3416,7 +3460,7 @@ public class TDLibApi { /// Translates a text to the given language. If the current user is a Telegram Premium user, then text formatting is preserved /// - Parameter text: Text to translate - /// - Parameter toLanguageCode: Language code of the language to which the message is translated. Must be one of//-"af", "sq", "am", "ar", "hy", "az", "eu", "be", "bn", "bs", "bg", "ca", "ceb", "zh-CN", "zh", "zh-Hans", "zh-TW", "zh-Hant", "co", "hr", "cs", "da", "nl", "en", "eo", "et",//-"fi", "fr", "fy", "gl", "ka", "de", "el", "gu", "ht", "ha", "haw", "he", "iw", "hi", "hmn", "hu", "is", "ig", "id", "in", "ga", "it", "ja", "jv", "kn", "kk", "km", "rw", "ko",//-"ku", "ky", "lo", "la", "lv", "lt", "lb", "mk", "mg", "ms", "ml", "mt", "mi", "mr", "mn", "my", "ne", "no", "ny", "or", "ps", "fa", "pl", "pt", "pa", "ro", "ru", "sm", "gd", "sr",//-"st", "sn", "sd", "si", "sk", "sl", "so", "es", "su", "sw", "sv", "tl", "tg", "ta", "tt", "te", "th", "tr", "tk", "uk", "ur", "ug", "uz", "vi", "cy", "xh", "yi", "ji", "yo", "zu" + /// - Parameter toLanguageCode: Language code of the language to which the message is translated. Must be one of "af", "sq", "am", "ar", "hy", "az", "eu", "be", "bn", "bs", "bg", "ca", "ceb", "zh-CN", "zh", "zh-Hans", "zh-TW", "zh-Hant", "co", "hr", "cs", "da", "nl", "en", "eo", "et", "fi", "fr", "fy", "gl", "ka", "de", "el", "gu", "ht", "ha", "haw", "he", "iw", "hi", "hmn", "hu", "is", "ig", "id", "in", "ga", "it", "ja", "jv", "kn", "kk", "km", "rw", "ko", "ku", "ky", "lo", "la", "lv", "lt", "lb", "mk", "mg", "ms", "ml", "mt", "mi", "mr", "mn", "my", "ne", "no", "ny", "or", "ps", "fa", "pl", "pt", "pa", "ro", "ru", "sm", "gd", "sr", "st", "sn", "sd", "si", "sk", "sl", "so", "es", "su", "sw", "sv", "tl", "tg", "ta", "tt", "te", "th", "tr", "tk", "uk", "ur", "ug", "uz", "vi", "cy", "xh", "yi", "ji", "yo", "zu" @available(iOS 13.0, macOS 10.15, watchOS 6.0, tvOS 13.0, *) public final func translateText( text: FormattedText?, @@ -3432,7 +3476,7 @@ public class TDLibApi { /// Extracts text or caption of the given message and translates it to the given language. If the current user is a Telegram Premium user, then text formatting is preserved /// - Parameter chatId: Identifier of the chat to which the message belongs /// - Parameter messageId: Identifier of the message - /// - Parameter toLanguageCode: Language code of the language to which the message is translated. Must be one of//-"af", "sq", "am", "ar", "hy", "az", "eu", "be", "bn", "bs", "bg", "ca", "ceb", "zh-CN", "zh", "zh-Hans", "zh-TW", "zh-Hant", "co", "hr", "cs", "da", "nl", "en", "eo", "et",//-"fi", "fr", "fy", "gl", "ka", "de", "el", "gu", "ht", "ha", "haw", "he", "iw", "hi", "hmn", "hu", "is", "ig", "id", "in", "ga", "it", "ja", "jv", "kn", "kk", "km", "rw", "ko",//-"ku", "ky", "lo", "la", "lv", "lt", "lb", "mk", "mg", "ms", "ml", "mt", "mi", "mr", "mn", "my", "ne", "no", "ny", "or", "ps", "fa", "pl", "pt", "pa", "ro", "ru", "sm", "gd", "sr",//-"st", "sn", "sd", "si", "sk", "sl", "so", "es", "su", "sw", "sv", "tl", "tg", "ta", "tt", "te", "th", "tr", "tk", "uk", "ur", "ug", "uz", "vi", "cy", "xh", "yi", "ji", "yo", "zu" + /// - Parameter toLanguageCode: Language code of the language to which the message is translated. Must be one of "af", "sq", "am", "ar", "hy", "az", "eu", "be", "bn", "bs", "bg", "ca", "ceb", "zh-CN", "zh", "zh-Hans", "zh-TW", "zh-Hant", "co", "hr", "cs", "da", "nl", "en", "eo", "et", "fi", "fr", "fy", "gl", "ka", "de", "el", "gu", "ht", "ha", "haw", "he", "iw", "hi", "hmn", "hu", "is", "ig", "id", "in", "ga", "it", "ja", "jv", "kn", "kk", "km", "rw", "ko", "ku", "ky", "lo", "la", "lv", "lt", "lb", "mk", "mg", "ms", "ml", "mt", "mi", "mr", "mn", "my", "ne", "no", "ny", "or", "ps", "fa", "pl", "pt", "pa", "ro", "ru", "sm", "gd", "sr", "st", "sn", "sd", "si", "sk", "sl", "so", "es", "su", "sw", "sv", "tl", "tg", "ta", "tt", "te", "th", "tr", "tk", "uk", "ur", "ug", "uz", "vi", "cy", "xh", "yi", "ji", "yo", "zu" public final func translateMessageText( chatId: Int64?, messageId: Int64?, @@ -3450,7 +3494,7 @@ public class TDLibApi { /// Extracts text or caption of the given message and translates it to the given language. If the current user is a Telegram Premium user, then text formatting is preserved /// - Parameter chatId: Identifier of the chat to which the message belongs /// - Parameter messageId: Identifier of the message - /// - Parameter toLanguageCode: Language code of the language to which the message is translated. Must be one of//-"af", "sq", "am", "ar", "hy", "az", "eu", "be", "bn", "bs", "bg", "ca", "ceb", "zh-CN", "zh", "zh-Hans", "zh-TW", "zh-Hant", "co", "hr", "cs", "da", "nl", "en", "eo", "et",//-"fi", "fr", "fy", "gl", "ka", "de", "el", "gu", "ht", "ha", "haw", "he", "iw", "hi", "hmn", "hu", "is", "ig", "id", "in", "ga", "it", "ja", "jv", "kn", "kk", "km", "rw", "ko",//-"ku", "ky", "lo", "la", "lv", "lt", "lb", "mk", "mg", "ms", "ml", "mt", "mi", "mr", "mn", "my", "ne", "no", "ny", "or", "ps", "fa", "pl", "pt", "pa", "ro", "ru", "sm", "gd", "sr",//-"st", "sn", "sd", "si", "sk", "sl", "so", "es", "su", "sw", "sv", "tl", "tg", "ta", "tt", "te", "th", "tr", "tk", "uk", "ur", "ug", "uz", "vi", "cy", "xh", "yi", "ji", "yo", "zu" + /// - Parameter toLanguageCode: Language code of the language to which the message is translated. Must be one of "af", "sq", "am", "ar", "hy", "az", "eu", "be", "bn", "bs", "bg", "ca", "ceb", "zh-CN", "zh", "zh-Hans", "zh-TW", "zh-Hant", "co", "hr", "cs", "da", "nl", "en", "eo", "et", "fi", "fr", "fy", "gl", "ka", "de", "el", "gu", "ht", "ha", "haw", "he", "iw", "hi", "hmn", "hu", "is", "ig", "id", "in", "ga", "it", "ja", "jv", "kn", "kk", "km", "rw", "ko", "ku", "ky", "lo", "la", "lv", "lt", "lb", "mk", "mg", "ms", "ml", "mt", "mi", "mr", "mn", "my", "ne", "no", "ny", "or", "ps", "fa", "pl", "pt", "pa", "ro", "ru", "sm", "gd", "sr", "st", "sn", "sd", "si", "sk", "sl", "so", "es", "su", "sw", "sv", "tl", "tg", "ta", "tt", "te", "th", "tr", "tk", "uk", "ur", "ug", "uz", "vi", "cy", "xh", "yi", "ji", "yo", "zu" @available(iOS 13.0, macOS 10.15, watchOS 6.0, tvOS 13.0, *) public final func translateMessageText( chatId: Int64?, @@ -3533,9 +3577,9 @@ public class TDLibApi { return try await self.run(query: query) } - /// Returns list of message sender identifiers, which can be used to send messages in a chat + /// Returns the list of message sender identifiers, which can be used to send messages in a chat /// - Parameter chatId: Chat identifier - /// - Returns: List of message sender identifiers, which can be used to send messages in a chat + /// - Returns: The list of message sender identifiers, which can be used to send messages in a chat public final func getChatAvailableMessageSenders( chatId: Int64?, completion: @escaping (Result) -> Void @@ -3546,9 +3590,9 @@ public class TDLibApi { self.run(query: query, completion: completion) } - /// Returns list of message sender identifiers, which can be used to send messages in a chat + /// Returns the list of message sender identifiers, which can be used to send messages in a chat /// - Parameter chatId: Chat identifier - /// - Returns: List of message sender identifiers, which can be used to send messages in a chat + /// - Returns: The list of message sender identifiers, which can be used to send messages in a chat @available(iOS 13.0, macOS 10.15, watchOS 6.0, tvOS 13.0, *) public final func getChatAvailableMessageSenders(chatId: Int64?) async throws -> ChatMessageSenders { let query = GetChatAvailableMessageSenders( @@ -4138,6 +4182,7 @@ public class TDLibApi { /// Edits the message content of a live location. Messages can be edited for a limited period of time specified in the live location. Returns the edited message after the edit is completed on the server side /// - Parameter chatId: The chat the message belongs to /// - Parameter heading: The new direction in which the location moves, in degrees; 1-360. Pass 0 if unknown + /// - Parameter livePeriod: New time relative to the message send date, for which the location can be updated, in seconds. If 0x7FFFFFFF specified, then the location can be updated forever. Otherwise, must not exceed the current live_period by more than a day, and the live location expiration date must remain in the next 90 days. Pass 0 to keep the current live_period /// - Parameter location: New location content of the message; pass null to stop sharing the live location /// - Parameter messageId: Identifier of the message /// - Parameter proximityAlertRadius: The new maximum distance for proximity alerts, in meters (0-100000). Pass 0 if the notification is disabled @@ -4146,6 +4191,7 @@ public class TDLibApi { public final func editMessageLiveLocation( chatId: Int64?, heading: Int?, + livePeriod: Int?, location: Location?, messageId: Int64?, proximityAlertRadius: Int?, @@ -4155,6 +4201,7 @@ public class TDLibApi { let query = EditMessageLiveLocation( chatId: chatId, heading: heading, + livePeriod: livePeriod, location: location, messageId: messageId, proximityAlertRadius: proximityAlertRadius, @@ -4166,6 +4213,7 @@ public class TDLibApi { /// Edits the message content of a live location. Messages can be edited for a limited period of time specified in the live location. Returns the edited message after the edit is completed on the server side /// - Parameter chatId: The chat the message belongs to /// - Parameter heading: The new direction in which the location moves, in degrees; 1-360. Pass 0 if unknown + /// - Parameter livePeriod: New time relative to the message send date, for which the location can be updated, in seconds. If 0x7FFFFFFF specified, then the location can be updated forever. Otherwise, must not exceed the current live_period by more than a day, and the live location expiration date must remain in the next 90 days. Pass 0 to keep the current live_period /// - Parameter location: New location content of the message; pass null to stop sharing the live location /// - Parameter messageId: Identifier of the message /// - Parameter proximityAlertRadius: The new maximum distance for proximity alerts, in meters (0-100000). Pass 0 if the notification is disabled @@ -4175,6 +4223,7 @@ public class TDLibApi { public final func editMessageLiveLocation( chatId: Int64?, heading: Int?, + livePeriod: Int?, location: Location?, messageId: Int64?, proximityAlertRadius: Int?, @@ -4183,6 +4232,7 @@ public class TDLibApi { let query = EditMessageLiveLocation( chatId: chatId, heading: heading, + livePeriod: livePeriod, location: location, messageId: messageId, proximityAlertRadius: proximityAlertRadius, @@ -4357,12 +4407,14 @@ public class TDLibApi { /// Edits the content of a live location in an inline message sent via a bot; for bots only /// - Parameter heading: The new direction in which the location moves, in degrees; 1-360. Pass 0 if unknown /// - Parameter inlineMessageId: Inline message identifier + /// - Parameter livePeriod: New time relative to the message send date, for which the location can be updated, in seconds. If 0x7FFFFFFF specified, then the location can be updated forever. Otherwise, must not exceed the current live_period by more than a day, and the live location expiration date must remain in the next 90 days. Pass 0 to keep the current live_period /// - Parameter location: New location content of the message; pass null to stop sharing the live location /// - Parameter proximityAlertRadius: The new maximum distance for proximity alerts, in meters (0-100000). Pass 0 if the notification is disabled /// - Parameter replyMarkup: The new message reply markup; pass null if none public final func editInlineMessageLiveLocation( heading: Int?, inlineMessageId: String?, + livePeriod: Int?, location: Location?, proximityAlertRadius: Int?, replyMarkup: ReplyMarkup?, @@ -4371,6 +4423,7 @@ public class TDLibApi { let query = EditInlineMessageLiveLocation( heading: heading, inlineMessageId: inlineMessageId, + livePeriod: livePeriod, location: location, proximityAlertRadius: proximityAlertRadius, replyMarkup: replyMarkup @@ -4381,6 +4434,7 @@ public class TDLibApi { /// Edits the content of a live location in an inline message sent via a bot; for bots only /// - Parameter heading: The new direction in which the location moves, in degrees; 1-360. Pass 0 if unknown /// - Parameter inlineMessageId: Inline message identifier + /// - Parameter livePeriod: New time relative to the message send date, for which the location can be updated, in seconds. If 0x7FFFFFFF specified, then the location can be updated forever. Otherwise, must not exceed the current live_period by more than a day, and the live location expiration date must remain in the next 90 days. Pass 0 to keep the current live_period /// - Parameter location: New location content of the message; pass null to stop sharing the live location /// - Parameter proximityAlertRadius: The new maximum distance for proximity alerts, in meters (0-100000). Pass 0 if the notification is disabled /// - Parameter replyMarkup: The new message reply markup; pass null if none @@ -4389,6 +4443,7 @@ public class TDLibApi { public final func editInlineMessageLiveLocation( heading: Int?, inlineMessageId: String?, + livePeriod: Int?, location: Location?, proximityAlertRadius: Int?, replyMarkup: ReplyMarkup? @@ -4396,6 +4451,7 @@ public class TDLibApi { let query = EditInlineMessageLiveLocation( heading: heading, inlineMessageId: inlineMessageId, + livePeriod: livePeriod, location: location, proximityAlertRadius: proximityAlertRadius, replyMarkup: replyMarkup @@ -4919,6 +4975,44 @@ public class TDLibApi { return try await self.run(query: query) } + /// Adds 2-10 messages grouped together into an album to a quick reply shortcut. Currently, only audio, document, photo and video messages can be grouped into an album. Documents and audio files can be only grouped in an album with messages of the same type. Returns sent messages + /// - Parameter inputMessageContents: Contents of messages to be sent. At most 10 messages can be added to an album + /// - Parameter replyToMessageId: Identifier of a quick reply message in the same shortcut to be replied; pass 0 if none + /// - Parameter shortcutName: Name of the target shortcut + /// - Returns: Sent messages + public final func addQuickReplyShortcutMessageAlbum( + inputMessageContents: [InputMessageContent]?, + replyToMessageId: Int64?, + shortcutName: String?, + completion: @escaping (Result) -> Void + ) throws { + let query = AddQuickReplyShortcutMessageAlbum( + inputMessageContents: inputMessageContents, + replyToMessageId: replyToMessageId, + shortcutName: shortcutName + ) + self.run(query: query, completion: completion) + } + + /// Adds 2-10 messages grouped together into an album to a quick reply shortcut. Currently, only audio, document, photo and video messages can be grouped into an album. Documents and audio files can be only grouped in an album with messages of the same type. Returns sent messages + /// - Parameter inputMessageContents: Contents of messages to be sent. At most 10 messages can be added to an album + /// - Parameter replyToMessageId: Identifier of a quick reply message in the same shortcut to be replied; pass 0 if none + /// - Parameter shortcutName: Name of the target shortcut + /// - Returns: Sent messages + @available(iOS 13.0, macOS 10.15, watchOS 6.0, tvOS 13.0, *) + public final func addQuickReplyShortcutMessageAlbum( + inputMessageContents: [InputMessageContent]?, + replyToMessageId: Int64?, + shortcutName: String? + ) async throws -> QuickReplyMessages { + let query = AddQuickReplyShortcutMessageAlbum( + inputMessageContents: inputMessageContents, + replyToMessageId: replyToMessageId, + shortcutName: shortcutName + ) + return try await self.run(query: query) + } + /// Readds quick reply messages which failed to add. Can be called only for messages for which messageSendingStateFailed.can_retry is true and after specified in messageSendingStateFailed.retry_after time passed. If a message is readded, the corresponding failed to send message is deleted. Returns the sent messages in the same order as the message identifiers passed in message_ids. If a message can't be readded, null will be returned instead of the message /// - Parameter messageIds: Identifiers of the quick reply messages to readd. Message identifiers must be in a strictly increasing order /// - Parameter shortcutName: Name of the target shortcut @@ -4988,15 +5082,15 @@ public class TDLibApi { return try await self.run(query: query) } - /// Returns list of custom emojis, which can be used as forum topic icon by all users - /// - Returns: List of custom emojis, which can be used as forum topic icon by all users + /// Returns the list of custom emojis, which can be used as forum topic icon by all users + /// - Returns: The list of custom emojis, which can be used as forum topic icon by all users public final func getForumTopicDefaultIcons(completion: @escaping (Result) -> Void) throws { let query = GetForumTopicDefaultIcons() self.run(query: query, completion: completion) } - /// Returns list of custom emojis, which can be used as forum topic icon by all users - /// - Returns: List of custom emojis, which can be used as forum topic icon by all users + /// Returns the list of custom emojis, which can be used as forum topic icon by all users + /// - Returns: The list of custom emojis, which can be used as forum topic icon by all users @available(iOS 13.0, macOS 10.15, watchOS 6.0, tvOS 13.0, *) public final func getForumTopicDefaultIcons() async throws -> Stickers { let query = GetForumTopicDefaultIcons() @@ -6249,6 +6343,20 @@ public class TDLibApi { return try await self.run(query: query) } + /// Hides the list of contacts that have close birthdays for 24 hours + public final func hideContactCloseBirthdays(completion: @escaping (Result) -> Void) throws { + let query = HideContactCloseBirthdays() + self.run(query: query, completion: completion) + } + + /// Hides the list of contacts that have close birthdays for 24 hours + @available(iOS 13.0, macOS 10.15, watchOS 6.0, tvOS 13.0, *) + @discardableResult + public final func hideContactCloseBirthdays() async throws -> Ok { + let query = HideContactCloseBirthdays() + return try await self.run(query: query) + } + /// Returns information about a business connection by its identifier; for bots only /// - Parameter connectionId: Identifier of the business connection to return /// - Returns: Information about a business connection by its identifier @@ -6408,7 +6516,7 @@ public class TDLibApi { /// - Parameter buttonId: Identifier of the button /// - Parameter chatId: Identifier of the chat with the bot /// - Parameter messageId: Identifier of the message with the button - /// - Parameter onlyCheck: Pass true to check that the chat can be shared by the button instead of actually sharing it. Doesn't check bot_is_member and bot_administrator_rights restrictions.//-If the bot must be a member, then all chats from getGroupsInCommon and all chats, where the user can add the bot, are suitable. In the latter case the bot will be automatically added to the chat.//-If the bot must be an administrator, then all chats, where the bot already has requested rights or can be added to administrators by the user, are suitable. In the latter case the bot will be automatically granted requested rights + /// - Parameter onlyCheck: Pass true to check that the chat can be shared by the button instead of actually sharing it. Doesn't check bot_is_member and bot_administrator_rights restrictions. If the bot must be a member, then all chats from getGroupsInCommon and all chats, where the user can add the bot, are suitable. In the latter case the bot will be automatically added to the chat. If the bot must be an administrator, then all chats, where the bot already has requested rights or can be added to administrators by the user, are suitable. In the latter case the bot will be automatically granted requested rights /// - Parameter sharedChatId: Identifier of the shared chat public final func shareChatWithBot( buttonId: Int?, @@ -6432,7 +6540,7 @@ public class TDLibApi { /// - Parameter buttonId: Identifier of the button /// - Parameter chatId: Identifier of the chat with the bot /// - Parameter messageId: Identifier of the message with the button - /// - Parameter onlyCheck: Pass true to check that the chat can be shared by the button instead of actually sharing it. Doesn't check bot_is_member and bot_administrator_rights restrictions.//-If the bot must be a member, then all chats from getGroupsInCommon and all chats, where the user can add the bot, are suitable. In the latter case the bot will be automatically added to the chat.//-If the bot must be an administrator, then all chats, where the bot already has requested rights or can be added to administrators by the user, are suitable. In the latter case the bot will be automatically granted requested rights + /// - Parameter onlyCheck: Pass true to check that the chat can be shared by the button instead of actually sharing it. Doesn't check bot_is_member and bot_administrator_rights restrictions. If the bot must be a member, then all chats from getGroupsInCommon and all chats, where the user can add the bot, are suitable. In the latter case the bot will be automatically added to the chat. If the bot must be an administrator, then all chats, where the bot already has requested rights or can be added to administrators by the user, are suitable. In the latter case the bot will be automatically granted requested rights /// - Parameter sharedChatId: Identifier of the shared chat @available(iOS 13.0, macOS 10.15, watchOS 6.0, tvOS 13.0, *) @discardableResult @@ -8599,7 +8707,7 @@ public class TDLibApi { /// Changes accent color and background custom emoji for profile of a supergroup or channel chat. Requires can_change_info administrator right /// - Parameter chatId: Chat identifier - /// - Parameter profileAccentColorId: Identifier of the accent color to use for profile; pass -1 if none. The chat must have at least profileAccentColor.min_supergroup_chat_boost_level for supergroups//-or profileAccentColor.min_channel_chat_boost_level for channels boost level to pass the corresponding color + /// - Parameter profileAccentColorId: Identifier of the accent color to use for profile; pass -1 if none. The chat must have at least profileAccentColor.min_supergroup_chat_boost_level for supergroups or profileAccentColor.min_channel_chat_boost_level for channels boost level to pass the corresponding color /// - Parameter profileBackgroundCustomEmojiId: 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 public final func setChatProfileAccentColor( chatId: Int64?, @@ -8617,7 +8725,7 @@ public class TDLibApi { /// Changes accent color and background custom emoji for profile of a supergroup or channel chat. Requires can_change_info administrator right /// - Parameter chatId: Chat identifier - /// - Parameter profileAccentColorId: Identifier of the accent color to use for profile; pass -1 if none. The chat must have at least profileAccentColor.min_supergroup_chat_boost_level for supergroups//-or profileAccentColor.min_channel_chat_boost_level for channels boost level to pass the corresponding color + /// - Parameter profileAccentColorId: Identifier of the accent color to use for profile; pass -1 if none. The chat must have at least profileAccentColor.min_supergroup_chat_boost_level for supergroups or profileAccentColor.min_channel_chat_boost_level for channels boost level to pass the corresponding color /// - Parameter profileBackgroundCustomEmojiId: 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 @available(iOS 13.0, macOS 10.15, watchOS 6.0, tvOS 13.0, *) @discardableResult @@ -8732,7 +8840,7 @@ public class TDLibApi { /// - Parameter chatId: Chat identifier /// - Parameter darkThemeDimming: Dimming of the background in dark themes, as a percentage; 0-100. Applied only to Wallpaper and Fill types of background /// - Parameter onlyForSelf: Pass true to set background only for self; pass false to set background for all chat users. Always false for backgrounds set in boosted chats. Background can be set for both users only by Telegram Premium users and if set background isn't of the type inputBackgroundPrevious - /// - Parameter type: Background type; pass null to use default background type for the chosen background; backgroundTypeChatTheme isn't supported for private and secret chats.//-Use chatBoostLevelFeatures.chat_theme_background_count and chatBoostLevelFeatures.can_set_custom_background to check whether the background type can be set in the boosted chat + /// - Parameter type: Background type; pass null to use default background type for the chosen background; backgroundTypeChatTheme isn't supported for private and secret chats. Use chatBoostLevelFeatures.chat_theme_background_count and chatBoostLevelFeatures.can_set_custom_background to check whether the background type can be set in the boosted chat public final func setChatBackground( background: InputBackground?, chatId: Int64?, @@ -8756,7 +8864,7 @@ public class TDLibApi { /// - Parameter chatId: Chat identifier /// - Parameter darkThemeDimming: Dimming of the background in dark themes, as a percentage; 0-100. Applied only to Wallpaper and Fill types of background /// - Parameter onlyForSelf: Pass true to set background only for self; pass false to set background for all chat users. Always false for backgrounds set in boosted chats. Background can be set for both users only by Telegram Premium users and if set background isn't of the type inputBackgroundPrevious - /// - Parameter type: Background type; pass null to use default background type for the chosen background; backgroundTypeChatTheme isn't supported for private and secret chats.//-Use chatBoostLevelFeatures.chat_theme_background_count and chatBoostLevelFeatures.can_set_custom_background to check whether the background type can be set in the boosted chat + /// - Parameter type: Background type; pass null to use default background type for the chosen background; backgroundTypeChatTheme isn't supported for private and secret chats. Use chatBoostLevelFeatures.chat_theme_background_count and chatBoostLevelFeatures.can_set_custom_background to check whether the background type can be set in the boosted chat @available(iOS 13.0, macOS 10.15, watchOS 6.0, tvOS 13.0, *) @discardableResult public final func setChatBackground( @@ -8778,7 +8886,7 @@ public class TDLibApi { /// Deletes background in a specific chat /// - Parameter chatId: Chat identifier - /// - Parameter restorePrevious: Pass true to restore previously set background. Can be used only in private and secret chats with non-deleted users if userFullInfo.set_chat_background == true.//-Supposed to be used from messageChatSetBackground messages with the currently set background that was set for both sides by the other user + /// - Parameter restorePrevious: Pass true to restore previously set background. Can be used only in private and secret chats with non-deleted users if userFullInfo.set_chat_background == true. Supposed to be used from messageChatSetBackground messages with the currently set background that was set for both sides by the other user public final func deleteChatBackground( chatId: Int64?, restorePrevious: Bool?, @@ -8793,7 +8901,7 @@ public class TDLibApi { /// Deletes background in a specific chat /// - Parameter chatId: Chat identifier - /// - Parameter restorePrevious: Pass true to restore previously set background. Can be used only in private and secret chats with non-deleted users if userFullInfo.set_chat_background == true.//-Supposed to be used from messageChatSetBackground messages with the currently set background that was set for both sides by the other user + /// - Parameter restorePrevious: Pass true to restore previously set background. Can be used only in private and secret chats with non-deleted users if userFullInfo.set_chat_background == true. Supposed to be used from messageChatSetBackground messages with the currently set background that was set for both sides by the other user @available(iOS 13.0, macOS 10.15, watchOS 6.0, tvOS 13.0, *) @discardableResult public final func deleteChatBackground( @@ -9156,7 +9264,7 @@ public class TDLibApi { /// Changes the discussion group of a channel chat; requires can_change_info administrator right in the channel if it is specified /// - Parameter chatId: Identifier of the channel chat. Pass 0 to remove a link from the supergroup passed in the second argument to a linked channel chat (requires can_pin_messages member right in the supergroup) - /// - Parameter discussionChatId: Identifier of a new channel's discussion group. Use 0 to remove the discussion group. Use the method getSuitableDiscussionChats to find all suitable groups.//-Basic group chats must be first upgraded to supergroup chats. If new chat members don't have access to old messages in the supergroup, then toggleSupergroupIsAllHistoryAvailable must be used first to change that + /// - Parameter discussionChatId: Identifier of a new channel's discussion group. Use 0 to remove the discussion group. Use the method getSuitableDiscussionChats to find all suitable groups. Basic group chats must be first upgraded to supergroup chats. If new chat members don't have access to old messages in the supergroup, then toggleSupergroupIsAllHistoryAvailable must be used first to change that public final func setChatDiscussionGroup( chatId: Int64?, discussionChatId: Int64?, @@ -9171,7 +9279,7 @@ public class TDLibApi { /// Changes the discussion group of a channel chat; requires can_change_info administrator right in the channel if it is specified /// - Parameter chatId: Identifier of the channel chat. Pass 0 to remove a link from the supergroup passed in the second argument to a linked channel chat (requires can_pin_messages member right in the supergroup) - /// - Parameter discussionChatId: Identifier of a new channel's discussion group. Use 0 to remove the discussion group. Use the method getSuitableDiscussionChats to find all suitable groups.//-Basic group chats must be first upgraded to supergroup chats. If new chat members don't have access to old messages in the supergroup, then toggleSupergroupIsAllHistoryAvailable must be used first to change that + /// - Parameter discussionChatId: Identifier of a new channel's discussion group. Use 0 to remove the discussion group. Use the method getSuitableDiscussionChats to find all suitable groups. Basic group chats must be first upgraded to supergroup chats. If new chat members don't have access to old messages in the supergroup, then toggleSupergroupIsAllHistoryAvailable must be used first to change that @available(iOS 13.0, macOS 10.15, watchOS 6.0, tvOS 13.0, *) @discardableResult public final func setChatDiscussionGroup( @@ -9770,15 +9878,15 @@ public class TDLibApi { return try await self.run(query: query) } - /// Returns list of saved notification sounds. If a sound isn't in the list, then default sound needs to be used - /// - Returns: List of saved notification sounds + /// Returns the list of saved notification sounds. If a sound isn't in the list, then default sound needs to be used + /// - Returns: The list of saved notification sounds public final func getSavedNotificationSounds(completion: @escaping (Result) -> Void) throws { let query = GetSavedNotificationSounds() self.run(query: query, completion: completion) } - /// Returns list of saved notification sounds. If a sound isn't in the list, then default sound needs to be used - /// - Returns: List of saved notification sounds + /// Returns the list of saved notification sounds. If a sound isn't in the list, then default sound needs to be used + /// - Returns: The list of saved notification sounds @available(iOS 13.0, macOS 10.15, watchOS 6.0, tvOS 13.0, *) public final func getSavedNotificationSounds() async throws -> NotificationSounds { let query = GetSavedNotificationSounds() @@ -9830,10 +9938,10 @@ public class TDLibApi { return try await self.run(query: query) } - /// Returns list of chats with non-default notification settings for new messages + /// Returns the list of chats with non-default notification settings for new messages /// - Parameter compareSound: Pass true to include in the response chats with only non-default sound /// - Parameter scope: If specified, only chats from the scope will be returned; pass null to return chats from all scopes - /// - Returns: List of chats with non-default notification settings for new messages + /// - Returns: The list of chats with non-default notification settings for new messages public final func getChatNotificationSettingsExceptions( compareSound: Bool?, scope: NotificationSettingsScope?, @@ -9846,10 +9954,10 @@ public class TDLibApi { self.run(query: query, completion: completion) } - /// Returns list of chats with non-default notification settings for new messages + /// Returns the list of chats with non-default notification settings for new messages /// - Parameter compareSound: Pass true to include in the response chats with only non-default sound /// - Parameter scope: If specified, only chats from the scope will be returned; pass null to return chats from all scopes - /// - Returns: List of chats with non-default notification settings for new messages + /// - Returns: The list of chats with non-default notification settings for new messages @available(iOS 13.0, macOS 10.15, watchOS 6.0, tvOS 13.0, *) public final func getChatNotificationSettingsExceptions( compareSound: Bool?, @@ -9917,13 +10025,36 @@ public class TDLibApi { return try await self.run(query: query) } - /// Resets all notification settings to their default values. By default, all chats are unmuted and message previews are shown + /// Changes notification settings for reactions + /// - Parameter notificationSettings: The new notification settings for reactions + public final func setReactionNotificationSettings( + notificationSettings: ReactionNotificationSettings?, + completion: @escaping (Result) -> Void + ) throws { + let query = SetReactionNotificationSettings( + notificationSettings: notificationSettings + ) + self.run(query: query, completion: completion) + } + + /// Changes notification settings for reactions + /// - Parameter notificationSettings: The new notification settings for reactions + @available(iOS 13.0, macOS 10.15, watchOS 6.0, tvOS 13.0, *) + @discardableResult + public final func setReactionNotificationSettings(notificationSettings: ReactionNotificationSettings?) async throws -> Ok { + let query = SetReactionNotificationSettings( + notificationSettings: notificationSettings + ) + return try await self.run(query: query) + } + + /// Resets all chat and scope notification settings to their default values. By default, all chats are unmuted and message previews are shown public final func resetAllNotificationSettings(completion: @escaping (Result) -> Void) throws { let query = ResetAllNotificationSettings() self.run(query: query, completion: completion) } - /// Resets all notification settings to their default values. By default, all chats are unmuted and message previews are shown + /// Resets all chat and scope notification settings to their default values. By default, all chats are unmuted and message previews are shown @available(iOS 13.0, macOS 10.15, watchOS 6.0, tvOS 13.0, *) @discardableResult public final func resetAllNotificationSettings() async throws -> Ok { @@ -10104,7 +10235,7 @@ public class TDLibApi { /// - Parameter chatId: Identifier of the chat that will post the story /// - Parameter content: Content of the story /// - Parameter fromStoryFullId: Full identifier of the original story, which content was used to create the story - /// - Parameter isPinned: Pass true to keep the story accessible after expiration + /// - Parameter isPostedToChatPage: Pass true to keep the story accessible after expiration /// - Parameter privacySettings: The privacy settings for the story; ignored for stories sent to supergroup and channel chats /// - Parameter protectContent: Pass true if the content of the story must be protected from forwarding and screenshotting /// - Returns: A temporary story @@ -10115,7 +10246,7 @@ public class TDLibApi { chatId: Int64?, content: InputStoryContent?, fromStoryFullId: StoryFullId?, - isPinned: Bool?, + isPostedToChatPage: Bool?, privacySettings: StoryPrivacySettings?, protectContent: Bool?, completion: @escaping (Result) -> Void @@ -10127,7 +10258,7 @@ public class TDLibApi { chatId: chatId, content: content, fromStoryFullId: fromStoryFullId, - isPinned: isPinned, + isPostedToChatPage: isPostedToChatPage, privacySettings: privacySettings, protectContent: protectContent ) @@ -10141,7 +10272,7 @@ public class TDLibApi { /// - Parameter chatId: Identifier of the chat that will post the story /// - Parameter content: Content of the story /// - Parameter fromStoryFullId: Full identifier of the original story, which content was used to create the story - /// - Parameter isPinned: Pass true to keep the story accessible after expiration + /// - Parameter isPostedToChatPage: Pass true to keep the story accessible after expiration /// - Parameter privacySettings: The privacy settings for the story; ignored for stories sent to supergroup and channel chats /// - Parameter protectContent: Pass true if the content of the story must be protected from forwarding and screenshotting /// - Returns: A temporary story @@ -10153,7 +10284,7 @@ public class TDLibApi { chatId: Int64?, content: InputStoryContent?, fromStoryFullId: StoryFullId?, - isPinned: Bool?, + isPostedToChatPage: Bool?, privacySettings: StoryPrivacySettings?, protectContent: Bool? ) async throws -> Story { @@ -10164,7 +10295,7 @@ public class TDLibApi { chatId: chatId, content: content, fromStoryFullId: fromStoryFullId, - isPinned: isPinned, + isPostedToChatPage: isPostedToChatPage, privacySettings: privacySettings, protectContent: protectContent ) @@ -10251,37 +10382,37 @@ public class TDLibApi { return try await self.run(query: query) } - /// Toggles whether a story is accessible after expiration. Can be called only if story.can_toggle_is_pinned == true - /// - Parameter isPinned: Pass true to make the story accessible after expiration; pass false to make it private + /// Toggles whether a story is accessible after expiration. Can be called only if story.can_toggle_is_posted_to_chat_page == true + /// - Parameter isPostedToChatPage: Pass true to make the story accessible after expiration; pass false to make it private /// - Parameter storyId: Identifier of the story /// - Parameter storySenderChatId: Identifier of the chat that posted the story - public final func toggleStoryIsPinned( - isPinned: Bool?, + public final func toggleStoryIsPostedToChatPage( + isPostedToChatPage: Bool?, storyId: Int?, storySenderChatId: Int64?, completion: @escaping (Result) -> Void ) throws { - let query = ToggleStoryIsPinned( - isPinned: isPinned, + let query = ToggleStoryIsPostedToChatPage( + isPostedToChatPage: isPostedToChatPage, storyId: storyId, storySenderChatId: storySenderChatId ) self.run(query: query, completion: completion) } - /// Toggles whether a story is accessible after expiration. Can be called only if story.can_toggle_is_pinned == true - /// - Parameter isPinned: Pass true to make the story accessible after expiration; pass false to make it private + /// Toggles whether a story is accessible after expiration. Can be called only if story.can_toggle_is_posted_to_chat_page == true + /// - Parameter isPostedToChatPage: Pass true to make the story accessible after expiration; pass false to make it private /// - Parameter storyId: Identifier of the story /// - Parameter storySenderChatId: Identifier of the chat that posted the story @available(iOS 13.0, macOS 10.15, watchOS 6.0, tvOS 13.0, *) @discardableResult - public final func toggleStoryIsPinned( - isPinned: Bool?, + public final func toggleStoryIsPostedToChatPage( + isPostedToChatPage: Bool?, storyId: Int?, storySenderChatId: Int64? ) async throws -> Ok { - let query = ToggleStoryIsPinned( - isPinned: isPinned, + let query = ToggleStoryIsPostedToChatPage( + isPostedToChatPage: isPostedToChatPage, storyId: storyId, storySenderChatId: storySenderChatId ) @@ -10319,15 +10450,15 @@ public class TDLibApi { return try await self.run(query: query) } - /// Returns list of chats with non-default notification settings for stories - /// - Returns: List of chats with non-default notification settings for stories + /// Returns the list of chats with non-default notification settings for stories + /// - Returns: The list of chats with non-default notification settings for stories public final func getStoryNotificationSettingsExceptions(completion: @escaping (Result) -> Void) throws { let query = GetStoryNotificationSettingsExceptions() self.run(query: query, completion: completion) } - /// Returns list of chats with non-default notification settings for stories - /// - Returns: List of chats with non-default notification settings for stories + /// Returns the list of chats with non-default notification settings for stories + /// - Returns: The list of chats with non-default notification settings for stories @available(iOS 13.0, macOS 10.15, watchOS 6.0, tvOS 13.0, *) public final func getStoryNotificationSettingsExceptions() async throws -> Chats { let query = GetStoryNotificationSettingsExceptions() @@ -10414,18 +10545,18 @@ public class TDLibApi { return try await self.run(query: query) } - /// Returns the list of pinned stories posted by the given chat. The stories are returned in a reverse chronological order (i.e., in order of decreasing story_id). For optimal performance, the number of returned stories is chosen by TDLib + /// 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. Then, stories are returned in a reverse chronological order (i.e., in order of decreasing story_id). For optimal performance, the number of returned stories is chosen by TDLib /// - Parameter chatId: Chat identifier - /// - Parameter fromStoryId: Identifier of the story starting from which stories must be returned; use 0 to get results from the last story - /// - Parameter limit: The maximum number of stories to be returned//-For optimal performance, the number of returned stories is chosen by TDLib and can be smaller than the specified limit - /// - Returns: The list of pinned stories posted by the given chat. The stories are returned in a reverse chronological order (i.e., in order of decreasing story_id). For optimal performance, the number of returned stories is chosen by TDLib - public final func getChatPinnedStories( + /// - Parameter fromStoryId: Identifier of the story starting from which stories must be returned; use 0 to get results from pinned and the newest story + /// - Parameter limit: The maximum number of stories to be returned For optimal performance, the number of returned stories is chosen by TDLib and can be smaller than the specified limit + /// - 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. Then, stories are returned in a reverse chronological order (i.e., in order of decreasing story_id). For optimal performance, the number of returned stories is chosen by TDLib + public final func getChatPostedToChatPageStories( chatId: Int64?, fromStoryId: Int?, limit: Int?, completion: @escaping (Result) -> Void ) throws { - let query = GetChatPinnedStories( + let query = GetChatPostedToChatPageStories( chatId: chatId, fromStoryId: fromStoryId, limit: limit @@ -10433,18 +10564,18 @@ public class TDLibApi { self.run(query: query, completion: completion) } - /// Returns the list of pinned stories posted by the given chat. The stories are returned in a reverse chronological order (i.e., in order of decreasing story_id). For optimal performance, the number of returned stories is chosen by TDLib + /// 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. Then, stories are returned in a reverse chronological order (i.e., in order of decreasing story_id). For optimal performance, the number of returned stories is chosen by TDLib /// - Parameter chatId: Chat identifier - /// - Parameter fromStoryId: Identifier of the story starting from which stories must be returned; use 0 to get results from the last story - /// - Parameter limit: The maximum number of stories to be returned//-For optimal performance, the number of returned stories is chosen by TDLib and can be smaller than the specified limit - /// - Returns: The list of pinned stories posted by the given chat. The stories are returned in a reverse chronological order (i.e., in order of decreasing story_id). For optimal performance, the number of returned stories is chosen by TDLib + /// - Parameter fromStoryId: Identifier of the story starting from which stories must be returned; use 0 to get results from pinned and the newest story + /// - Parameter limit: The maximum number of stories to be returned For optimal performance, the number of returned stories is chosen by TDLib and can be smaller than the specified limit + /// - 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. Then, stories are returned in a reverse chronological order (i.e., in order of decreasing story_id). For optimal performance, the number of returned stories is chosen by TDLib @available(iOS 13.0, macOS 10.15, watchOS 6.0, tvOS 13.0, *) - public final func getChatPinnedStories( + public final func getChatPostedToChatPageStories( chatId: Int64?, fromStoryId: Int?, limit: Int? ) async throws -> Stories { - let query = GetChatPinnedStories( + let query = GetChatPostedToChatPageStories( chatId: chatId, fromStoryId: fromStoryId, limit: limit @@ -10455,7 +10586,7 @@ public class TDLibApi { /// Returns the list of all stories posted by the given chat; requires can_edit_stories right in the chat. The stories are returned in a reverse chronological order (i.e., in order of decreasing story_id). For optimal performance, the number of returned stories is chosen by TDLib /// - Parameter chatId: Chat identifier /// - Parameter fromStoryId: Identifier of the story starting from which stories must be returned; use 0 to get results from the last story - /// - Parameter limit: The maximum number of stories to be returned//-For optimal performance, the number of returned stories is chosen by TDLib and can be smaller than the specified limit + /// - Parameter limit: The maximum number of stories to be returned For optimal performance, the number of returned stories is chosen by TDLib and can be smaller than the specified limit /// - Returns: The list of all stories posted by the given chat. The stories are returned in a reverse chronological order (i.e., in order of decreasing story_id). For optimal performance, the number of returned stories is chosen by TDLib public final func getChatArchivedStories( chatId: Int64?, @@ -10474,7 +10605,7 @@ public class TDLibApi { /// Returns the list of all stories posted by the given chat; requires can_edit_stories right in the chat. The stories are returned in a reverse chronological order (i.e., in order of decreasing story_id). For optimal performance, the number of returned stories is chosen by TDLib /// - Parameter chatId: Chat identifier /// - Parameter fromStoryId: Identifier of the story starting from which stories must be returned; use 0 to get results from the last story - /// - Parameter limit: The maximum number of stories to be returned//-For optimal performance, the number of returned stories is chosen by TDLib and can be smaller than the specified limit + /// - Parameter limit: The maximum number of stories to be returned For optimal performance, the number of returned stories is chosen by TDLib and can be smaller than the specified limit /// - Returns: The list of all stories posted by the given chat. The stories are returned in a reverse chronological order (i.e., in order of decreasing story_id). For optimal performance, the number of returned stories is chosen by TDLib @available(iOS 13.0, macOS 10.15, watchOS 6.0, tvOS 13.0, *) public final func getChatArchivedStories( @@ -10490,6 +10621,37 @@ public class TDLibApi { return try await self.run(query: query) } + /// Changes the list of pinned stories on a chat page; requires can_edit_stories right in the chat + /// - Parameter chatId: Identifier of the chat that posted the stories + /// - Parameter storyIds: New list of pinned stories. All stories must be posted to the chat page first. There can be up to getOption("pinned_story_count_max") pinned stories on a chat page + public final func setChatPinnedStories( + chatId: Int64?, + storyIds: [Int]?, + completion: @escaping (Result) -> Void + ) throws { + let query = SetChatPinnedStories( + chatId: chatId, + storyIds: storyIds + ) + self.run(query: query, completion: completion) + } + + /// Changes the list of pinned stories on a chat page; requires can_edit_stories right in the chat + /// - Parameter chatId: Identifier of the chat that posted the stories + /// - Parameter storyIds: New list of pinned stories. All stories must be posted to the chat page first. There can be up to getOption("pinned_story_count_max") pinned stories on a chat page + @available(iOS 13.0, macOS 10.15, watchOS 6.0, tvOS 13.0, *) + @discardableResult + public final func setChatPinnedStories( + chatId: Int64?, + storyIds: [Int]? + ) async throws -> Ok { + let query = SetChatPinnedStories( + chatId: chatId, + storyIds: storyIds + ) + return try await self.run(query: query) + } + /// Informs TDLib that a story is opened and is being viewed by the user /// - Parameter storyId: The identifier of the story /// - Parameter storySenderChatId: The identifier of the sender of the opened story @@ -10838,10 +11000,10 @@ public class TDLibApi { return try await self.run(query: query) } - /// Returns list of features available on the specific chat boost level; this is an offline request + /// Returns the list of features available on the specific chat boost level; this is an offline request /// - Parameter isChannel: Pass true to get the list of features for channels; pass false to get the list of features for supergroups /// - Parameter level: Chat boost level - /// - Returns: List of features available on the specific chat boost level + /// - Returns: The list of features available on the specific chat boost level public final func getChatBoostLevelFeatures( isChannel: Bool?, level: Int?, @@ -10854,10 +11016,10 @@ public class TDLibApi { self.run(query: query, completion: completion) } - /// Returns list of features available on the specific chat boost level; this is an offline request + /// Returns the list of features available on the specific chat boost level; this is an offline request /// - Parameter isChannel: Pass true to get the list of features for channels; pass false to get the list of features for supergroups /// - Parameter level: Chat boost level - /// - Returns: List of features available on the specific chat boost level + /// - Returns: The list of features available on the specific chat boost level @available(iOS 13.0, macOS 10.15, watchOS 6.0, tvOS 13.0, *) public final func getChatBoostLevelFeatures( isChannel: Bool?, @@ -10870,9 +11032,9 @@ public class TDLibApi { return try await self.run(query: query) } - /// Returns list of features available for different chat boost levels; this is an offline request + /// Returns the list of features available for different chat boost levels; this is an offline request /// - Parameter isChannel: Pass true to get the list of features for channels; pass false to get the list of features for supergroups - /// - Returns: List of features available for different chat boost levels + /// - Returns: The list of features available for different chat boost levels public final func getChatBoostFeatures( isChannel: Bool?, completion: @escaping (Result) -> Void @@ -10883,9 +11045,9 @@ public class TDLibApi { self.run(query: query, completion: completion) } - /// Returns list of features available for different chat boost levels; this is an offline request + /// Returns the list of features available for different chat boost levels; this is an offline request /// - Parameter isChannel: Pass true to get the list of features for channels; pass false to get the list of features for supergroups - /// - Returns: List of features available for different chat boost levels + /// - Returns: The list of features available for different chat boost levels @available(iOS 13.0, macOS 10.15, watchOS 6.0, tvOS 13.0, *) public final func getChatBoostFeatures(isChannel: Bool?) async throws -> ChatBoostFeatures { let query = GetChatBoostFeatures( @@ -11013,12 +11175,12 @@ public class TDLibApi { return try await self.run(query: query) } - /// Returns list of boosts applied to a chat; requires administrator rights in the chat + /// Returns the list of boosts applied to a chat; requires administrator rights in the chat /// - Parameter chatId: Identifier of the chat /// - Parameter limit: The maximum number of boosts to be returned; up to 100. For optimal performance, the number of returned boosts can be smaller than the specified limit /// - Parameter offset: Offset of the first entry to return as received from the previous request; use empty string to get the first chunk of results /// - Parameter onlyGiftCodes: Pass true to receive only boosts received from gift codes and giveaways created by the chat - /// - Returns: List of boosts applied to a chat + /// - Returns: The list of boosts applied to a chat public final func getChatBoosts( chatId: Int64?, limit: Int?, @@ -11035,12 +11197,12 @@ public class TDLibApi { self.run(query: query, completion: completion) } - /// Returns list of boosts applied to a chat; requires administrator rights in the chat + /// Returns the list of boosts applied to a chat; requires administrator rights in the chat /// - Parameter chatId: Identifier of the chat /// - Parameter limit: The maximum number of boosts to be returned; up to 100. For optimal performance, the number of returned boosts can be smaller than the specified limit /// - Parameter offset: Offset of the first entry to return as received from the previous request; use empty string to get the first chunk of results /// - Parameter onlyGiftCodes: Pass true to receive only boosts received from gift codes and giveaways created by the chat - /// - Returns: List of boosts applied to a chat + /// - Returns: The list of boosts applied to a chat @available(iOS 13.0, macOS 10.15, watchOS 6.0, tvOS 13.0, *) public final func getChatBoosts( chatId: Int64?, @@ -11057,10 +11219,10 @@ public class TDLibApi { return try await self.run(query: query) } - /// Returns list of boosts applied to a chat by a given user; requires administrator rights in the chat; for bots only + /// Returns the list of boosts applied to a chat by a given user; requires administrator rights in the chat; for bots only /// - Parameter chatId: Identifier of the chat /// - Parameter userId: Identifier of the user - /// - Returns: List of boosts applied to a chat by a given user + /// - Returns: The list of boosts applied to a chat by a given user public final func getUserChatBoosts( chatId: Int64?, userId: Int64?, @@ -11073,10 +11235,10 @@ public class TDLibApi { self.run(query: query, completion: completion) } - /// Returns list of boosts applied to a chat by a given user; requires administrator rights in the chat; for bots only + /// Returns the list of boosts applied to a chat by a given user; requires administrator rights in the chat; for bots only /// - Parameter chatId: Identifier of the chat /// - Parameter userId: Identifier of the user - /// - Returns: List of boosts applied to a chat by a given user + /// - Returns: The list of boosts applied to a chat by a given user @available(iOS 13.0, macOS 10.15, watchOS 6.0, tvOS 13.0, *) public final func getUserChatBoosts( chatId: Int64?, @@ -11397,7 +11559,7 @@ public class TDLibApi { return try await self.run(query: query) } - /// Preliminary uploads a file to the cloud before sending it in a message, which can be useful for uploading of being recorded voice and video notes. Updates updateFile will be used to notify about upload progress and successful completion of the upload. The file will not have a persistent remote identifier until it is sent in a message + /// Preliminary uploads a file to the cloud before sending it in a message, which can be useful for uploading of being recorded voice and video notes. In all other cases there is no need to preliminary upload a file. Updates updateFile will be used to notify about upload progress. The upload will not be completed until the file is sent in a message /// - Parameter file: File to upload /// - Parameter fileType: File type; pass null if unknown /// - Parameter priority: Priority of the upload (1-32). The higher the priority, the earlier the file will be uploaded. If the priorities of two files are equal, then the first one for which preliminaryUploadFile was called will be uploaded first @@ -11415,7 +11577,7 @@ public class TDLibApi { self.run(query: query, completion: completion) } - /// Preliminary uploads a file to the cloud before sending it in a message, which can be useful for uploading of being recorded voice and video notes. Updates updateFile will be used to notify about upload progress and successful completion of the upload. The file will not have a persistent remote identifier until it is sent in a message + /// Preliminary uploads a file to the cloud before sending it in a message, which can be useful for uploading of being recorded voice and video notes. In all other cases there is no need to preliminary upload a file. Updates updateFile will be used to notify about upload progress. The upload will not be completed until the file is sent in a message /// - Parameter file: File to upload /// - Parameter fileType: File type; pass null if unknown /// - Parameter priority: Priority of the upload (1-32). The higher the priority, the earlier the file will be uploaded. If the priorities of two files are equal, then the first one for which preliminaryUploadFile was called will be uploaded first @@ -12075,9 +12237,9 @@ public class TDLibApi { return try await self.run(query: query) } - /// Returns list of chat administrators with number of their invite links. Requires owner privileges in the chat + /// Returns the list of chat administrators with number of their invite links. Requires owner privileges in the chat /// - Parameter chatId: Chat identifier - /// - Returns: List of chat administrators with number of their invite links + /// - Returns: The list of chat administrators with number of their invite links public final func getChatInviteLinkCounts( chatId: Int64?, completion: @escaping (Result) -> Void @@ -12088,9 +12250,9 @@ public class TDLibApi { self.run(query: query, completion: completion) } - /// Returns list of chat administrators with number of their invite links. Requires owner privileges in the chat + /// Returns the list of chat administrators with number of their invite links. Requires owner privileges in the chat /// - Parameter chatId: Chat identifier - /// - Returns: List of chat administrators with number of their invite links + /// - Returns: The list of chat administrators with number of their invite links @available(iOS 13.0, macOS 10.15, watchOS 6.0, tvOS 13.0, *) public final func getChatInviteLinkCounts(chatId: Int64?) async throws -> ChatInviteLinkCounts { let query = GetChatInviteLinkCounts( @@ -12717,9 +12879,9 @@ public class TDLibApi { return try await self.run(query: query) } - /// Returns list of participant identifiers, on whose behalf a video chat in the chat can be joined + /// Returns the list of participant identifiers, on whose behalf a video chat in the chat can be joined /// - Parameter chatId: Chat identifier - /// - Returns: List of participant identifiers, on whose behalf a video chat in the chat can be joined + /// - Returns: The list of participant identifiers, on whose behalf a video chat in the chat can be joined public final func getVideoChatAvailableParticipants( chatId: Int64?, completion: @escaping (Result) -> Void @@ -12730,9 +12892,9 @@ public class TDLibApi { self.run(query: query, completion: completion) } - /// Returns list of participant identifiers, on whose behalf a video chat in the chat can be joined + /// Returns the list of participant identifiers, on whose behalf a video chat in the chat can be joined /// - Parameter chatId: Chat identifier - /// - Returns: List of participant identifiers, on whose behalf a video chat in the chat can be joined + /// - Returns: The list of participant identifiers, on whose behalf a video chat in the chat can be joined @available(iOS 13.0, macOS 10.15, watchOS 6.0, tvOS 13.0, *) public final func getVideoChatAvailableParticipants(chatId: Int64?) async throws -> MessageSenders { let query = GetVideoChatAvailableParticipants( @@ -13781,7 +13943,7 @@ public class TDLibApi { /// Adds a user to the contact list or edits an existing contact by their user identifier /// - Parameter contact: The contact to add or edit; phone number may be empty and needs to be specified only if known, vCard is ignored - /// - Parameter sharePhoneNumber: Pass true to share the current user's phone number with the new contact. A corresponding rule to userPrivacySettingShowPhoneNumber will be added if needed.//-Use the field userFullInfo.need_phone_number_privacy_exception to check whether the current user needs to be asked to share their phone number + /// - Parameter sharePhoneNumber: Pass true to share the current user's phone number with the new contact. A corresponding rule to userPrivacySettingShowPhoneNumber will be added if needed. Use the field userFullInfo.need_phone_number_privacy_exception to check whether the current user needs to be asked to share their phone number public final func addContact( contact: Contact?, sharePhoneNumber: Bool?, @@ -13796,7 +13958,7 @@ public class TDLibApi { /// Adds a user to the contact list or edits an existing contact by their user identifier /// - Parameter contact: The contact to add or edit; phone number may be empty and needs to be specified only if known, vCard is ignored - /// - Parameter sharePhoneNumber: Pass true to share the current user's phone number with the new contact. A corresponding rule to userPrivacySettingShowPhoneNumber will be added if needed.//-Use the field userFullInfo.need_phone_number_privacy_exception to check whether the current user needs to be asked to share their phone number + /// - Parameter sharePhoneNumber: Pass true to share the current user's phone number with the new contact. A corresponding rule to userPrivacySettingShowPhoneNumber will be added if needed. Use the field userFullInfo.need_phone_number_privacy_exception to check whether the current user needs to be asked to share their phone number @available(iOS 13.0, macOS 10.15, watchOS 6.0, tvOS 13.0, *) @discardableResult public final func addContact( @@ -14953,9 +15115,9 @@ public class TDLibApi { return try await self.run(query: query) } - /// Returns list of custom emoji stickers by their identifiers. Stickers are returned in arbitrary order. Only found stickers are returned + /// Returns the list of custom emoji stickers by their identifiers. Stickers are returned in arbitrary order. Only found stickers are returned /// - Parameter customEmojiIds: Identifiers of custom emoji stickers. At most 200 custom emoji stickers can be received simultaneously - /// - Returns: List of custom emoji stickers by their identifiers. Stickers are returned in arbitrary order. Only found stickers are returned + /// - Returns: The list of custom emoji stickers by their identifiers. Stickers are returned in arbitrary order. Only found stickers are returned public final func getCustomEmojiStickers( customEmojiIds: [TdInt64]?, completion: @escaping (Result) -> Void @@ -14966,9 +15128,9 @@ public class TDLibApi { self.run(query: query, completion: completion) } - /// Returns list of custom emoji stickers by their identifiers. Stickers are returned in arbitrary order. Only found stickers are returned + /// Returns the list of custom emoji stickers by their identifiers. Stickers are returned in arbitrary order. Only found stickers are returned /// - Parameter customEmojiIds: Identifiers of custom emoji stickers. At most 200 custom emoji stickers can be received simultaneously - /// - Returns: List of custom emoji stickers by their identifiers. Stickers are returned in arbitrary order. Only found stickers are returned + /// - Returns: The list of custom emoji stickers by their identifiers. Stickers are returned in arbitrary order. Only found stickers are returned @available(iOS 13.0, macOS 10.15, watchOS 6.0, tvOS 13.0, *) public final func getCustomEmojiStickers(customEmojiIds: [TdInt64]?) async throws -> Stickers { let query = GetCustomEmojiStickers( @@ -15556,6 +15718,29 @@ public class TDLibApi { return try await self.run(query: query) } + /// Toggles whether the current user has sponsored messages enabled. The setting has no effect for users without Telegram Premium for which sponsored messages are always enabled + /// - Parameter hasSponsoredMessagesEnabled: Pass true to enable sponsored messages for the current user; false to disable them + public final func toggleHasSponsoredMessagesEnabled( + hasSponsoredMessagesEnabled: Bool?, + completion: @escaping (Result) -> Void + ) throws { + let query = ToggleHasSponsoredMessagesEnabled( + hasSponsoredMessagesEnabled: hasSponsoredMessagesEnabled + ) + self.run(query: query, completion: completion) + } + + /// Toggles whether the current user has sponsored messages enabled. The setting has no effect for users without Telegram Premium for which sponsored messages are always enabled + /// - Parameter hasSponsoredMessagesEnabled: Pass true to enable sponsored messages for the current user; false to disable them + @available(iOS 13.0, macOS 10.15, watchOS 6.0, tvOS 13.0, *) + @discardableResult + public final func toggleHasSponsoredMessagesEnabled(hasSponsoredMessagesEnabled: Bool?) async throws -> Ok { + let query = ToggleHasSponsoredMessagesEnabled( + hasSponsoredMessagesEnabled: hasSponsoredMessagesEnabled + ) + return try await self.run(query: query) + } + /// Changes the business location of the current user. Requires Telegram Business subscription /// - Parameter location: The new location of the business; pass null to remove the location public final func setBusinessLocation( @@ -15732,6 +15917,29 @@ public class TDLibApi { return try await self.run(query: query) } + /// Reports that authentication code wasn't delivered via SMS to the specified phone number; for official mobile apps only + /// - Parameter mobileNetworkCode: Current mobile network code + public final func reportPhoneNumberCodeMissing( + mobileNetworkCode: String?, + completion: @escaping (Result) -> Void + ) throws { + let query = ReportPhoneNumberCodeMissing( + mobileNetworkCode: mobileNetworkCode + ) + self.run(query: query, completion: completion) + } + + /// Reports that authentication code wasn't delivered via SMS to the specified phone number; for official mobile apps only + /// - Parameter mobileNetworkCode: Current mobile network code + @available(iOS 13.0, macOS 10.15, watchOS 6.0, tvOS 13.0, *) + @discardableResult + public final func reportPhoneNumberCodeMissing(mobileNetworkCode: String?) async throws -> Ok { + let query = ReportPhoneNumberCodeMissing( + mobileNetworkCode: mobileNetworkCode + ) + return try await self.run(query: query) + } + /// Resends the authentication code sent to a phone number. Works only if the previously received authenticationCodeInfo next_code_type was not null and the server-specified timeout has passed public final func resendPhoneNumberCode(completion: @escaping (Result) -> Void) throws { let query = ResendPhoneNumberCode() @@ -16106,10 +16314,10 @@ public class TDLibApi { return try await self.run(query: query) } - /// Returns list of commands supported by the bot for the given user scope and language; for bots only + /// Returns the list of commands supported by the bot for the given user scope and language; for bots only /// - Parameter languageCode: A two-letter ISO 639-1 language code or an empty string /// - Parameter scope: The scope to which the commands are relevant; pass null to get commands in the default bot command scope - /// - Returns: List of commands supported by the bot for the given user scope and language + /// - Returns: The list of commands supported by the bot for the given user scope and language public final func getCommands( languageCode: String?, scope: BotCommandScope?, @@ -16122,10 +16330,10 @@ public class TDLibApi { self.run(query: query, completion: completion) } - /// Returns list of commands supported by the bot for the given user scope and language; for bots only + /// Returns the list of commands supported by the bot for the given user scope and language; for bots only /// - Parameter languageCode: A two-letter ISO 639-1 language code or an empty string /// - Parameter scope: The scope to which the commands are relevant; pass null to get commands in the default bot command scope - /// - Returns: List of commands supported by the bot for the given user scope and language + /// - Returns: The list of commands supported by the bot for the given user scope and language @available(iOS 13.0, macOS 10.15, watchOS 6.0, tvOS 13.0, *) public final func getCommands( languageCode: String?, @@ -18533,7 +18741,7 @@ public class TDLibApi { } /// Deletes the account of the current user, deleting all information associated with the user from the server. The phone number of the account can be used to create a new account. Can be called before authorization when the current authorization state is authorizationStateWaitPassword - /// - Parameter password: The 2-step verification password of the current user. If not specified, account deletion can be canceled within one week + /// - Parameter password: The 2-step verification password of the current user. If the current user isn't authorized, then an empty string can be passed and account deletion can be canceled within one week /// - Parameter reason: The reason why the account was deleted; optional public final func deleteAccount( password: String?, @@ -18548,7 +18756,7 @@ public class TDLibApi { } /// Deletes the account of the current user, deleting all information associated with the user from the server. The phone number of the account can be used to create a new account. Can be called before authorization when the current authorization state is authorizationStateWaitPassword - /// - Parameter password: The 2-step verification password of the current user. If not specified, account deletion can be canceled within one week + /// - Parameter password: The 2-step verification password of the current user. If the current user isn't authorized, then an empty string can be passed and account deletion can be canceled within one week /// - Parameter reason: The reason why the account was deleted; optional @available(iOS 13.0, macOS 10.15, watchOS 6.0, tvOS 13.0, *) @discardableResult @@ -18811,11 +19019,11 @@ public class TDLibApi { return try await self.run(query: query) } - /// Returns list of revenue transactions for a chat. Currently, this method can be used only for channels if supergroupFullInfo.can_get_revenue_statistics == true + /// Returns the list of revenue transactions for a chat. Currently, this method can be used only for channels if supergroupFullInfo.can_get_revenue_statistics == true /// - Parameter chatId: Chat identifier /// - Parameter limit: The maximum number of transactions to be returned; up to 200 /// - Parameter offset: Number of transactions to skip - /// - Returns: List of revenue transactions for a chat + /// - Returns: The list of revenue transactions for a chat public final func getChatRevenueTransactions( chatId: Int64?, limit: Int?, @@ -18830,11 +19038,11 @@ public class TDLibApi { self.run(query: query, completion: completion) } - /// Returns list of revenue transactions for a chat. Currently, this method can be used only for channels if supergroupFullInfo.can_get_revenue_statistics == true + /// Returns the list of revenue transactions for a chat. Currently, this method can be used only for channels if supergroupFullInfo.can_get_revenue_statistics == true /// - Parameter chatId: Chat identifier /// - Parameter limit: The maximum number of transactions to be returned; up to 200 /// - Parameter offset: Number of transactions to skip - /// - Returns: List of revenue transactions for a chat + /// - Returns: The list of revenue transactions for a chat @available(iOS 13.0, macOS 10.15, watchOS 6.0, tvOS 13.0, *) public final func getChatRevenueTransactions( chatId: Int64?, @@ -19742,7 +19950,7 @@ public class TDLibApi { } /// Uploads a file with a sticker; returns the uploaded file - /// - Parameter sticker: File file to upload; must fit in a 512x512 square. For WEBP stickers the file must be in WEBP or PNG format, which will be converted to WEBP server-side.//-See https://core.telegram.org/animated_stickers#technical-requirements for technical requirements + /// - Parameter sticker: File file to upload; must fit in a 512x512 square. For WEBP stickers the file must be in WEBP or PNG format, which will be converted to WEBP server-side. See https://core.telegram.org/animated_stickers#technical-requirements for technical requirements /// - Parameter stickerFormat: Sticker format /// - Parameter userId: Sticker file owner; ignored for regular users /// - Returns: The uploaded file @@ -19761,7 +19969,7 @@ public class TDLibApi { } /// Uploads a file with a sticker; returns the uploaded file - /// - Parameter sticker: File file to upload; must fit in a 512x512 square. For WEBP stickers the file must be in WEBP or PNG format, which will be converted to WEBP server-side.//-See https://core.telegram.org/animated_stickers#technical-requirements for technical requirements + /// - Parameter sticker: File file to upload; must fit in a 512x512 square. For WEBP stickers the file must be in WEBP or PNG format, which will be converted to WEBP server-side. See https://core.telegram.org/animated_stickers#technical-requirements for technical requirements /// - Parameter stickerFormat: Sticker format /// - Parameter userId: Sticker file owner; ignored for regular users /// - Returns: The uploaded file @@ -19826,7 +20034,7 @@ public class TDLibApi { } /// Creates a new sticker set. Returns the newly created sticker set - /// - Parameter name: Sticker set name. Can contain only English letters, digits and underscores. Must end with *"_by_"* (** is case insensitive) for bots; 0-64 characters.//-If empty, then the name returned by getSuggestedStickerSetName will be used automatically + /// - Parameter name: Sticker set name. Can contain only English letters, digits and underscores. Must end with *"_by_"* (** is case insensitive) for bots; 0-64 characters. If empty, then the name returned by getSuggestedStickerSetName will be used automatically /// - Parameter needsRepainting: Pass true if stickers in the sticker set must be repainted; for custom emoji sticker sets only /// - Parameter source: Source of the sticker set; may be empty if unknown /// - Parameter stickerType: Type of the stickers in the set @@ -19857,7 +20065,7 @@ public class TDLibApi { } /// Creates a new sticker set. Returns the newly created sticker set - /// - Parameter name: Sticker set name. Can contain only English letters, digits and underscores. Must end with *"_by_"* (** is case insensitive) for bots; 0-64 characters.//-If empty, then the name returned by getSuggestedStickerSetName will be used automatically + /// - Parameter name: Sticker set name. Can contain only English letters, digits and underscores. Must end with *"_by_"* (** is case insensitive) for bots; 0-64 characters. If empty, then the name returned by getSuggestedStickerSetName will be used automatically /// - Parameter needsRepainting: Pass true if stickers in the sticker set must be repainted; for custom emoji sticker sets only /// - Parameter source: Source of the sticker set; may be empty if unknown /// - Parameter stickerType: Type of the stickers in the set @@ -21202,15 +21410,15 @@ public class TDLibApi { return try await self.run(query: query) } - /// Returns list of proxies that are currently set up. Can be called before authorization - /// - Returns: List of proxies that are currently set up + /// Returns the list of proxies that are currently set up. Can be called before authorization + /// - Returns: The list of proxies that are currently set up public final func getProxies(completion: @escaping (Result) -> Void) throws { let query = GetProxies() self.run(query: query, completion: completion) } - /// Returns list of proxies that are currently set up. Can be called before authorization - /// - Returns: List of proxies that are currently set up + /// Returns the list of proxies that are currently set up. Can be called before authorization + /// - Returns: The list of proxies that are currently set up @available(iOS 13.0, macOS 10.15, watchOS 6.0, tvOS 13.0, *) public final func getProxies() async throws -> Proxies { let query = GetProxies() @@ -21302,7 +21510,7 @@ public class TDLibApi { } /// Sets the verbosity level of the internal logging of TDLib. Can be called synchronously - /// - Parameter newVerbosityLevel: New value of the verbosity level for logging. Value 0 corresponds to fatal errors, value 1 corresponds to errors, value 2 corresponds to warnings and debug warnings,//-value 3 corresponds to informational, value 4 corresponds to debug, value 5 corresponds to verbose debug, value greater than 5 and up to 1023 can be used to enable even more logging + /// - Parameter newVerbosityLevel: New value of the verbosity level for logging. Value 0 corresponds to fatal errors, value 1 corresponds to errors, value 2 corresponds to warnings and debug warnings, value 3 corresponds to informational, value 4 corresponds to debug, value 5 corresponds to verbose debug, value greater than 5 and up to 1023 can be used to enable even more logging public final func setLogVerbosityLevel( newVerbosityLevel: Int?, completion: @escaping (Result) -> Void @@ -21314,7 +21522,7 @@ public class TDLibApi { } /// Sets the verbosity level of the internal logging of TDLib. Can be called synchronously - /// - Parameter newVerbosityLevel: New value of the verbosity level for logging. Value 0 corresponds to fatal errors, value 1 corresponds to errors, value 2 corresponds to warnings and debug warnings,//-value 3 corresponds to informational, value 4 corresponds to debug, value 5 corresponds to verbose debug, value greater than 5 and up to 1023 can be used to enable even more logging + /// - Parameter newVerbosityLevel: New value of the verbosity level for logging. Value 0 corresponds to fatal errors, value 1 corresponds to errors, value 2 corresponds to warnings and debug warnings, value 3 corresponds to informational, value 4 corresponds to debug, value 5 corresponds to verbose debug, value greater than 5 and up to 1023 can be used to enable even more logging @available(iOS 13.0, macOS 10.15, watchOS 6.0, tvOS 13.0, *) @discardableResult public final func setLogVerbosityLevel(newVerbosityLevel: Int?) async throws -> Ok { @@ -21339,15 +21547,15 @@ public class TDLibApi { return try await self.run(query: query) } - /// Returns list of available TDLib internal log tags, for example, ["actor", "binlog", "connections", "notifications", "proxy"]. Can be called synchronously - /// - Returns: List of available TDLib internal log tags, for example, ["actor", "binlog", "connections", "notifications", "proxy"] + /// Returns the list of available TDLib internal log tags, for example, ["actor", "binlog", "connections", "notifications", "proxy"]. Can be called synchronously + /// - Returns: The list of available TDLib internal log tags, for example, ["actor", "binlog", "connections", "notifications", "proxy"] public final func getLogTags(completion: @escaping (Result) -> Void) throws { let query = GetLogTags() self.run(query: query, completion: completion) } - /// Returns list of available TDLib internal log tags, for example, ["actor", "binlog", "connections", "notifications", "proxy"]. Can be called synchronously - /// - Returns: List of available TDLib internal log tags, for example, ["actor", "binlog", "connections", "notifications", "proxy"] + /// Returns the list of available TDLib internal log tags, for example, ["actor", "binlog", "connections", "notifications", "proxy"]. Can be called synchronously + /// - Returns: The list of available TDLib internal log tags, for example, ["actor", "binlog", "connections", "notifications", "proxy"] @available(iOS 13.0, macOS 10.15, watchOS 6.0, tvOS 13.0, *) public final func getLogTags() async throws -> LogTags { let query = GetLogTags() diff --git a/Sources/TDLibKit/Generated/API/TdApi.swift b/Sources/TDLibKit/Generated/API/TdApi.swift index 7dbf5f179e..325605e538 100644 --- a/Sources/TDLibKit/Generated/API/TdApi.swift +++ b/Sources/TDLibKit/Generated/API/TdApi.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation @@ -453,6 +453,29 @@ public final class TdApi { return try await self.execute(query: query) } + /// Reports that authentication code wasn't delivered via SMS; for official mobile apps only. Works only when the current authorization state is authorizationStateWaitCode + /// - Parameter mobileNetworkCode: Current mobile network code + public func reportAuthenticationCodeMissing( + mobileNetworkCode: String?, + completion: @escaping (Result) -> Void + ) throws { + let query = ReportAuthenticationCodeMissing( + mobileNetworkCode: mobileNetworkCode + ) + self.execute(query: query, completion: completion) + } + + /// Reports that authentication code wasn't delivered via SMS; for official mobile apps only. Works only when the current authorization state is authorizationStateWaitCode + /// - Parameter mobileNetworkCode: Current mobile network code + @available(iOS 13.0, macOS 10.15, watchOS 6.0, tvOS 13.0, *) + @discardableResult + public func reportAuthenticationCodeMissing(mobileNetworkCode: String?) async throws -> Ok { + let query = ReportAuthenticationCodeMissing( + mobileNetworkCode: mobileNetworkCode + ) + return try await self.execute(query: query) + } + /// Checks the authentication token of a bot; to log in as a bot. Works only when the current authorization state is authorizationStateWaitPhoneNumber. Can be used instead of setAuthenticationPhoneNumber and checkAuthenticationCode to log in /// - Parameter token: The bot token public func checkAuthenticationBotToken( @@ -1697,6 +1720,21 @@ public final class TdApi { return try await self.execute(query: query) } + /// Returns a list of channel chats recommended to the current user + /// - Returns: A list of channel chats recommended to the current user + public func getRecommendedChats(completion: @escaping (Result) -> Void) throws { + let query = GetRecommendedChats() + self.execute(query: query, completion: completion) + } + + /// Returns a list of channel chats recommended to the current user + /// - Returns: A list of channel chats recommended to the current user + @available(iOS 13.0, macOS 10.15, watchOS 6.0, tvOS 13.0, *) + public func getRecommendedChats() async throws -> Chats { + let query = GetRecommendedChats() + return try await self.execute(query: query) + } + /// Returns a list of chats similar to the given chat /// - Parameter chatId: Identifier of the target chat; must be an identifier of a channel chat /// - Returns: A list of chats similar to the given chat @@ -2112,7 +2150,7 @@ public final class TdApi { /// Returns messages in a Saved Messages topic. The messages are returned in a reverse chronological order (i.e., in order of decreasing message_id) /// - Parameter fromMessageId: Identifier of the message starting from which messages must be fetched; use 0 to get results from the last message - /// - Parameter limit: The maximum number of messages to be returned; must be positive and can't be greater than 100. If the offset is negative, the limit must be greater than or equal to -offset.//-For optimal performance, the number of returned messages is chosen by TDLib and can be smaller than the specified limit + /// - Parameter limit: The maximum number of messages to be returned; must be positive and can't be greater than 100. If the offset is negative, the limit must be greater than or equal to -offset. For optimal performance, the number of returned messages is chosen by TDLib and can be smaller than the specified limit /// - Parameter offset: Specify 0 to get results from exactly the message from_message_id or a negative offset up to 99 to get additionally some newer messages /// - Parameter savedMessagesTopicId: Identifier of Saved Messages topic which messages will be fetched /// - Returns: Messages in a Saved Messages topic. The messages are returned in a reverse chronological order (i.e., in order of decreasing message_id) @@ -2134,7 +2172,7 @@ public final class TdApi { /// Returns messages in a Saved Messages topic. The messages are returned in a reverse chronological order (i.e., in order of decreasing message_id) /// - Parameter fromMessageId: Identifier of the message starting from which messages must be fetched; use 0 to get results from the last message - /// - Parameter limit: The maximum number of messages to be returned; must be positive and can't be greater than 100. If the offset is negative, the limit must be greater than or equal to -offset.//-For optimal performance, the number of returned messages is chosen by TDLib and can be smaller than the specified limit + /// - Parameter limit: The maximum number of messages to be returned; must be positive and can't be greater than 100. If the offset is negative, the limit must be greater than or equal to -offset. For optimal performance, the number of returned messages is chosen by TDLib and can be smaller than the specified limit /// - Parameter offset: Specify 0 to get results from exactly the message from_message_id or a negative offset up to 99 to get additionally some newer messages /// - Parameter savedMessagesTopicId: Identifier of Saved Messages topic which messages will be fetched /// - Returns: Messages in a Saved Messages topic. The messages are returned in a reverse chronological order (i.e., in order of decreasing message_id) @@ -2341,7 +2379,7 @@ public final class TdApi { /// Returns messages in a chat. The messages are returned in a reverse chronological order (i.e., in order of decreasing message_id). For optimal performance, the number of returned messages is chosen by TDLib. This is an offline request if only_local is true /// - Parameter chatId: Chat identifier /// - Parameter fromMessageId: Identifier of the message starting from which history must be fetched; use 0 to get results from the last message - /// - Parameter limit: The maximum number of messages to be returned; must be positive and can't be greater than 100. If the offset is negative, the limit must be greater than or equal to -offset.//-For optimal performance, the number of returned messages is chosen by TDLib and can be smaller than the specified limit + /// - Parameter limit: The maximum number of messages to be returned; must be positive and can't be greater than 100. If the offset is negative, the limit must be greater than or equal to -offset. For optimal performance, the number of returned messages is chosen by TDLib and can be smaller than the specified limit /// - Parameter offset: Specify 0 to get results from exactly the message from_message_id or a negative offset up to 99 to get additionally some newer messages /// - Parameter onlyLocal: Pass true to get only messages that are available without sending network requests /// - Returns: Messages in a chat. The messages are returned in a reverse chronological order (i.e., in order of decreasing message_id). For optimal performance, the number of returned messages is chosen by TDLib @@ -2366,7 +2404,7 @@ public final class TdApi { /// Returns messages in a chat. The messages are returned in a reverse chronological order (i.e., in order of decreasing message_id). For optimal performance, the number of returned messages is chosen by TDLib. This is an offline request if only_local is true /// - Parameter chatId: Chat identifier /// - Parameter fromMessageId: Identifier of the message starting from which history must be fetched; use 0 to get results from the last message - /// - Parameter limit: The maximum number of messages to be returned; must be positive and can't be greater than 100. If the offset is negative, the limit must be greater than or equal to -offset.//-For optimal performance, the number of returned messages is chosen by TDLib and can be smaller than the specified limit + /// - Parameter limit: The maximum number of messages to be returned; must be positive and can't be greater than 100. If the offset is negative, the limit must be greater than or equal to -offset. For optimal performance, the number of returned messages is chosen by TDLib and can be smaller than the specified limit /// - Parameter offset: Specify 0 to get results from exactly the message from_message_id or a negative offset up to 99 to get additionally some newer messages /// - Parameter onlyLocal: Pass true to get only messages that are available without sending network requests /// - Returns: Messages in a chat. The messages are returned in a reverse chronological order (i.e., in order of decreasing message_id). For optimal performance, the number of returned messages is chosen by TDLib @@ -2391,7 +2429,7 @@ public final class TdApi { /// Returns messages in a message thread of a message. Can be used only if message.can_get_message_thread == true. Message thread of a channel message is in the channel's linked supergroup. The messages are returned in a reverse chronological order (i.e., in order of decreasing message_id). For optimal performance, the number of returned messages is chosen by TDLib /// - Parameter chatId: Chat identifier /// - Parameter fromMessageId: Identifier of the message starting from which history must be fetched; use 0 to get results from the last message - /// - Parameter limit: The maximum number of messages to be returned; must be positive and can't be greater than 100. If the offset is negative, the limit must be greater than or equal to -offset.//-For optimal performance, the number of returned messages is chosen by TDLib and can be smaller than the specified limit + /// - Parameter limit: The maximum number of messages to be returned; must be positive and can't be greater than 100. If the offset is negative, the limit must be greater than or equal to -offset. For optimal performance, the number of returned messages is chosen by TDLib and can be smaller than the specified limit /// - Parameter messageId: Message identifier, which thread history needs to be returned /// - Parameter offset: Specify 0 to get results from exactly the message from_message_id or a negative offset up to 99 to get additionally some newer messages /// - Returns: Messages in a message thread of a message. The messages are returned in a reverse chronological order (i.e., in order of decreasing message_id). For optimal performance, the number of returned messages is chosen by TDLib @@ -2416,7 +2454,7 @@ public final class TdApi { /// Returns messages in a message thread of a message. Can be used only if message.can_get_message_thread == true. Message thread of a channel message is in the channel's linked supergroup. The messages are returned in a reverse chronological order (i.e., in order of decreasing message_id). For optimal performance, the number of returned messages is chosen by TDLib /// - Parameter chatId: Chat identifier /// - Parameter fromMessageId: Identifier of the message starting from which history must be fetched; use 0 to get results from the last message - /// - Parameter limit: The maximum number of messages to be returned; must be positive and can't be greater than 100. If the offset is negative, the limit must be greater than or equal to -offset.//-For optimal performance, the number of returned messages is chosen by TDLib and can be smaller than the specified limit + /// - Parameter limit: The maximum number of messages to be returned; must be positive and can't be greater than 100. If the offset is negative, the limit must be greater than or equal to -offset. For optimal performance, the number of returned messages is chosen by TDLib and can be smaller than the specified limit /// - Parameter messageId: Message identifier, which thread history needs to be returned /// - Parameter offset: Specify 0 to get results from exactly the message from_message_id or a negative offset up to 99 to get additionally some newer messages /// - Returns: Messages in a message thread of a message. The messages are returned in a reverse chronological order (i.e., in order of decreasing message_id). For optimal performance, the number of returned messages is chosen by TDLib @@ -2502,7 +2540,7 @@ public final class TdApi { /// - Parameter chatId: Identifier of the chat in which to search messages /// - Parameter filter: Additional filter for messages to search; pass null to search for all messages /// - Parameter fromMessageId: Identifier of the message starting from which history must be fetched; use 0 to get results from the last message - /// - Parameter limit: The maximum number of messages to be returned; must be positive and can't be greater than 100. If the offset is negative, the limit must be greater than -offset.//-For optimal performance, the number of returned messages is chosen by TDLib and can be smaller than the specified limit + /// - Parameter limit: The maximum number of messages to be returned; must be positive and can't be greater than 100. If the offset is negative, the limit must be greater than -offset. For optimal performance, the number of returned messages is chosen by TDLib and can be smaller than the specified limit /// - Parameter messageThreadId: If not 0, only messages in the specified thread will be returned; supergroups only /// - Parameter offset: Specify 0 to get results from exactly the message from_message_id or a negative offset to get the specified message and some newer messages /// - Parameter query: Query to search for @@ -2539,7 +2577,7 @@ public final class TdApi { /// - Parameter chatId: Identifier of the chat in which to search messages /// - Parameter filter: Additional filter for messages to search; pass null to search for all messages /// - Parameter fromMessageId: Identifier of the message starting from which history must be fetched; use 0 to get results from the last message - /// - Parameter limit: The maximum number of messages to be returned; must be positive and can't be greater than 100. If the offset is negative, the limit must be greater than -offset.//-For optimal performance, the number of returned messages is chosen by TDLib and can be smaller than the specified limit + /// - Parameter limit: The maximum number of messages to be returned; must be positive and can't be greater than 100. If the offset is negative, the limit must be greater than -offset. For optimal performance, the number of returned messages is chosen by TDLib and can be smaller than the specified limit /// - Parameter messageThreadId: If not 0, only messages in the specified thread will be returned; supergroups only /// - Parameter offset: Specify 0 to get results from exactly the message from_message_id or a negative offset to get the specified message and some newer messages /// - Parameter query: Query to search for @@ -2579,6 +2617,7 @@ public final class TdApi { /// - Parameter maxDate: If not 0, the maximum date of the messages to return /// - Parameter minDate: If not 0, the minimum date of the messages to return /// - Parameter offset: Offset of the first entry to return as received from the previous request; use empty string to get the first chunk of results + /// - Parameter onlyInChannels: Pass true to search only for messages in channels /// - Parameter query: Query to search for /// - Returns: The results in reverse chronological order (i.e., in order of decreasing (date, chat_id, message_id)). For optimal performance, the number of returned messages is chosen by TDLib and can be smaller than the specified limit public func searchMessages( @@ -2588,6 +2627,7 @@ public final class TdApi { maxDate: Int?, minDate: Int?, offset: String?, + onlyInChannels: Bool?, query: String?, completion: @escaping (Result) -> Void ) throws { @@ -2598,6 +2638,7 @@ public final class TdApi { maxDate: maxDate, minDate: minDate, offset: offset, + onlyInChannels: onlyInChannels, query: query ) self.execute(query: query, completion: completion) @@ -2610,6 +2651,7 @@ public final class TdApi { /// - Parameter maxDate: If not 0, the maximum date of the messages to return /// - Parameter minDate: If not 0, the minimum date of the messages to return /// - Parameter offset: Offset of the first entry to return as received from the previous request; use empty string to get the first chunk of results + /// - Parameter onlyInChannels: Pass true to search only for messages in channels /// - Parameter query: Query to search for /// - Returns: The results in reverse chronological order (i.e., in order of decreasing (date, chat_id, message_id)). For optimal performance, the number of returned messages is chosen by TDLib and can be smaller than the specified limit @available(iOS 13.0, macOS 10.15, watchOS 6.0, tvOS 13.0, *) @@ -2620,6 +2662,7 @@ public final class TdApi { maxDate: Int?, minDate: Int?, offset: String?, + onlyInChannels: Bool?, query: String? ) async throws -> FoundMessages { let query = SearchMessages( @@ -2629,6 +2672,7 @@ public final class TdApi { maxDate: maxDate, minDate: minDate, offset: offset, + onlyInChannels: onlyInChannels, query: query ) return try await self.execute(query: query) @@ -2686,7 +2730,7 @@ public final class TdApi { /// Searches for messages tagged by the given reaction and with the given words in the Saved Messages chat; for Telegram Premium users only. Returns the results in reverse chronological order, i.e. in order of decreasing message_id For optimal performance, the number of returned messages is chosen by TDLib and can be smaller than the specified limit /// - Parameter fromMessageId: Identifier of the message starting from which messages must be fetched; use 0 to get results from the last message - /// - Parameter limit: The maximum number of messages to be returned; must be positive and can't be greater than 100. If the offset is negative, the limit must be greater than -offset.//-For optimal performance, the number of returned messages is chosen by TDLib and can be smaller than the specified limit + /// - Parameter limit: The maximum number of messages to be returned; must be positive and can't be greater than 100. If the offset is negative, the limit must be greater than -offset. For optimal performance, the number of returned messages is chosen by TDLib and can be smaller than the specified limit /// - Parameter offset: Specify 0 to get results from exactly the message from_message_id or a negative offset to get the specified message and some newer messages /// - Parameter query: Query to search for /// - Parameter savedMessagesTopicId: If not 0, only messages in the specified Saved Messages topic will be considered; pass 0 to consider all messages @@ -2714,7 +2758,7 @@ public final class TdApi { /// Searches for messages tagged by the given reaction and with the given words in the Saved Messages chat; for Telegram Premium users only. Returns the results in reverse chronological order, i.e. in order of decreasing message_id For optimal performance, the number of returned messages is chosen by TDLib and can be smaller than the specified limit /// - Parameter fromMessageId: Identifier of the message starting from which messages must be fetched; use 0 to get results from the last message - /// - Parameter limit: The maximum number of messages to be returned; must be positive and can't be greater than 100. If the offset is negative, the limit must be greater than -offset.//-For optimal performance, the number of returned messages is chosen by TDLib and can be smaller than the specified limit + /// - Parameter limit: The maximum number of messages to be returned; must be positive and can't be greater than 100. If the offset is negative, the limit must be greater than -offset. For optimal performance, the number of returned messages is chosen by TDLib and can be smaller than the specified limit /// - Parameter offset: Specify 0 to get results from exactly the message from_message_id or a negative offset to get the specified message and some newer messages /// - Parameter query: Query to search for /// - Parameter savedMessagesTopicId: If not 0, only messages in the specified Saved Messages topic will be considered; pass 0 to consider all messages @@ -3391,7 +3435,7 @@ public final class TdApi { /// Translates a text to the given language. If the current user is a Telegram Premium user, then text formatting is preserved /// - Parameter text: Text to translate - /// - Parameter toLanguageCode: Language code of the language to which the message is translated. Must be one of//-"af", "sq", "am", "ar", "hy", "az", "eu", "be", "bn", "bs", "bg", "ca", "ceb", "zh-CN", "zh", "zh-Hans", "zh-TW", "zh-Hant", "co", "hr", "cs", "da", "nl", "en", "eo", "et",//-"fi", "fr", "fy", "gl", "ka", "de", "el", "gu", "ht", "ha", "haw", "he", "iw", "hi", "hmn", "hu", "is", "ig", "id", "in", "ga", "it", "ja", "jv", "kn", "kk", "km", "rw", "ko",//-"ku", "ky", "lo", "la", "lv", "lt", "lb", "mk", "mg", "ms", "ml", "mt", "mi", "mr", "mn", "my", "ne", "no", "ny", "or", "ps", "fa", "pl", "pt", "pa", "ro", "ru", "sm", "gd", "sr",//-"st", "sn", "sd", "si", "sk", "sl", "so", "es", "su", "sw", "sv", "tl", "tg", "ta", "tt", "te", "th", "tr", "tk", "uk", "ur", "ug", "uz", "vi", "cy", "xh", "yi", "ji", "yo", "zu" + /// - Parameter toLanguageCode: Language code of the language to which the message is translated. Must be one of "af", "sq", "am", "ar", "hy", "az", "eu", "be", "bn", "bs", "bg", "ca", "ceb", "zh-CN", "zh", "zh-Hans", "zh-TW", "zh-Hant", "co", "hr", "cs", "da", "nl", "en", "eo", "et", "fi", "fr", "fy", "gl", "ka", "de", "el", "gu", "ht", "ha", "haw", "he", "iw", "hi", "hmn", "hu", "is", "ig", "id", "in", "ga", "it", "ja", "jv", "kn", "kk", "km", "rw", "ko", "ku", "ky", "lo", "la", "lv", "lt", "lb", "mk", "mg", "ms", "ml", "mt", "mi", "mr", "mn", "my", "ne", "no", "ny", "or", "ps", "fa", "pl", "pt", "pa", "ro", "ru", "sm", "gd", "sr", "st", "sn", "sd", "si", "sk", "sl", "so", "es", "su", "sw", "sv", "tl", "tg", "ta", "tt", "te", "th", "tr", "tk", "uk", "ur", "ug", "uz", "vi", "cy", "xh", "yi", "ji", "yo", "zu" public func translateText( text: FormattedText?, toLanguageCode: String?, @@ -3406,7 +3450,7 @@ public final class TdApi { /// Translates a text to the given language. If the current user is a Telegram Premium user, then text formatting is preserved /// - Parameter text: Text to translate - /// - Parameter toLanguageCode: Language code of the language to which the message is translated. Must be one of//-"af", "sq", "am", "ar", "hy", "az", "eu", "be", "bn", "bs", "bg", "ca", "ceb", "zh-CN", "zh", "zh-Hans", "zh-TW", "zh-Hant", "co", "hr", "cs", "da", "nl", "en", "eo", "et",//-"fi", "fr", "fy", "gl", "ka", "de", "el", "gu", "ht", "ha", "haw", "he", "iw", "hi", "hmn", "hu", "is", "ig", "id", "in", "ga", "it", "ja", "jv", "kn", "kk", "km", "rw", "ko",//-"ku", "ky", "lo", "la", "lv", "lt", "lb", "mk", "mg", "ms", "ml", "mt", "mi", "mr", "mn", "my", "ne", "no", "ny", "or", "ps", "fa", "pl", "pt", "pa", "ro", "ru", "sm", "gd", "sr",//-"st", "sn", "sd", "si", "sk", "sl", "so", "es", "su", "sw", "sv", "tl", "tg", "ta", "tt", "te", "th", "tr", "tk", "uk", "ur", "ug", "uz", "vi", "cy", "xh", "yi", "ji", "yo", "zu" + /// - Parameter toLanguageCode: Language code of the language to which the message is translated. Must be one of "af", "sq", "am", "ar", "hy", "az", "eu", "be", "bn", "bs", "bg", "ca", "ceb", "zh-CN", "zh", "zh-Hans", "zh-TW", "zh-Hant", "co", "hr", "cs", "da", "nl", "en", "eo", "et", "fi", "fr", "fy", "gl", "ka", "de", "el", "gu", "ht", "ha", "haw", "he", "iw", "hi", "hmn", "hu", "is", "ig", "id", "in", "ga", "it", "ja", "jv", "kn", "kk", "km", "rw", "ko", "ku", "ky", "lo", "la", "lv", "lt", "lb", "mk", "mg", "ms", "ml", "mt", "mi", "mr", "mn", "my", "ne", "no", "ny", "or", "ps", "fa", "pl", "pt", "pa", "ro", "ru", "sm", "gd", "sr", "st", "sn", "sd", "si", "sk", "sl", "so", "es", "su", "sw", "sv", "tl", "tg", "ta", "tt", "te", "th", "tr", "tk", "uk", "ur", "ug", "uz", "vi", "cy", "xh", "yi", "ji", "yo", "zu" @available(iOS 13.0, macOS 10.15, watchOS 6.0, tvOS 13.0, *) public func translateText( text: FormattedText?, @@ -3422,7 +3466,7 @@ public final class TdApi { /// Extracts text or caption of the given message and translates it to the given language. If the current user is a Telegram Premium user, then text formatting is preserved /// - Parameter chatId: Identifier of the chat to which the message belongs /// - Parameter messageId: Identifier of the message - /// - Parameter toLanguageCode: Language code of the language to which the message is translated. Must be one of//-"af", "sq", "am", "ar", "hy", "az", "eu", "be", "bn", "bs", "bg", "ca", "ceb", "zh-CN", "zh", "zh-Hans", "zh-TW", "zh-Hant", "co", "hr", "cs", "da", "nl", "en", "eo", "et",//-"fi", "fr", "fy", "gl", "ka", "de", "el", "gu", "ht", "ha", "haw", "he", "iw", "hi", "hmn", "hu", "is", "ig", "id", "in", "ga", "it", "ja", "jv", "kn", "kk", "km", "rw", "ko",//-"ku", "ky", "lo", "la", "lv", "lt", "lb", "mk", "mg", "ms", "ml", "mt", "mi", "mr", "mn", "my", "ne", "no", "ny", "or", "ps", "fa", "pl", "pt", "pa", "ro", "ru", "sm", "gd", "sr",//-"st", "sn", "sd", "si", "sk", "sl", "so", "es", "su", "sw", "sv", "tl", "tg", "ta", "tt", "te", "th", "tr", "tk", "uk", "ur", "ug", "uz", "vi", "cy", "xh", "yi", "ji", "yo", "zu" + /// - Parameter toLanguageCode: Language code of the language to which the message is translated. Must be one of "af", "sq", "am", "ar", "hy", "az", "eu", "be", "bn", "bs", "bg", "ca", "ceb", "zh-CN", "zh", "zh-Hans", "zh-TW", "zh-Hant", "co", "hr", "cs", "da", "nl", "en", "eo", "et", "fi", "fr", "fy", "gl", "ka", "de", "el", "gu", "ht", "ha", "haw", "he", "iw", "hi", "hmn", "hu", "is", "ig", "id", "in", "ga", "it", "ja", "jv", "kn", "kk", "km", "rw", "ko", "ku", "ky", "lo", "la", "lv", "lt", "lb", "mk", "mg", "ms", "ml", "mt", "mi", "mr", "mn", "my", "ne", "no", "ny", "or", "ps", "fa", "pl", "pt", "pa", "ro", "ru", "sm", "gd", "sr", "st", "sn", "sd", "si", "sk", "sl", "so", "es", "su", "sw", "sv", "tl", "tg", "ta", "tt", "te", "th", "tr", "tk", "uk", "ur", "ug", "uz", "vi", "cy", "xh", "yi", "ji", "yo", "zu" public func translateMessageText( chatId: Int64?, messageId: Int64?, @@ -3440,7 +3484,7 @@ public final class TdApi { /// Extracts text or caption of the given message and translates it to the given language. If the current user is a Telegram Premium user, then text formatting is preserved /// - Parameter chatId: Identifier of the chat to which the message belongs /// - Parameter messageId: Identifier of the message - /// - Parameter toLanguageCode: Language code of the language to which the message is translated. Must be one of//-"af", "sq", "am", "ar", "hy", "az", "eu", "be", "bn", "bs", "bg", "ca", "ceb", "zh-CN", "zh", "zh-Hans", "zh-TW", "zh-Hant", "co", "hr", "cs", "da", "nl", "en", "eo", "et",//-"fi", "fr", "fy", "gl", "ka", "de", "el", "gu", "ht", "ha", "haw", "he", "iw", "hi", "hmn", "hu", "is", "ig", "id", "in", "ga", "it", "ja", "jv", "kn", "kk", "km", "rw", "ko",//-"ku", "ky", "lo", "la", "lv", "lt", "lb", "mk", "mg", "ms", "ml", "mt", "mi", "mr", "mn", "my", "ne", "no", "ny", "or", "ps", "fa", "pl", "pt", "pa", "ro", "ru", "sm", "gd", "sr",//-"st", "sn", "sd", "si", "sk", "sl", "so", "es", "su", "sw", "sv", "tl", "tg", "ta", "tt", "te", "th", "tr", "tk", "uk", "ur", "ug", "uz", "vi", "cy", "xh", "yi", "ji", "yo", "zu" + /// - Parameter toLanguageCode: Language code of the language to which the message is translated. Must be one of "af", "sq", "am", "ar", "hy", "az", "eu", "be", "bn", "bs", "bg", "ca", "ceb", "zh-CN", "zh", "zh-Hans", "zh-TW", "zh-Hant", "co", "hr", "cs", "da", "nl", "en", "eo", "et", "fi", "fr", "fy", "gl", "ka", "de", "el", "gu", "ht", "ha", "haw", "he", "iw", "hi", "hmn", "hu", "is", "ig", "id", "in", "ga", "it", "ja", "jv", "kn", "kk", "km", "rw", "ko", "ku", "ky", "lo", "la", "lv", "lt", "lb", "mk", "mg", "ms", "ml", "mt", "mi", "mr", "mn", "my", "ne", "no", "ny", "or", "ps", "fa", "pl", "pt", "pa", "ro", "ru", "sm", "gd", "sr", "st", "sn", "sd", "si", "sk", "sl", "so", "es", "su", "sw", "sv", "tl", "tg", "ta", "tt", "te", "th", "tr", "tk", "uk", "ur", "ug", "uz", "vi", "cy", "xh", "yi", "ji", "yo", "zu" @available(iOS 13.0, macOS 10.15, watchOS 6.0, tvOS 13.0, *) public func translateMessageText( chatId: Int64?, @@ -3523,9 +3567,9 @@ public final class TdApi { return try await self.execute(query: query) } - /// Returns list of message sender identifiers, which can be used to send messages in a chat + /// Returns the list of message sender identifiers, which can be used to send messages in a chat /// - Parameter chatId: Chat identifier - /// - Returns: List of message sender identifiers, which can be used to send messages in a chat + /// - Returns: The list of message sender identifiers, which can be used to send messages in a chat public func getChatAvailableMessageSenders( chatId: Int64?, completion: @escaping (Result) -> Void @@ -3536,9 +3580,9 @@ public final class TdApi { self.execute(query: query, completion: completion) } - /// Returns list of message sender identifiers, which can be used to send messages in a chat + /// Returns the list of message sender identifiers, which can be used to send messages in a chat /// - Parameter chatId: Chat identifier - /// - Returns: List of message sender identifiers, which can be used to send messages in a chat + /// - Returns: The list of message sender identifiers, which can be used to send messages in a chat @available(iOS 13.0, macOS 10.15, watchOS 6.0, tvOS 13.0, *) public func getChatAvailableMessageSenders(chatId: Int64?) async throws -> ChatMessageSenders { let query = GetChatAvailableMessageSenders( @@ -4128,6 +4172,7 @@ public final class TdApi { /// Edits the message content of a live location. Messages can be edited for a limited period of time specified in the live location. Returns the edited message after the edit is completed on the server side /// - Parameter chatId: The chat the message belongs to /// - Parameter heading: The new direction in which the location moves, in degrees; 1-360. Pass 0 if unknown + /// - Parameter livePeriod: New time relative to the message send date, for which the location can be updated, in seconds. If 0x7FFFFFFF specified, then the location can be updated forever. Otherwise, must not exceed the current live_period by more than a day, and the live location expiration date must remain in the next 90 days. Pass 0 to keep the current live_period /// - Parameter location: New location content of the message; pass null to stop sharing the live location /// - Parameter messageId: Identifier of the message /// - Parameter proximityAlertRadius: The new maximum distance for proximity alerts, in meters (0-100000). Pass 0 if the notification is disabled @@ -4136,6 +4181,7 @@ public final class TdApi { public func editMessageLiveLocation( chatId: Int64?, heading: Int?, + livePeriod: Int?, location: Location?, messageId: Int64?, proximityAlertRadius: Int?, @@ -4145,6 +4191,7 @@ public final class TdApi { let query = EditMessageLiveLocation( chatId: chatId, heading: heading, + livePeriod: livePeriod, location: location, messageId: messageId, proximityAlertRadius: proximityAlertRadius, @@ -4156,6 +4203,7 @@ public final class TdApi { /// Edits the message content of a live location. Messages can be edited for a limited period of time specified in the live location. Returns the edited message after the edit is completed on the server side /// - Parameter chatId: The chat the message belongs to /// - Parameter heading: The new direction in which the location moves, in degrees; 1-360. Pass 0 if unknown + /// - Parameter livePeriod: New time relative to the message send date, for which the location can be updated, in seconds. If 0x7FFFFFFF specified, then the location can be updated forever. Otherwise, must not exceed the current live_period by more than a day, and the live location expiration date must remain in the next 90 days. Pass 0 to keep the current live_period /// - Parameter location: New location content of the message; pass null to stop sharing the live location /// - Parameter messageId: Identifier of the message /// - Parameter proximityAlertRadius: The new maximum distance for proximity alerts, in meters (0-100000). Pass 0 if the notification is disabled @@ -4165,6 +4213,7 @@ public final class TdApi { public func editMessageLiveLocation( chatId: Int64?, heading: Int?, + livePeriod: Int?, location: Location?, messageId: Int64?, proximityAlertRadius: Int?, @@ -4173,6 +4222,7 @@ public final class TdApi { let query = EditMessageLiveLocation( chatId: chatId, heading: heading, + livePeriod: livePeriod, location: location, messageId: messageId, proximityAlertRadius: proximityAlertRadius, @@ -4347,12 +4397,14 @@ public final class TdApi { /// Edits the content of a live location in an inline message sent via a bot; for bots only /// - Parameter heading: The new direction in which the location moves, in degrees; 1-360. Pass 0 if unknown /// - Parameter inlineMessageId: Inline message identifier + /// - Parameter livePeriod: New time relative to the message send date, for which the location can be updated, in seconds. If 0x7FFFFFFF specified, then the location can be updated forever. Otherwise, must not exceed the current live_period by more than a day, and the live location expiration date must remain in the next 90 days. Pass 0 to keep the current live_period /// - Parameter location: New location content of the message; pass null to stop sharing the live location /// - Parameter proximityAlertRadius: The new maximum distance for proximity alerts, in meters (0-100000). Pass 0 if the notification is disabled /// - Parameter replyMarkup: The new message reply markup; pass null if none public func editInlineMessageLiveLocation( heading: Int?, inlineMessageId: String?, + livePeriod: Int?, location: Location?, proximityAlertRadius: Int?, replyMarkup: ReplyMarkup?, @@ -4361,6 +4413,7 @@ public final class TdApi { let query = EditInlineMessageLiveLocation( heading: heading, inlineMessageId: inlineMessageId, + livePeriod: livePeriod, location: location, proximityAlertRadius: proximityAlertRadius, replyMarkup: replyMarkup @@ -4371,6 +4424,7 @@ public final class TdApi { /// Edits the content of a live location in an inline message sent via a bot; for bots only /// - Parameter heading: The new direction in which the location moves, in degrees; 1-360. Pass 0 if unknown /// - Parameter inlineMessageId: Inline message identifier + /// - Parameter livePeriod: New time relative to the message send date, for which the location can be updated, in seconds. If 0x7FFFFFFF specified, then the location can be updated forever. Otherwise, must not exceed the current live_period by more than a day, and the live location expiration date must remain in the next 90 days. Pass 0 to keep the current live_period /// - Parameter location: New location content of the message; pass null to stop sharing the live location /// - Parameter proximityAlertRadius: The new maximum distance for proximity alerts, in meters (0-100000). Pass 0 if the notification is disabled /// - Parameter replyMarkup: The new message reply markup; pass null if none @@ -4379,6 +4433,7 @@ public final class TdApi { public func editInlineMessageLiveLocation( heading: Int?, inlineMessageId: String?, + livePeriod: Int?, location: Location?, proximityAlertRadius: Int?, replyMarkup: ReplyMarkup? @@ -4386,6 +4441,7 @@ public final class TdApi { let query = EditInlineMessageLiveLocation( heading: heading, inlineMessageId: inlineMessageId, + livePeriod: livePeriod, location: location, proximityAlertRadius: proximityAlertRadius, replyMarkup: replyMarkup @@ -4909,6 +4965,44 @@ public final class TdApi { return try await self.execute(query: query) } + /// Adds 2-10 messages grouped together into an album to a quick reply shortcut. Currently, only audio, document, photo and video messages can be grouped into an album. Documents and audio files can be only grouped in an album with messages of the same type. Returns sent messages + /// - Parameter inputMessageContents: Contents of messages to be sent. At most 10 messages can be added to an album + /// - Parameter replyToMessageId: Identifier of a quick reply message in the same shortcut to be replied; pass 0 if none + /// - Parameter shortcutName: Name of the target shortcut + /// - Returns: Sent messages + public func addQuickReplyShortcutMessageAlbum( + inputMessageContents: [InputMessageContent]?, + replyToMessageId: Int64?, + shortcutName: String?, + completion: @escaping (Result) -> Void + ) throws { + let query = AddQuickReplyShortcutMessageAlbum( + inputMessageContents: inputMessageContents, + replyToMessageId: replyToMessageId, + shortcutName: shortcutName + ) + self.execute(query: query, completion: completion) + } + + /// Adds 2-10 messages grouped together into an album to a quick reply shortcut. Currently, only audio, document, photo and video messages can be grouped into an album. Documents and audio files can be only grouped in an album with messages of the same type. Returns sent messages + /// - Parameter inputMessageContents: Contents of messages to be sent. At most 10 messages can be added to an album + /// - Parameter replyToMessageId: Identifier of a quick reply message in the same shortcut to be replied; pass 0 if none + /// - Parameter shortcutName: Name of the target shortcut + /// - Returns: Sent messages + @available(iOS 13.0, macOS 10.15, watchOS 6.0, tvOS 13.0, *) + public func addQuickReplyShortcutMessageAlbum( + inputMessageContents: [InputMessageContent]?, + replyToMessageId: Int64?, + shortcutName: String? + ) async throws -> QuickReplyMessages { + let query = AddQuickReplyShortcutMessageAlbum( + inputMessageContents: inputMessageContents, + replyToMessageId: replyToMessageId, + shortcutName: shortcutName + ) + return try await self.execute(query: query) + } + /// Readds quick reply messages which failed to add. Can be called only for messages for which messageSendingStateFailed.can_retry is true and after specified in messageSendingStateFailed.retry_after time passed. If a message is readded, the corresponding failed to send message is deleted. Returns the sent messages in the same order as the message identifiers passed in message_ids. If a message can't be readded, null will be returned instead of the message /// - Parameter messageIds: Identifiers of the quick reply messages to readd. Message identifiers must be in a strictly increasing order /// - Parameter shortcutName: Name of the target shortcut @@ -4978,15 +5072,15 @@ public final class TdApi { return try await self.execute(query: query) } - /// Returns list of custom emojis, which can be used as forum topic icon by all users - /// - Returns: List of custom emojis, which can be used as forum topic icon by all users + /// Returns the list of custom emojis, which can be used as forum topic icon by all users + /// - Returns: The list of custom emojis, which can be used as forum topic icon by all users public func getForumTopicDefaultIcons(completion: @escaping (Result) -> Void) throws { let query = GetForumTopicDefaultIcons() self.execute(query: query, completion: completion) } - /// Returns list of custom emojis, which can be used as forum topic icon by all users - /// - Returns: List of custom emojis, which can be used as forum topic icon by all users + /// Returns the list of custom emojis, which can be used as forum topic icon by all users + /// - Returns: The list of custom emojis, which can be used as forum topic icon by all users @available(iOS 13.0, macOS 10.15, watchOS 6.0, tvOS 13.0, *) public func getForumTopicDefaultIcons() async throws -> Stickers { let query = GetForumTopicDefaultIcons() @@ -6239,6 +6333,20 @@ public final class TdApi { return try await self.execute(query: query) } + /// Hides the list of contacts that have close birthdays for 24 hours + public func hideContactCloseBirthdays(completion: @escaping (Result) -> Void) throws { + let query = HideContactCloseBirthdays() + self.execute(query: query, completion: completion) + } + + /// Hides the list of contacts that have close birthdays for 24 hours + @available(iOS 13.0, macOS 10.15, watchOS 6.0, tvOS 13.0, *) + @discardableResult + public func hideContactCloseBirthdays() async throws -> Ok { + let query = HideContactCloseBirthdays() + return try await self.execute(query: query) + } + /// Returns information about a business connection by its identifier; for bots only /// - Parameter connectionId: Identifier of the business connection to return /// - Returns: Information about a business connection by its identifier @@ -6398,7 +6506,7 @@ public final class TdApi { /// - Parameter buttonId: Identifier of the button /// - Parameter chatId: Identifier of the chat with the bot /// - Parameter messageId: Identifier of the message with the button - /// - Parameter onlyCheck: Pass true to check that the chat can be shared by the button instead of actually sharing it. Doesn't check bot_is_member and bot_administrator_rights restrictions.//-If the bot must be a member, then all chats from getGroupsInCommon and all chats, where the user can add the bot, are suitable. In the latter case the bot will be automatically added to the chat.//-If the bot must be an administrator, then all chats, where the bot already has requested rights or can be added to administrators by the user, are suitable. In the latter case the bot will be automatically granted requested rights + /// - Parameter onlyCheck: Pass true to check that the chat can be shared by the button instead of actually sharing it. Doesn't check bot_is_member and bot_administrator_rights restrictions. If the bot must be a member, then all chats from getGroupsInCommon and all chats, where the user can add the bot, are suitable. In the latter case the bot will be automatically added to the chat. If the bot must be an administrator, then all chats, where the bot already has requested rights or can be added to administrators by the user, are suitable. In the latter case the bot will be automatically granted requested rights /// - Parameter sharedChatId: Identifier of the shared chat public func shareChatWithBot( buttonId: Int?, @@ -6422,7 +6530,7 @@ public final class TdApi { /// - Parameter buttonId: Identifier of the button /// - Parameter chatId: Identifier of the chat with the bot /// - Parameter messageId: Identifier of the message with the button - /// - Parameter onlyCheck: Pass true to check that the chat can be shared by the button instead of actually sharing it. Doesn't check bot_is_member and bot_administrator_rights restrictions.//-If the bot must be a member, then all chats from getGroupsInCommon and all chats, where the user can add the bot, are suitable. In the latter case the bot will be automatically added to the chat.//-If the bot must be an administrator, then all chats, where the bot already has requested rights or can be added to administrators by the user, are suitable. In the latter case the bot will be automatically granted requested rights + /// - Parameter onlyCheck: Pass true to check that the chat can be shared by the button instead of actually sharing it. Doesn't check bot_is_member and bot_administrator_rights restrictions. If the bot must be a member, then all chats from getGroupsInCommon and all chats, where the user can add the bot, are suitable. In the latter case the bot will be automatically added to the chat. If the bot must be an administrator, then all chats, where the bot already has requested rights or can be added to administrators by the user, are suitable. In the latter case the bot will be automatically granted requested rights /// - Parameter sharedChatId: Identifier of the shared chat @available(iOS 13.0, macOS 10.15, watchOS 6.0, tvOS 13.0, *) @discardableResult @@ -8589,7 +8697,7 @@ public final class TdApi { /// Changes accent color and background custom emoji for profile of a supergroup or channel chat. Requires can_change_info administrator right /// - Parameter chatId: Chat identifier - /// - Parameter profileAccentColorId: Identifier of the accent color to use for profile; pass -1 if none. The chat must have at least profileAccentColor.min_supergroup_chat_boost_level for supergroups//-or profileAccentColor.min_channel_chat_boost_level for channels boost level to pass the corresponding color + /// - Parameter profileAccentColorId: Identifier of the accent color to use for profile; pass -1 if none. The chat must have at least profileAccentColor.min_supergroup_chat_boost_level for supergroups or profileAccentColor.min_channel_chat_boost_level for channels boost level to pass the corresponding color /// - Parameter profileBackgroundCustomEmojiId: 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 public func setChatProfileAccentColor( chatId: Int64?, @@ -8607,7 +8715,7 @@ public final class TdApi { /// Changes accent color and background custom emoji for profile of a supergroup or channel chat. Requires can_change_info administrator right /// - Parameter chatId: Chat identifier - /// - Parameter profileAccentColorId: Identifier of the accent color to use for profile; pass -1 if none. The chat must have at least profileAccentColor.min_supergroup_chat_boost_level for supergroups//-or profileAccentColor.min_channel_chat_boost_level for channels boost level to pass the corresponding color + /// - Parameter profileAccentColorId: Identifier of the accent color to use for profile; pass -1 if none. The chat must have at least profileAccentColor.min_supergroup_chat_boost_level for supergroups or profileAccentColor.min_channel_chat_boost_level for channels boost level to pass the corresponding color /// - Parameter profileBackgroundCustomEmojiId: 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 @available(iOS 13.0, macOS 10.15, watchOS 6.0, tvOS 13.0, *) @discardableResult @@ -8722,7 +8830,7 @@ public final class TdApi { /// - Parameter chatId: Chat identifier /// - Parameter darkThemeDimming: Dimming of the background in dark themes, as a percentage; 0-100. Applied only to Wallpaper and Fill types of background /// - Parameter onlyForSelf: Pass true to set background only for self; pass false to set background for all chat users. Always false for backgrounds set in boosted chats. Background can be set for both users only by Telegram Premium users and if set background isn't of the type inputBackgroundPrevious - /// - Parameter type: Background type; pass null to use default background type for the chosen background; backgroundTypeChatTheme isn't supported for private and secret chats.//-Use chatBoostLevelFeatures.chat_theme_background_count and chatBoostLevelFeatures.can_set_custom_background to check whether the background type can be set in the boosted chat + /// - Parameter type: Background type; pass null to use default background type for the chosen background; backgroundTypeChatTheme isn't supported for private and secret chats. Use chatBoostLevelFeatures.chat_theme_background_count and chatBoostLevelFeatures.can_set_custom_background to check whether the background type can be set in the boosted chat public func setChatBackground( background: InputBackground?, chatId: Int64?, @@ -8746,7 +8854,7 @@ public final class TdApi { /// - Parameter chatId: Chat identifier /// - Parameter darkThemeDimming: Dimming of the background in dark themes, as a percentage; 0-100. Applied only to Wallpaper and Fill types of background /// - Parameter onlyForSelf: Pass true to set background only for self; pass false to set background for all chat users. Always false for backgrounds set in boosted chats. Background can be set for both users only by Telegram Premium users and if set background isn't of the type inputBackgroundPrevious - /// - Parameter type: Background type; pass null to use default background type for the chosen background; backgroundTypeChatTheme isn't supported for private and secret chats.//-Use chatBoostLevelFeatures.chat_theme_background_count and chatBoostLevelFeatures.can_set_custom_background to check whether the background type can be set in the boosted chat + /// - Parameter type: Background type; pass null to use default background type for the chosen background; backgroundTypeChatTheme isn't supported for private and secret chats. Use chatBoostLevelFeatures.chat_theme_background_count and chatBoostLevelFeatures.can_set_custom_background to check whether the background type can be set in the boosted chat @available(iOS 13.0, macOS 10.15, watchOS 6.0, tvOS 13.0, *) @discardableResult public func setChatBackground( @@ -8768,7 +8876,7 @@ public final class TdApi { /// Deletes background in a specific chat /// - Parameter chatId: Chat identifier - /// - Parameter restorePrevious: Pass true to restore previously set background. Can be used only in private and secret chats with non-deleted users if userFullInfo.set_chat_background == true.//-Supposed to be used from messageChatSetBackground messages with the currently set background that was set for both sides by the other user + /// - Parameter restorePrevious: Pass true to restore previously set background. Can be used only in private and secret chats with non-deleted users if userFullInfo.set_chat_background == true. Supposed to be used from messageChatSetBackground messages with the currently set background that was set for both sides by the other user public func deleteChatBackground( chatId: Int64?, restorePrevious: Bool?, @@ -8783,7 +8891,7 @@ public final class TdApi { /// Deletes background in a specific chat /// - Parameter chatId: Chat identifier - /// - Parameter restorePrevious: Pass true to restore previously set background. Can be used only in private and secret chats with non-deleted users if userFullInfo.set_chat_background == true.//-Supposed to be used from messageChatSetBackground messages with the currently set background that was set for both sides by the other user + /// - Parameter restorePrevious: Pass true to restore previously set background. Can be used only in private and secret chats with non-deleted users if userFullInfo.set_chat_background == true. Supposed to be used from messageChatSetBackground messages with the currently set background that was set for both sides by the other user @available(iOS 13.0, macOS 10.15, watchOS 6.0, tvOS 13.0, *) @discardableResult public func deleteChatBackground( @@ -9146,7 +9254,7 @@ public final class TdApi { /// Changes the discussion group of a channel chat; requires can_change_info administrator right in the channel if it is specified /// - Parameter chatId: Identifier of the channel chat. Pass 0 to remove a link from the supergroup passed in the second argument to a linked channel chat (requires can_pin_messages member right in the supergroup) - /// - Parameter discussionChatId: Identifier of a new channel's discussion group. Use 0 to remove the discussion group. Use the method getSuitableDiscussionChats to find all suitable groups.//-Basic group chats must be first upgraded to supergroup chats. If new chat members don't have access to old messages in the supergroup, then toggleSupergroupIsAllHistoryAvailable must be used first to change that + /// - Parameter discussionChatId: Identifier of a new channel's discussion group. Use 0 to remove the discussion group. Use the method getSuitableDiscussionChats to find all suitable groups. Basic group chats must be first upgraded to supergroup chats. If new chat members don't have access to old messages in the supergroup, then toggleSupergroupIsAllHistoryAvailable must be used first to change that public func setChatDiscussionGroup( chatId: Int64?, discussionChatId: Int64?, @@ -9161,7 +9269,7 @@ public final class TdApi { /// Changes the discussion group of a channel chat; requires can_change_info administrator right in the channel if it is specified /// - Parameter chatId: Identifier of the channel chat. Pass 0 to remove a link from the supergroup passed in the second argument to a linked channel chat (requires can_pin_messages member right in the supergroup) - /// - Parameter discussionChatId: Identifier of a new channel's discussion group. Use 0 to remove the discussion group. Use the method getSuitableDiscussionChats to find all suitable groups.//-Basic group chats must be first upgraded to supergroup chats. If new chat members don't have access to old messages in the supergroup, then toggleSupergroupIsAllHistoryAvailable must be used first to change that + /// - Parameter discussionChatId: Identifier of a new channel's discussion group. Use 0 to remove the discussion group. Use the method getSuitableDiscussionChats to find all suitable groups. Basic group chats must be first upgraded to supergroup chats. If new chat members don't have access to old messages in the supergroup, then toggleSupergroupIsAllHistoryAvailable must be used first to change that @available(iOS 13.0, macOS 10.15, watchOS 6.0, tvOS 13.0, *) @discardableResult public func setChatDiscussionGroup( @@ -9760,15 +9868,15 @@ public final class TdApi { return try await self.execute(query: query) } - /// Returns list of saved notification sounds. If a sound isn't in the list, then default sound needs to be used - /// - Returns: List of saved notification sounds + /// Returns the list of saved notification sounds. If a sound isn't in the list, then default sound needs to be used + /// - Returns: The list of saved notification sounds public func getSavedNotificationSounds(completion: @escaping (Result) -> Void) throws { let query = GetSavedNotificationSounds() self.execute(query: query, completion: completion) } - /// Returns list of saved notification sounds. If a sound isn't in the list, then default sound needs to be used - /// - Returns: List of saved notification sounds + /// Returns the list of saved notification sounds. If a sound isn't in the list, then default sound needs to be used + /// - Returns: The list of saved notification sounds @available(iOS 13.0, macOS 10.15, watchOS 6.0, tvOS 13.0, *) public func getSavedNotificationSounds() async throws -> NotificationSounds { let query = GetSavedNotificationSounds() @@ -9820,10 +9928,10 @@ public final class TdApi { return try await self.execute(query: query) } - /// Returns list of chats with non-default notification settings for new messages + /// Returns the list of chats with non-default notification settings for new messages /// - Parameter compareSound: Pass true to include in the response chats with only non-default sound /// - Parameter scope: If specified, only chats from the scope will be returned; pass null to return chats from all scopes - /// - Returns: List of chats with non-default notification settings for new messages + /// - Returns: The list of chats with non-default notification settings for new messages public func getChatNotificationSettingsExceptions( compareSound: Bool?, scope: NotificationSettingsScope?, @@ -9836,10 +9944,10 @@ public final class TdApi { self.execute(query: query, completion: completion) } - /// Returns list of chats with non-default notification settings for new messages + /// Returns the list of chats with non-default notification settings for new messages /// - Parameter compareSound: Pass true to include in the response chats with only non-default sound /// - Parameter scope: If specified, only chats from the scope will be returned; pass null to return chats from all scopes - /// - Returns: List of chats with non-default notification settings for new messages + /// - Returns: The list of chats with non-default notification settings for new messages @available(iOS 13.0, macOS 10.15, watchOS 6.0, tvOS 13.0, *) public func getChatNotificationSettingsExceptions( compareSound: Bool?, @@ -9907,13 +10015,36 @@ public final class TdApi { return try await self.execute(query: query) } - /// Resets all notification settings to their default values. By default, all chats are unmuted and message previews are shown + /// Changes notification settings for reactions + /// - Parameter notificationSettings: The new notification settings for reactions + public func setReactionNotificationSettings( + notificationSettings: ReactionNotificationSettings?, + completion: @escaping (Result) -> Void + ) throws { + let query = SetReactionNotificationSettings( + notificationSettings: notificationSettings + ) + self.execute(query: query, completion: completion) + } + + /// Changes notification settings for reactions + /// - Parameter notificationSettings: The new notification settings for reactions + @available(iOS 13.0, macOS 10.15, watchOS 6.0, tvOS 13.0, *) + @discardableResult + public func setReactionNotificationSettings(notificationSettings: ReactionNotificationSettings?) async throws -> Ok { + let query = SetReactionNotificationSettings( + notificationSettings: notificationSettings + ) + return try await self.execute(query: query) + } + + /// Resets all chat and scope notification settings to their default values. By default, all chats are unmuted and message previews are shown public func resetAllNotificationSettings(completion: @escaping (Result) -> Void) throws { let query = ResetAllNotificationSettings() self.execute(query: query, completion: completion) } - /// Resets all notification settings to their default values. By default, all chats are unmuted and message previews are shown + /// Resets all chat and scope notification settings to their default values. By default, all chats are unmuted and message previews are shown @available(iOS 13.0, macOS 10.15, watchOS 6.0, tvOS 13.0, *) @discardableResult public func resetAllNotificationSettings() async throws -> Ok { @@ -10094,7 +10225,7 @@ public final class TdApi { /// - Parameter chatId: Identifier of the chat that will post the story /// - Parameter content: Content of the story /// - Parameter fromStoryFullId: Full identifier of the original story, which content was used to create the story - /// - Parameter isPinned: Pass true to keep the story accessible after expiration + /// - Parameter isPostedToChatPage: Pass true to keep the story accessible after expiration /// - Parameter privacySettings: The privacy settings for the story; ignored for stories sent to supergroup and channel chats /// - Parameter protectContent: Pass true if the content of the story must be protected from forwarding and screenshotting /// - Returns: A temporary story @@ -10105,7 +10236,7 @@ public final class TdApi { chatId: Int64?, content: InputStoryContent?, fromStoryFullId: StoryFullId?, - isPinned: Bool?, + isPostedToChatPage: Bool?, privacySettings: StoryPrivacySettings?, protectContent: Bool?, completion: @escaping (Result) -> Void @@ -10117,7 +10248,7 @@ public final class TdApi { chatId: chatId, content: content, fromStoryFullId: fromStoryFullId, - isPinned: isPinned, + isPostedToChatPage: isPostedToChatPage, privacySettings: privacySettings, protectContent: protectContent ) @@ -10131,7 +10262,7 @@ public final class TdApi { /// - Parameter chatId: Identifier of the chat that will post the story /// - Parameter content: Content of the story /// - Parameter fromStoryFullId: Full identifier of the original story, which content was used to create the story - /// - Parameter isPinned: Pass true to keep the story accessible after expiration + /// - Parameter isPostedToChatPage: Pass true to keep the story accessible after expiration /// - Parameter privacySettings: The privacy settings for the story; ignored for stories sent to supergroup and channel chats /// - Parameter protectContent: Pass true if the content of the story must be protected from forwarding and screenshotting /// - Returns: A temporary story @@ -10143,7 +10274,7 @@ public final class TdApi { chatId: Int64?, content: InputStoryContent?, fromStoryFullId: StoryFullId?, - isPinned: Bool?, + isPostedToChatPage: Bool?, privacySettings: StoryPrivacySettings?, protectContent: Bool? ) async throws -> Story { @@ -10154,7 +10285,7 @@ public final class TdApi { chatId: chatId, content: content, fromStoryFullId: fromStoryFullId, - isPinned: isPinned, + isPostedToChatPage: isPostedToChatPage, privacySettings: privacySettings, protectContent: protectContent ) @@ -10241,37 +10372,37 @@ public final class TdApi { return try await self.execute(query: query) } - /// Toggles whether a story is accessible after expiration. Can be called only if story.can_toggle_is_pinned == true - /// - Parameter isPinned: Pass true to make the story accessible after expiration; pass false to make it private + /// Toggles whether a story is accessible after expiration. Can be called only if story.can_toggle_is_posted_to_chat_page == true + /// - Parameter isPostedToChatPage: Pass true to make the story accessible after expiration; pass false to make it private /// - Parameter storyId: Identifier of the story /// - Parameter storySenderChatId: Identifier of the chat that posted the story - public func toggleStoryIsPinned( - isPinned: Bool?, + public func toggleStoryIsPostedToChatPage( + isPostedToChatPage: Bool?, storyId: Int?, storySenderChatId: Int64?, completion: @escaping (Result) -> Void ) throws { - let query = ToggleStoryIsPinned( - isPinned: isPinned, + let query = ToggleStoryIsPostedToChatPage( + isPostedToChatPage: isPostedToChatPage, storyId: storyId, storySenderChatId: storySenderChatId ) self.execute(query: query, completion: completion) } - /// Toggles whether a story is accessible after expiration. Can be called only if story.can_toggle_is_pinned == true - /// - Parameter isPinned: Pass true to make the story accessible after expiration; pass false to make it private + /// Toggles whether a story is accessible after expiration. Can be called only if story.can_toggle_is_posted_to_chat_page == true + /// - Parameter isPostedToChatPage: Pass true to make the story accessible after expiration; pass false to make it private /// - Parameter storyId: Identifier of the story /// - Parameter storySenderChatId: Identifier of the chat that posted the story @available(iOS 13.0, macOS 10.15, watchOS 6.0, tvOS 13.0, *) @discardableResult - public func toggleStoryIsPinned( - isPinned: Bool?, + public func toggleStoryIsPostedToChatPage( + isPostedToChatPage: Bool?, storyId: Int?, storySenderChatId: Int64? ) async throws -> Ok { - let query = ToggleStoryIsPinned( - isPinned: isPinned, + let query = ToggleStoryIsPostedToChatPage( + isPostedToChatPage: isPostedToChatPage, storyId: storyId, storySenderChatId: storySenderChatId ) @@ -10309,15 +10440,15 @@ public final class TdApi { return try await self.execute(query: query) } - /// Returns list of chats with non-default notification settings for stories - /// - Returns: List of chats with non-default notification settings for stories + /// Returns the list of chats with non-default notification settings for stories + /// - Returns: The list of chats with non-default notification settings for stories public func getStoryNotificationSettingsExceptions(completion: @escaping (Result) -> Void) throws { let query = GetStoryNotificationSettingsExceptions() self.execute(query: query, completion: completion) } - /// Returns list of chats with non-default notification settings for stories - /// - Returns: List of chats with non-default notification settings for stories + /// Returns the list of chats with non-default notification settings for stories + /// - Returns: The list of chats with non-default notification settings for stories @available(iOS 13.0, macOS 10.15, watchOS 6.0, tvOS 13.0, *) public func getStoryNotificationSettingsExceptions() async throws -> Chats { let query = GetStoryNotificationSettingsExceptions() @@ -10404,18 +10535,18 @@ public final class TdApi { return try await self.execute(query: query) } - /// Returns the list of pinned stories posted by the given chat. The stories are returned in a reverse chronological order (i.e., in order of decreasing story_id). For optimal performance, the number of returned stories is chosen by TDLib + /// 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. Then, stories are returned in a reverse chronological order (i.e., in order of decreasing story_id). For optimal performance, the number of returned stories is chosen by TDLib /// - Parameter chatId: Chat identifier - /// - Parameter fromStoryId: Identifier of the story starting from which stories must be returned; use 0 to get results from the last story - /// - Parameter limit: The maximum number of stories to be returned//-For optimal performance, the number of returned stories is chosen by TDLib and can be smaller than the specified limit - /// - Returns: The list of pinned stories posted by the given chat. The stories are returned in a reverse chronological order (i.e., in order of decreasing story_id). For optimal performance, the number of returned stories is chosen by TDLib - public func getChatPinnedStories( + /// - Parameter fromStoryId: Identifier of the story starting from which stories must be returned; use 0 to get results from pinned and the newest story + /// - Parameter limit: The maximum number of stories to be returned For optimal performance, the number of returned stories is chosen by TDLib and can be smaller than the specified limit + /// - 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. Then, stories are returned in a reverse chronological order (i.e., in order of decreasing story_id). For optimal performance, the number of returned stories is chosen by TDLib + public func getChatPostedToChatPageStories( chatId: Int64?, fromStoryId: Int?, limit: Int?, completion: @escaping (Result) -> Void ) throws { - let query = GetChatPinnedStories( + let query = GetChatPostedToChatPageStories( chatId: chatId, fromStoryId: fromStoryId, limit: limit @@ -10423,18 +10554,18 @@ public final class TdApi { self.execute(query: query, completion: completion) } - /// Returns the list of pinned stories posted by the given chat. The stories are returned in a reverse chronological order (i.e., in order of decreasing story_id). For optimal performance, the number of returned stories is chosen by TDLib + /// 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. Then, stories are returned in a reverse chronological order (i.e., in order of decreasing story_id). For optimal performance, the number of returned stories is chosen by TDLib /// - Parameter chatId: Chat identifier - /// - Parameter fromStoryId: Identifier of the story starting from which stories must be returned; use 0 to get results from the last story - /// - Parameter limit: The maximum number of stories to be returned//-For optimal performance, the number of returned stories is chosen by TDLib and can be smaller than the specified limit - /// - Returns: The list of pinned stories posted by the given chat. The stories are returned in a reverse chronological order (i.e., in order of decreasing story_id). For optimal performance, the number of returned stories is chosen by TDLib + /// - Parameter fromStoryId: Identifier of the story starting from which stories must be returned; use 0 to get results from pinned and the newest story + /// - Parameter limit: The maximum number of stories to be returned For optimal performance, the number of returned stories is chosen by TDLib and can be smaller than the specified limit + /// - 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. Then, stories are returned in a reverse chronological order (i.e., in order of decreasing story_id). For optimal performance, the number of returned stories is chosen by TDLib @available(iOS 13.0, macOS 10.15, watchOS 6.0, tvOS 13.0, *) - public func getChatPinnedStories( + public func getChatPostedToChatPageStories( chatId: Int64?, fromStoryId: Int?, limit: Int? ) async throws -> Stories { - let query = GetChatPinnedStories( + let query = GetChatPostedToChatPageStories( chatId: chatId, fromStoryId: fromStoryId, limit: limit @@ -10445,7 +10576,7 @@ public final class TdApi { /// Returns the list of all stories posted by the given chat; requires can_edit_stories right in the chat. The stories are returned in a reverse chronological order (i.e., in order of decreasing story_id). For optimal performance, the number of returned stories is chosen by TDLib /// - Parameter chatId: Chat identifier /// - Parameter fromStoryId: Identifier of the story starting from which stories must be returned; use 0 to get results from the last story - /// - Parameter limit: The maximum number of stories to be returned//-For optimal performance, the number of returned stories is chosen by TDLib and can be smaller than the specified limit + /// - Parameter limit: The maximum number of stories to be returned For optimal performance, the number of returned stories is chosen by TDLib and can be smaller than the specified limit /// - Returns: The list of all stories posted by the given chat. The stories are returned in a reverse chronological order (i.e., in order of decreasing story_id). For optimal performance, the number of returned stories is chosen by TDLib public func getChatArchivedStories( chatId: Int64?, @@ -10464,7 +10595,7 @@ public final class TdApi { /// Returns the list of all stories posted by the given chat; requires can_edit_stories right in the chat. The stories are returned in a reverse chronological order (i.e., in order of decreasing story_id). For optimal performance, the number of returned stories is chosen by TDLib /// - Parameter chatId: Chat identifier /// - Parameter fromStoryId: Identifier of the story starting from which stories must be returned; use 0 to get results from the last story - /// - Parameter limit: The maximum number of stories to be returned//-For optimal performance, the number of returned stories is chosen by TDLib and can be smaller than the specified limit + /// - Parameter limit: The maximum number of stories to be returned For optimal performance, the number of returned stories is chosen by TDLib and can be smaller than the specified limit /// - Returns: The list of all stories posted by the given chat. The stories are returned in a reverse chronological order (i.e., in order of decreasing story_id). For optimal performance, the number of returned stories is chosen by TDLib @available(iOS 13.0, macOS 10.15, watchOS 6.0, tvOS 13.0, *) public func getChatArchivedStories( @@ -10480,6 +10611,37 @@ public final class TdApi { return try await self.execute(query: query) } + /// Changes the list of pinned stories on a chat page; requires can_edit_stories right in the chat + /// - Parameter chatId: Identifier of the chat that posted the stories + /// - Parameter storyIds: New list of pinned stories. All stories must be posted to the chat page first. There can be up to getOption("pinned_story_count_max") pinned stories on a chat page + public func setChatPinnedStories( + chatId: Int64?, + storyIds: [Int]?, + completion: @escaping (Result) -> Void + ) throws { + let query = SetChatPinnedStories( + chatId: chatId, + storyIds: storyIds + ) + self.execute(query: query, completion: completion) + } + + /// Changes the list of pinned stories on a chat page; requires can_edit_stories right in the chat + /// - Parameter chatId: Identifier of the chat that posted the stories + /// - Parameter storyIds: New list of pinned stories. All stories must be posted to the chat page first. There can be up to getOption("pinned_story_count_max") pinned stories on a chat page + @available(iOS 13.0, macOS 10.15, watchOS 6.0, tvOS 13.0, *) + @discardableResult + public func setChatPinnedStories( + chatId: Int64?, + storyIds: [Int]? + ) async throws -> Ok { + let query = SetChatPinnedStories( + chatId: chatId, + storyIds: storyIds + ) + return try await self.execute(query: query) + } + /// Informs TDLib that a story is opened and is being viewed by the user /// - Parameter storyId: The identifier of the story /// - Parameter storySenderChatId: The identifier of the sender of the opened story @@ -10828,10 +10990,10 @@ public final class TdApi { return try await self.execute(query: query) } - /// Returns list of features available on the specific chat boost level; this is an offline request + /// Returns the list of features available on the specific chat boost level; this is an offline request /// - Parameter isChannel: Pass true to get the list of features for channels; pass false to get the list of features for supergroups /// - Parameter level: Chat boost level - /// - Returns: List of features available on the specific chat boost level + /// - Returns: The list of features available on the specific chat boost level public func getChatBoostLevelFeatures( isChannel: Bool?, level: Int?, @@ -10844,10 +11006,10 @@ public final class TdApi { self.execute(query: query, completion: completion) } - /// Returns list of features available on the specific chat boost level; this is an offline request + /// Returns the list of features available on the specific chat boost level; this is an offline request /// - Parameter isChannel: Pass true to get the list of features for channels; pass false to get the list of features for supergroups /// - Parameter level: Chat boost level - /// - Returns: List of features available on the specific chat boost level + /// - Returns: The list of features available on the specific chat boost level @available(iOS 13.0, macOS 10.15, watchOS 6.0, tvOS 13.0, *) public func getChatBoostLevelFeatures( isChannel: Bool?, @@ -10860,9 +11022,9 @@ public final class TdApi { return try await self.execute(query: query) } - /// Returns list of features available for different chat boost levels; this is an offline request + /// Returns the list of features available for different chat boost levels; this is an offline request /// - Parameter isChannel: Pass true to get the list of features for channels; pass false to get the list of features for supergroups - /// - Returns: List of features available for different chat boost levels + /// - Returns: The list of features available for different chat boost levels public func getChatBoostFeatures( isChannel: Bool?, completion: @escaping (Result) -> Void @@ -10873,9 +11035,9 @@ public final class TdApi { self.execute(query: query, completion: completion) } - /// Returns list of features available for different chat boost levels; this is an offline request + /// Returns the list of features available for different chat boost levels; this is an offline request /// - Parameter isChannel: Pass true to get the list of features for channels; pass false to get the list of features for supergroups - /// - Returns: List of features available for different chat boost levels + /// - Returns: The list of features available for different chat boost levels @available(iOS 13.0, macOS 10.15, watchOS 6.0, tvOS 13.0, *) public func getChatBoostFeatures(isChannel: Bool?) async throws -> ChatBoostFeatures { let query = GetChatBoostFeatures( @@ -11003,12 +11165,12 @@ public final class TdApi { return try await self.execute(query: query) } - /// Returns list of boosts applied to a chat; requires administrator rights in the chat + /// Returns the list of boosts applied to a chat; requires administrator rights in the chat /// - Parameter chatId: Identifier of the chat /// - Parameter limit: The maximum number of boosts to be returned; up to 100. For optimal performance, the number of returned boosts can be smaller than the specified limit /// - Parameter offset: Offset of the first entry to return as received from the previous request; use empty string to get the first chunk of results /// - Parameter onlyGiftCodes: Pass true to receive only boosts received from gift codes and giveaways created by the chat - /// - Returns: List of boosts applied to a chat + /// - Returns: The list of boosts applied to a chat public func getChatBoosts( chatId: Int64?, limit: Int?, @@ -11025,12 +11187,12 @@ public final class TdApi { self.execute(query: query, completion: completion) } - /// Returns list of boosts applied to a chat; requires administrator rights in the chat + /// Returns the list of boosts applied to a chat; requires administrator rights in the chat /// - Parameter chatId: Identifier of the chat /// - Parameter limit: The maximum number of boosts to be returned; up to 100. For optimal performance, the number of returned boosts can be smaller than the specified limit /// - Parameter offset: Offset of the first entry to return as received from the previous request; use empty string to get the first chunk of results /// - Parameter onlyGiftCodes: Pass true to receive only boosts received from gift codes and giveaways created by the chat - /// - Returns: List of boosts applied to a chat + /// - Returns: The list of boosts applied to a chat @available(iOS 13.0, macOS 10.15, watchOS 6.0, tvOS 13.0, *) public func getChatBoosts( chatId: Int64?, @@ -11047,10 +11209,10 @@ public final class TdApi { return try await self.execute(query: query) } - /// Returns list of boosts applied to a chat by a given user; requires administrator rights in the chat; for bots only + /// Returns the list of boosts applied to a chat by a given user; requires administrator rights in the chat; for bots only /// - Parameter chatId: Identifier of the chat /// - Parameter userId: Identifier of the user - /// - Returns: List of boosts applied to a chat by a given user + /// - Returns: The list of boosts applied to a chat by a given user public func getUserChatBoosts( chatId: Int64?, userId: Int64?, @@ -11063,10 +11225,10 @@ public final class TdApi { self.execute(query: query, completion: completion) } - /// Returns list of boosts applied to a chat by a given user; requires administrator rights in the chat; for bots only + /// Returns the list of boosts applied to a chat by a given user; requires administrator rights in the chat; for bots only /// - Parameter chatId: Identifier of the chat /// - Parameter userId: Identifier of the user - /// - Returns: List of boosts applied to a chat by a given user + /// - Returns: The list of boosts applied to a chat by a given user @available(iOS 13.0, macOS 10.15, watchOS 6.0, tvOS 13.0, *) public func getUserChatBoosts( chatId: Int64?, @@ -11387,7 +11549,7 @@ public final class TdApi { return try await self.execute(query: query) } - /// Preliminary uploads a file to the cloud before sending it in a message, which can be useful for uploading of being recorded voice and video notes. Updates updateFile will be used to notify about upload progress and successful completion of the upload. The file will not have a persistent remote identifier until it is sent in a message + /// Preliminary uploads a file to the cloud before sending it in a message, which can be useful for uploading of being recorded voice and video notes. In all other cases there is no need to preliminary upload a file. Updates updateFile will be used to notify about upload progress. The upload will not be completed until the file is sent in a message /// - Parameter file: File to upload /// - Parameter fileType: File type; pass null if unknown /// - Parameter priority: Priority of the upload (1-32). The higher the priority, the earlier the file will be uploaded. If the priorities of two files are equal, then the first one for which preliminaryUploadFile was called will be uploaded first @@ -11405,7 +11567,7 @@ public final class TdApi { self.execute(query: query, completion: completion) } - /// Preliminary uploads a file to the cloud before sending it in a message, which can be useful for uploading of being recorded voice and video notes. Updates updateFile will be used to notify about upload progress and successful completion of the upload. The file will not have a persistent remote identifier until it is sent in a message + /// Preliminary uploads a file to the cloud before sending it in a message, which can be useful for uploading of being recorded voice and video notes. In all other cases there is no need to preliminary upload a file. Updates updateFile will be used to notify about upload progress. The upload will not be completed until the file is sent in a message /// - Parameter file: File to upload /// - Parameter fileType: File type; pass null if unknown /// - Parameter priority: Priority of the upload (1-32). The higher the priority, the earlier the file will be uploaded. If the priorities of two files are equal, then the first one for which preliminaryUploadFile was called will be uploaded first @@ -12065,9 +12227,9 @@ public final class TdApi { return try await self.execute(query: query) } - /// Returns list of chat administrators with number of their invite links. Requires owner privileges in the chat + /// Returns the list of chat administrators with number of their invite links. Requires owner privileges in the chat /// - Parameter chatId: Chat identifier - /// - Returns: List of chat administrators with number of their invite links + /// - Returns: The list of chat administrators with number of their invite links public func getChatInviteLinkCounts( chatId: Int64?, completion: @escaping (Result) -> Void @@ -12078,9 +12240,9 @@ public final class TdApi { self.execute(query: query, completion: completion) } - /// Returns list of chat administrators with number of their invite links. Requires owner privileges in the chat + /// Returns the list of chat administrators with number of their invite links. Requires owner privileges in the chat /// - Parameter chatId: Chat identifier - /// - Returns: List of chat administrators with number of their invite links + /// - Returns: The list of chat administrators with number of their invite links @available(iOS 13.0, macOS 10.15, watchOS 6.0, tvOS 13.0, *) public func getChatInviteLinkCounts(chatId: Int64?) async throws -> ChatInviteLinkCounts { let query = GetChatInviteLinkCounts( @@ -12707,9 +12869,9 @@ public final class TdApi { return try await self.execute(query: query) } - /// Returns list of participant identifiers, on whose behalf a video chat in the chat can be joined + /// Returns the list of participant identifiers, on whose behalf a video chat in the chat can be joined /// - Parameter chatId: Chat identifier - /// - Returns: List of participant identifiers, on whose behalf a video chat in the chat can be joined + /// - Returns: The list of participant identifiers, on whose behalf a video chat in the chat can be joined public func getVideoChatAvailableParticipants( chatId: Int64?, completion: @escaping (Result) -> Void @@ -12720,9 +12882,9 @@ public final class TdApi { self.execute(query: query, completion: completion) } - /// Returns list of participant identifiers, on whose behalf a video chat in the chat can be joined + /// Returns the list of participant identifiers, on whose behalf a video chat in the chat can be joined /// - Parameter chatId: Chat identifier - /// - Returns: List of participant identifiers, on whose behalf a video chat in the chat can be joined + /// - Returns: The list of participant identifiers, on whose behalf a video chat in the chat can be joined @available(iOS 13.0, macOS 10.15, watchOS 6.0, tvOS 13.0, *) public func getVideoChatAvailableParticipants(chatId: Int64?) async throws -> MessageSenders { let query = GetVideoChatAvailableParticipants( @@ -13771,7 +13933,7 @@ public final class TdApi { /// Adds a user to the contact list or edits an existing contact by their user identifier /// - Parameter contact: The contact to add or edit; phone number may be empty and needs to be specified only if known, vCard is ignored - /// - Parameter sharePhoneNumber: Pass true to share the current user's phone number with the new contact. A corresponding rule to userPrivacySettingShowPhoneNumber will be added if needed.//-Use the field userFullInfo.need_phone_number_privacy_exception to check whether the current user needs to be asked to share their phone number + /// - Parameter sharePhoneNumber: Pass true to share the current user's phone number with the new contact. A corresponding rule to userPrivacySettingShowPhoneNumber will be added if needed. Use the field userFullInfo.need_phone_number_privacy_exception to check whether the current user needs to be asked to share their phone number public func addContact( contact: Contact?, sharePhoneNumber: Bool?, @@ -13786,7 +13948,7 @@ public final class TdApi { /// Adds a user to the contact list or edits an existing contact by their user identifier /// - Parameter contact: The contact to add or edit; phone number may be empty and needs to be specified only if known, vCard is ignored - /// - Parameter sharePhoneNumber: Pass true to share the current user's phone number with the new contact. A corresponding rule to userPrivacySettingShowPhoneNumber will be added if needed.//-Use the field userFullInfo.need_phone_number_privacy_exception to check whether the current user needs to be asked to share their phone number + /// - Parameter sharePhoneNumber: Pass true to share the current user's phone number with the new contact. A corresponding rule to userPrivacySettingShowPhoneNumber will be added if needed. Use the field userFullInfo.need_phone_number_privacy_exception to check whether the current user needs to be asked to share their phone number @available(iOS 13.0, macOS 10.15, watchOS 6.0, tvOS 13.0, *) @discardableResult public func addContact( @@ -14943,9 +15105,9 @@ public final class TdApi { return try await self.execute(query: query) } - /// Returns list of custom emoji stickers by their identifiers. Stickers are returned in arbitrary order. Only found stickers are returned + /// Returns the list of custom emoji stickers by their identifiers. Stickers are returned in arbitrary order. Only found stickers are returned /// - Parameter customEmojiIds: Identifiers of custom emoji stickers. At most 200 custom emoji stickers can be received simultaneously - /// - Returns: List of custom emoji stickers by their identifiers. Stickers are returned in arbitrary order. Only found stickers are returned + /// - Returns: The list of custom emoji stickers by their identifiers. Stickers are returned in arbitrary order. Only found stickers are returned public func getCustomEmojiStickers( customEmojiIds: [TdInt64]?, completion: @escaping (Result) -> Void @@ -14956,9 +15118,9 @@ public final class TdApi { self.execute(query: query, completion: completion) } - /// Returns list of custom emoji stickers by their identifiers. Stickers are returned in arbitrary order. Only found stickers are returned + /// Returns the list of custom emoji stickers by their identifiers. Stickers are returned in arbitrary order. Only found stickers are returned /// - Parameter customEmojiIds: Identifiers of custom emoji stickers. At most 200 custom emoji stickers can be received simultaneously - /// - Returns: List of custom emoji stickers by their identifiers. Stickers are returned in arbitrary order. Only found stickers are returned + /// - Returns: The list of custom emoji stickers by their identifiers. Stickers are returned in arbitrary order. Only found stickers are returned @available(iOS 13.0, macOS 10.15, watchOS 6.0, tvOS 13.0, *) public func getCustomEmojiStickers(customEmojiIds: [TdInt64]?) async throws -> Stickers { let query = GetCustomEmojiStickers( @@ -15546,6 +15708,29 @@ public final class TdApi { return try await self.execute(query: query) } + /// Toggles whether the current user has sponsored messages enabled. The setting has no effect for users without Telegram Premium for which sponsored messages are always enabled + /// - Parameter hasSponsoredMessagesEnabled: Pass true to enable sponsored messages for the current user; false to disable them + public func toggleHasSponsoredMessagesEnabled( + hasSponsoredMessagesEnabled: Bool?, + completion: @escaping (Result) -> Void + ) throws { + let query = ToggleHasSponsoredMessagesEnabled( + hasSponsoredMessagesEnabled: hasSponsoredMessagesEnabled + ) + self.execute(query: query, completion: completion) + } + + /// Toggles whether the current user has sponsored messages enabled. The setting has no effect for users without Telegram Premium for which sponsored messages are always enabled + /// - Parameter hasSponsoredMessagesEnabled: Pass true to enable sponsored messages for the current user; false to disable them + @available(iOS 13.0, macOS 10.15, watchOS 6.0, tvOS 13.0, *) + @discardableResult + public func toggleHasSponsoredMessagesEnabled(hasSponsoredMessagesEnabled: Bool?) async throws -> Ok { + let query = ToggleHasSponsoredMessagesEnabled( + hasSponsoredMessagesEnabled: hasSponsoredMessagesEnabled + ) + return try await self.execute(query: query) + } + /// Changes the business location of the current user. Requires Telegram Business subscription /// - Parameter location: The new location of the business; pass null to remove the location public func setBusinessLocation( @@ -15722,6 +15907,29 @@ public final class TdApi { return try await self.execute(query: query) } + /// Reports that authentication code wasn't delivered via SMS to the specified phone number; for official mobile apps only + /// - Parameter mobileNetworkCode: Current mobile network code + public func reportPhoneNumberCodeMissing( + mobileNetworkCode: String?, + completion: @escaping (Result) -> Void + ) throws { + let query = ReportPhoneNumberCodeMissing( + mobileNetworkCode: mobileNetworkCode + ) + self.execute(query: query, completion: completion) + } + + /// Reports that authentication code wasn't delivered via SMS to the specified phone number; for official mobile apps only + /// - Parameter mobileNetworkCode: Current mobile network code + @available(iOS 13.0, macOS 10.15, watchOS 6.0, tvOS 13.0, *) + @discardableResult + public func reportPhoneNumberCodeMissing(mobileNetworkCode: String?) async throws -> Ok { + let query = ReportPhoneNumberCodeMissing( + mobileNetworkCode: mobileNetworkCode + ) + return try await self.execute(query: query) + } + /// Resends the authentication code sent to a phone number. Works only if the previously received authenticationCodeInfo next_code_type was not null and the server-specified timeout has passed public func resendPhoneNumberCode(completion: @escaping (Result) -> Void) throws { let query = ResendPhoneNumberCode() @@ -16096,10 +16304,10 @@ public final class TdApi { return try await self.execute(query: query) } - /// Returns list of commands supported by the bot for the given user scope and language; for bots only + /// Returns the list of commands supported by the bot for the given user scope and language; for bots only /// - Parameter languageCode: A two-letter ISO 639-1 language code or an empty string /// - Parameter scope: The scope to which the commands are relevant; pass null to get commands in the default bot command scope - /// - Returns: List of commands supported by the bot for the given user scope and language + /// - Returns: The list of commands supported by the bot for the given user scope and language public func getCommands( languageCode: String?, scope: BotCommandScope?, @@ -16112,10 +16320,10 @@ public final class TdApi { self.execute(query: query, completion: completion) } - /// Returns list of commands supported by the bot for the given user scope and language; for bots only + /// Returns the list of commands supported by the bot for the given user scope and language; for bots only /// - Parameter languageCode: A two-letter ISO 639-1 language code or an empty string /// - Parameter scope: The scope to which the commands are relevant; pass null to get commands in the default bot command scope - /// - Returns: List of commands supported by the bot for the given user scope and language + /// - Returns: The list of commands supported by the bot for the given user scope and language @available(iOS 13.0, macOS 10.15, watchOS 6.0, tvOS 13.0, *) public func getCommands( languageCode: String?, @@ -18523,7 +18731,7 @@ public final class TdApi { } /// Deletes the account of the current user, deleting all information associated with the user from the server. The phone number of the account can be used to create a new account. Can be called before authorization when the current authorization state is authorizationStateWaitPassword - /// - Parameter password: The 2-step verification password of the current user. If not specified, account deletion can be canceled within one week + /// - Parameter password: The 2-step verification password of the current user. If the current user isn't authorized, then an empty string can be passed and account deletion can be canceled within one week /// - Parameter reason: The reason why the account was deleted; optional public func deleteAccount( password: String?, @@ -18538,7 +18746,7 @@ public final class TdApi { } /// Deletes the account of the current user, deleting all information associated with the user from the server. The phone number of the account can be used to create a new account. Can be called before authorization when the current authorization state is authorizationStateWaitPassword - /// - Parameter password: The 2-step verification password of the current user. If not specified, account deletion can be canceled within one week + /// - Parameter password: The 2-step verification password of the current user. If the current user isn't authorized, then an empty string can be passed and account deletion can be canceled within one week /// - Parameter reason: The reason why the account was deleted; optional @available(iOS 13.0, macOS 10.15, watchOS 6.0, tvOS 13.0, *) @discardableResult @@ -18801,11 +19009,11 @@ public final class TdApi { return try await self.execute(query: query) } - /// Returns list of revenue transactions for a chat. Currently, this method can be used only for channels if supergroupFullInfo.can_get_revenue_statistics == true + /// Returns the list of revenue transactions for a chat. Currently, this method can be used only for channels if supergroupFullInfo.can_get_revenue_statistics == true /// - Parameter chatId: Chat identifier /// - Parameter limit: The maximum number of transactions to be returned; up to 200 /// - Parameter offset: Number of transactions to skip - /// - Returns: List of revenue transactions for a chat + /// - Returns: The list of revenue transactions for a chat public func getChatRevenueTransactions( chatId: Int64?, limit: Int?, @@ -18820,11 +19028,11 @@ public final class TdApi { self.execute(query: query, completion: completion) } - /// Returns list of revenue transactions for a chat. Currently, this method can be used only for channels if supergroupFullInfo.can_get_revenue_statistics == true + /// Returns the list of revenue transactions for a chat. Currently, this method can be used only for channels if supergroupFullInfo.can_get_revenue_statistics == true /// - Parameter chatId: Chat identifier /// - Parameter limit: The maximum number of transactions to be returned; up to 200 /// - Parameter offset: Number of transactions to skip - /// - Returns: List of revenue transactions for a chat + /// - Returns: The list of revenue transactions for a chat @available(iOS 13.0, macOS 10.15, watchOS 6.0, tvOS 13.0, *) public func getChatRevenueTransactions( chatId: Int64?, @@ -19732,7 +19940,7 @@ public final class TdApi { } /// Uploads a file with a sticker; returns the uploaded file - /// - Parameter sticker: File file to upload; must fit in a 512x512 square. For WEBP stickers the file must be in WEBP or PNG format, which will be converted to WEBP server-side.//-See https://core.telegram.org/animated_stickers#technical-requirements for technical requirements + /// - Parameter sticker: File file to upload; must fit in a 512x512 square. For WEBP stickers the file must be in WEBP or PNG format, which will be converted to WEBP server-side. See https://core.telegram.org/animated_stickers#technical-requirements for technical requirements /// - Parameter stickerFormat: Sticker format /// - Parameter userId: Sticker file owner; ignored for regular users /// - Returns: The uploaded file @@ -19751,7 +19959,7 @@ public final class TdApi { } /// Uploads a file with a sticker; returns the uploaded file - /// - Parameter sticker: File file to upload; must fit in a 512x512 square. For WEBP stickers the file must be in WEBP or PNG format, which will be converted to WEBP server-side.//-See https://core.telegram.org/animated_stickers#technical-requirements for technical requirements + /// - Parameter sticker: File file to upload; must fit in a 512x512 square. For WEBP stickers the file must be in WEBP or PNG format, which will be converted to WEBP server-side. See https://core.telegram.org/animated_stickers#technical-requirements for technical requirements /// - Parameter stickerFormat: Sticker format /// - Parameter userId: Sticker file owner; ignored for regular users /// - Returns: The uploaded file @@ -19816,7 +20024,7 @@ public final class TdApi { } /// Creates a new sticker set. Returns the newly created sticker set - /// - Parameter name: Sticker set name. Can contain only English letters, digits and underscores. Must end with *"_by_"* (** is case insensitive) for bots; 0-64 characters.//-If empty, then the name returned by getSuggestedStickerSetName will be used automatically + /// - Parameter name: Sticker set name. Can contain only English letters, digits and underscores. Must end with *"_by_"* (** is case insensitive) for bots; 0-64 characters. If empty, then the name returned by getSuggestedStickerSetName will be used automatically /// - Parameter needsRepainting: Pass true if stickers in the sticker set must be repainted; for custom emoji sticker sets only /// - Parameter source: Source of the sticker set; may be empty if unknown /// - Parameter stickerType: Type of the stickers in the set @@ -19847,7 +20055,7 @@ public final class TdApi { } /// Creates a new sticker set. Returns the newly created sticker set - /// - Parameter name: Sticker set name. Can contain only English letters, digits and underscores. Must end with *"_by_"* (** is case insensitive) for bots; 0-64 characters.//-If empty, then the name returned by getSuggestedStickerSetName will be used automatically + /// - Parameter name: Sticker set name. Can contain only English letters, digits and underscores. Must end with *"_by_"* (** is case insensitive) for bots; 0-64 characters. If empty, then the name returned by getSuggestedStickerSetName will be used automatically /// - Parameter needsRepainting: Pass true if stickers in the sticker set must be repainted; for custom emoji sticker sets only /// - Parameter source: Source of the sticker set; may be empty if unknown /// - Parameter stickerType: Type of the stickers in the set @@ -21192,15 +21400,15 @@ public final class TdApi { return try await self.execute(query: query) } - /// Returns list of proxies that are currently set up. Can be called before authorization - /// - Returns: List of proxies that are currently set up + /// Returns the list of proxies that are currently set up. Can be called before authorization + /// - Returns: The list of proxies that are currently set up public func getProxies(completion: @escaping (Result) -> Void) throws { let query = GetProxies() self.execute(query: query, completion: completion) } - /// Returns list of proxies that are currently set up. Can be called before authorization - /// - Returns: List of proxies that are currently set up + /// Returns the list of proxies that are currently set up. Can be called before authorization + /// - Returns: The list of proxies that are currently set up @available(iOS 13.0, macOS 10.15, watchOS 6.0, tvOS 13.0, *) public func getProxies() async throws -> Proxies { let query = GetProxies() @@ -21292,7 +21500,7 @@ public final class TdApi { } /// Sets the verbosity level of the internal logging of TDLib. Can be called synchronously - /// - Parameter newVerbosityLevel: New value of the verbosity level for logging. Value 0 corresponds to fatal errors, value 1 corresponds to errors, value 2 corresponds to warnings and debug warnings,//-value 3 corresponds to informational, value 4 corresponds to debug, value 5 corresponds to verbose debug, value greater than 5 and up to 1023 can be used to enable even more logging + /// - Parameter newVerbosityLevel: New value of the verbosity level for logging. Value 0 corresponds to fatal errors, value 1 corresponds to errors, value 2 corresponds to warnings and debug warnings, value 3 corresponds to informational, value 4 corresponds to debug, value 5 corresponds to verbose debug, value greater than 5 and up to 1023 can be used to enable even more logging public func setLogVerbosityLevel( newVerbosityLevel: Int?, completion: @escaping (Result) -> Void @@ -21304,7 +21512,7 @@ public final class TdApi { } /// Sets the verbosity level of the internal logging of TDLib. Can be called synchronously - /// - Parameter newVerbosityLevel: New value of the verbosity level for logging. Value 0 corresponds to fatal errors, value 1 corresponds to errors, value 2 corresponds to warnings and debug warnings,//-value 3 corresponds to informational, value 4 corresponds to debug, value 5 corresponds to verbose debug, value greater than 5 and up to 1023 can be used to enable even more logging + /// - Parameter newVerbosityLevel: New value of the verbosity level for logging. Value 0 corresponds to fatal errors, value 1 corresponds to errors, value 2 corresponds to warnings and debug warnings, value 3 corresponds to informational, value 4 corresponds to debug, value 5 corresponds to verbose debug, value greater than 5 and up to 1023 can be used to enable even more logging @available(iOS 13.0, macOS 10.15, watchOS 6.0, tvOS 13.0, *) @discardableResult public func setLogVerbosityLevel(newVerbosityLevel: Int?) async throws -> Ok { @@ -21329,15 +21537,15 @@ public final class TdApi { return try await self.execute(query: query) } - /// Returns list of available TDLib internal log tags, for example, ["actor", "binlog", "connections", "notifications", "proxy"]. Can be called synchronously - /// - Returns: List of available TDLib internal log tags, for example, ["actor", "binlog", "connections", "notifications", "proxy"] + /// Returns the list of available TDLib internal log tags, for example, ["actor", "binlog", "connections", "notifications", "proxy"]. Can be called synchronously + /// - Returns: The list of available TDLib internal log tags, for example, ["actor", "binlog", "connections", "notifications", "proxy"] public func getLogTags(completion: @escaping (Result) -> Void) throws { let query = GetLogTags() self.execute(query: query, completion: completion) } - /// Returns list of available TDLib internal log tags, for example, ["actor", "binlog", "connections", "notifications", "proxy"]. Can be called synchronously - /// - Returns: List of available TDLib internal log tags, for example, ["actor", "binlog", "connections", "notifications", "proxy"] + /// Returns the list of available TDLib internal log tags, for example, ["actor", "binlog", "connections", "notifications", "proxy"]. Can be called synchronously + /// - Returns: The list of available TDLib internal log tags, for example, ["actor", "binlog", "connections", "notifications", "proxy"] @available(iOS 13.0, macOS 10.15, watchOS 6.0, tvOS 13.0, *) public func getLogTags() async throws -> LogTags { let query = GetLogTags() diff --git a/Sources/TDLibKit/Generated/API/TdClient.swift b/Sources/TDLibKit/Generated/API/TdClient.swift index 4efa197dc8..cda2d140ef 100644 --- a/Sources/TDLibKit/Generated/API/TdClient.swift +++ b/Sources/TDLibKit/Generated/API/TdClient.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/AccentColor.swift b/Sources/TDLibKit/Generated/Models/AccentColor.swift index 1187c895fb..1c2cbcdb7a 100644 --- a/Sources/TDLibKit/Generated/Models/AccentColor.swift +++ b/Sources/TDLibKit/Generated/Models/AccentColor.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/AcceptCall.swift b/Sources/TDLibKit/Generated/Models/AcceptCall.swift index c39710752f..a3e89f479a 100644 --- a/Sources/TDLibKit/Generated/Models/AcceptCall.swift +++ b/Sources/TDLibKit/Generated/Models/AcceptCall.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/AcceptTermsOfService.swift b/Sources/TDLibKit/Generated/Models/AcceptTermsOfService.swift index 8ec3660070..a87413c3eb 100644 --- a/Sources/TDLibKit/Generated/Models/AcceptTermsOfService.swift +++ b/Sources/TDLibKit/Generated/Models/AcceptTermsOfService.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/AccountTtl.swift b/Sources/TDLibKit/Generated/Models/AccountTtl.swift index 46233fd4a7..a154286ca8 100644 --- a/Sources/TDLibKit/Generated/Models/AccountTtl.swift +++ b/Sources/TDLibKit/Generated/Models/AccountTtl.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/ActivateStoryStealthMode.swift b/Sources/TDLibKit/Generated/Models/ActivateStoryStealthMode.swift index 1b40a6e963..8d2c35e5d3 100644 --- a/Sources/TDLibKit/Generated/Models/ActivateStoryStealthMode.swift +++ b/Sources/TDLibKit/Generated/Models/ActivateStoryStealthMode.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/AddChatFolderByInviteLink.swift b/Sources/TDLibKit/Generated/Models/AddChatFolderByInviteLink.swift index 5fb44db145..accd21a2be 100644 --- a/Sources/TDLibKit/Generated/Models/AddChatFolderByInviteLink.swift +++ b/Sources/TDLibKit/Generated/Models/AddChatFolderByInviteLink.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/AddChatMember.swift b/Sources/TDLibKit/Generated/Models/AddChatMember.swift index 90f72dd758..4d750c9e05 100644 --- a/Sources/TDLibKit/Generated/Models/AddChatMember.swift +++ b/Sources/TDLibKit/Generated/Models/AddChatMember.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/AddChatMembers.swift b/Sources/TDLibKit/Generated/Models/AddChatMembers.swift index 3783ce301d..e9d9049091 100644 --- a/Sources/TDLibKit/Generated/Models/AddChatMembers.swift +++ b/Sources/TDLibKit/Generated/Models/AddChatMembers.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/AddChatToList.swift b/Sources/TDLibKit/Generated/Models/AddChatToList.swift index a62d1f0e28..f2bd9ecfc8 100644 --- a/Sources/TDLibKit/Generated/Models/AddChatToList.swift +++ b/Sources/TDLibKit/Generated/Models/AddChatToList.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/AddContact.swift b/Sources/TDLibKit/Generated/Models/AddContact.swift index 2a25056cd9..244e9845e3 100644 --- a/Sources/TDLibKit/Generated/Models/AddContact.swift +++ b/Sources/TDLibKit/Generated/Models/AddContact.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation @@ -16,7 +16,7 @@ public struct AddContact: Codable, Equatable, Hashable { /// The contact to add or edit; phone number may be empty and needs to be specified only if known, vCard is ignored public let contact: Contact? - /// Pass true to share the current user's phone number with the new contact. A corresponding rule to userPrivacySettingShowPhoneNumber will be added if needed.//-Use the field userFullInfo.need_phone_number_privacy_exception to check whether the current user needs to be asked to share their phone number + /// Pass true to share the current user's phone number with the new contact. A corresponding rule to userPrivacySettingShowPhoneNumber will be added if needed. Use the field userFullInfo.need_phone_number_privacy_exception to check whether the current user needs to be asked to share their phone number public let sharePhoneNumber: Bool? diff --git a/Sources/TDLibKit/Generated/Models/AddCustomServerLanguagePack.swift b/Sources/TDLibKit/Generated/Models/AddCustomServerLanguagePack.swift index 5d42f58e30..be703449fc 100644 --- a/Sources/TDLibKit/Generated/Models/AddCustomServerLanguagePack.swift +++ b/Sources/TDLibKit/Generated/Models/AddCustomServerLanguagePack.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/AddFavoriteSticker.swift b/Sources/TDLibKit/Generated/Models/AddFavoriteSticker.swift index 8bc981fb4e..3e36f360da 100644 --- a/Sources/TDLibKit/Generated/Models/AddFavoriteSticker.swift +++ b/Sources/TDLibKit/Generated/Models/AddFavoriteSticker.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/AddFileToDownloads.swift b/Sources/TDLibKit/Generated/Models/AddFileToDownloads.swift index 6a89120e49..88b364ee61 100644 --- a/Sources/TDLibKit/Generated/Models/AddFileToDownloads.swift +++ b/Sources/TDLibKit/Generated/Models/AddFileToDownloads.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/AddLocalMessage.swift b/Sources/TDLibKit/Generated/Models/AddLocalMessage.swift index aaf9ab74e5..cf1feb581d 100644 --- a/Sources/TDLibKit/Generated/Models/AddLocalMessage.swift +++ b/Sources/TDLibKit/Generated/Models/AddLocalMessage.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/AddLogMessage.swift b/Sources/TDLibKit/Generated/Models/AddLogMessage.swift index f3b4d3b4f9..6f299adc2e 100644 --- a/Sources/TDLibKit/Generated/Models/AddLogMessage.swift +++ b/Sources/TDLibKit/Generated/Models/AddLogMessage.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/AddMessageReaction.swift b/Sources/TDLibKit/Generated/Models/AddMessageReaction.swift index 7f83c2e181..a261b4bfff 100644 --- a/Sources/TDLibKit/Generated/Models/AddMessageReaction.swift +++ b/Sources/TDLibKit/Generated/Models/AddMessageReaction.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/AddNetworkStatistics.swift b/Sources/TDLibKit/Generated/Models/AddNetworkStatistics.swift index 8a4cf63b6d..eec3e489a5 100644 --- a/Sources/TDLibKit/Generated/Models/AddNetworkStatistics.swift +++ b/Sources/TDLibKit/Generated/Models/AddNetworkStatistics.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/AddProxy.swift b/Sources/TDLibKit/Generated/Models/AddProxy.swift index 6355d5bfa2..849cfedc68 100644 --- a/Sources/TDLibKit/Generated/Models/AddProxy.swift +++ b/Sources/TDLibKit/Generated/Models/AddProxy.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/AddQuickReplyShortcutInlineQueryResultMessage.swift b/Sources/TDLibKit/Generated/Models/AddQuickReplyShortcutInlineQueryResultMessage.swift index 4667ecc8e7..53ef3d4c14 100644 --- a/Sources/TDLibKit/Generated/Models/AddQuickReplyShortcutInlineQueryResultMessage.swift +++ b/Sources/TDLibKit/Generated/Models/AddQuickReplyShortcutInlineQueryResultMessage.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/AddQuickReplyShortcutMessage.swift b/Sources/TDLibKit/Generated/Models/AddQuickReplyShortcutMessage.swift index ae337319cd..66b55d8f5b 100644 --- a/Sources/TDLibKit/Generated/Models/AddQuickReplyShortcutMessage.swift +++ b/Sources/TDLibKit/Generated/Models/AddQuickReplyShortcutMessage.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/AddQuickReplyShortcutMessageAlbum.swift b/Sources/TDLibKit/Generated/Models/AddQuickReplyShortcutMessageAlbum.swift new file mode 100644 index 0000000000..3b3c9e5323 --- /dev/null +++ b/Sources/TDLibKit/Generated/Models/AddQuickReplyShortcutMessageAlbum.swift @@ -0,0 +1,36 @@ +// +// AddQuickReplyShortcutMessageAlbum.swift +// tl2swift +// +// Generated automatically. Any changes will be lost! +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b +// + +import Foundation + + +/// Adds 2-10 messages grouped together into an album to a quick reply shortcut. Currently, only audio, document, photo and video messages can be grouped into an album. Documents and audio files can be only grouped in an album with messages of the same type. Returns sent messages +public struct AddQuickReplyShortcutMessageAlbum: Codable, Equatable, Hashable { + + /// Contents of messages to be sent. At most 10 messages can be added to an album + public let inputMessageContents: [InputMessageContent]? + + /// Identifier of a quick reply message in the same shortcut to be replied; pass 0 if none + public let replyToMessageId: Int64? + + /// Name of the target shortcut + public let shortcutName: String? + + + public init( + inputMessageContents: [InputMessageContent]?, + replyToMessageId: Int64?, + shortcutName: String? + ) { + self.inputMessageContents = inputMessageContents + self.replyToMessageId = replyToMessageId + self.shortcutName = shortcutName + } +} + diff --git a/Sources/TDLibKit/Generated/Models/AddRecentSticker.swift b/Sources/TDLibKit/Generated/Models/AddRecentSticker.swift index 9d2fbfde79..acef4b11c1 100644 --- a/Sources/TDLibKit/Generated/Models/AddRecentSticker.swift +++ b/Sources/TDLibKit/Generated/Models/AddRecentSticker.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/AddRecentlyFoundChat.swift b/Sources/TDLibKit/Generated/Models/AddRecentlyFoundChat.swift index f3afcea39d..7314009328 100644 --- a/Sources/TDLibKit/Generated/Models/AddRecentlyFoundChat.swift +++ b/Sources/TDLibKit/Generated/Models/AddRecentlyFoundChat.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/AddSavedAnimation.swift b/Sources/TDLibKit/Generated/Models/AddSavedAnimation.swift index fc39c26431..1a26d5c410 100644 --- a/Sources/TDLibKit/Generated/Models/AddSavedAnimation.swift +++ b/Sources/TDLibKit/Generated/Models/AddSavedAnimation.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/AddSavedNotificationSound.swift b/Sources/TDLibKit/Generated/Models/AddSavedNotificationSound.swift index 86ac21f109..bb99c86e20 100644 --- a/Sources/TDLibKit/Generated/Models/AddSavedNotificationSound.swift +++ b/Sources/TDLibKit/Generated/Models/AddSavedNotificationSound.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/AddStickerToSet.swift b/Sources/TDLibKit/Generated/Models/AddStickerToSet.swift index 9befe84a19..02f2b6563a 100644 --- a/Sources/TDLibKit/Generated/Models/AddStickerToSet.swift +++ b/Sources/TDLibKit/Generated/Models/AddStickerToSet.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/AddedReaction.swift b/Sources/TDLibKit/Generated/Models/AddedReaction.swift index 470470b3d3..4c64f6abec 100644 --- a/Sources/TDLibKit/Generated/Models/AddedReaction.swift +++ b/Sources/TDLibKit/Generated/Models/AddedReaction.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/AddedReactions.swift b/Sources/TDLibKit/Generated/Models/AddedReactions.swift index ede58c07c5..85914eee84 100644 --- a/Sources/TDLibKit/Generated/Models/AddedReactions.swift +++ b/Sources/TDLibKit/Generated/Models/AddedReactions.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/Address.swift b/Sources/TDLibKit/Generated/Models/Address.swift index 941fb83b49..9ca94966ba 100644 --- a/Sources/TDLibKit/Generated/Models/Address.swift +++ b/Sources/TDLibKit/Generated/Models/Address.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/AllowBotToSendMessages.swift b/Sources/TDLibKit/Generated/Models/AllowBotToSendMessages.swift index f1a4b04fe1..9fea3b79e4 100644 --- a/Sources/TDLibKit/Generated/Models/AllowBotToSendMessages.swift +++ b/Sources/TDLibKit/Generated/Models/AllowBotToSendMessages.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/AnimatedChatPhoto.swift b/Sources/TDLibKit/Generated/Models/AnimatedChatPhoto.swift index 87ef7aa6f9..19f4c337be 100644 --- a/Sources/TDLibKit/Generated/Models/AnimatedChatPhoto.swift +++ b/Sources/TDLibKit/Generated/Models/AnimatedChatPhoto.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/AnimatedEmoji.swift b/Sources/TDLibKit/Generated/Models/AnimatedEmoji.swift index 9cc1809da7..eb38631634 100644 --- a/Sources/TDLibKit/Generated/Models/AnimatedEmoji.swift +++ b/Sources/TDLibKit/Generated/Models/AnimatedEmoji.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/Animation.swift b/Sources/TDLibKit/Generated/Models/Animation.swift index 2ba350e732..994a0a21da 100644 --- a/Sources/TDLibKit/Generated/Models/Animation.swift +++ b/Sources/TDLibKit/Generated/Models/Animation.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/Animations.swift b/Sources/TDLibKit/Generated/Models/Animations.swift index b9995cd8cd..bf24080e55 100644 --- a/Sources/TDLibKit/Generated/Models/Animations.swift +++ b/Sources/TDLibKit/Generated/Models/Animations.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/AnswerCallbackQuery.swift b/Sources/TDLibKit/Generated/Models/AnswerCallbackQuery.swift index e444ea4f14..ae725d7494 100644 --- a/Sources/TDLibKit/Generated/Models/AnswerCallbackQuery.swift +++ b/Sources/TDLibKit/Generated/Models/AnswerCallbackQuery.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/AnswerCustomQuery.swift b/Sources/TDLibKit/Generated/Models/AnswerCustomQuery.swift index e9ec29c6c9..7a9c262e84 100644 --- a/Sources/TDLibKit/Generated/Models/AnswerCustomQuery.swift +++ b/Sources/TDLibKit/Generated/Models/AnswerCustomQuery.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/AnswerInlineQuery.swift b/Sources/TDLibKit/Generated/Models/AnswerInlineQuery.swift index 2b873e6e99..e45e98d69c 100644 --- a/Sources/TDLibKit/Generated/Models/AnswerInlineQuery.swift +++ b/Sources/TDLibKit/Generated/Models/AnswerInlineQuery.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/AnswerPreCheckoutQuery.swift b/Sources/TDLibKit/Generated/Models/AnswerPreCheckoutQuery.swift index 8f6a94c8d5..2459f5fa8d 100644 --- a/Sources/TDLibKit/Generated/Models/AnswerPreCheckoutQuery.swift +++ b/Sources/TDLibKit/Generated/Models/AnswerPreCheckoutQuery.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/AnswerShippingQuery.swift b/Sources/TDLibKit/Generated/Models/AnswerShippingQuery.swift index 7b67fde32f..3680a25f83 100644 --- a/Sources/TDLibKit/Generated/Models/AnswerShippingQuery.swift +++ b/Sources/TDLibKit/Generated/Models/AnswerShippingQuery.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/AnswerWebAppQuery.swift b/Sources/TDLibKit/Generated/Models/AnswerWebAppQuery.swift index 2efbae9da3..40308caff8 100644 --- a/Sources/TDLibKit/Generated/Models/AnswerWebAppQuery.swift +++ b/Sources/TDLibKit/Generated/Models/AnswerWebAppQuery.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/ApplyPremiumGiftCode.swift b/Sources/TDLibKit/Generated/Models/ApplyPremiumGiftCode.swift index e627c0a26e..1e607f37fa 100644 --- a/Sources/TDLibKit/Generated/Models/ApplyPremiumGiftCode.swift +++ b/Sources/TDLibKit/Generated/Models/ApplyPremiumGiftCode.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/ArchiveChatListSettings.swift b/Sources/TDLibKit/Generated/Models/ArchiveChatListSettings.swift index fd9908dbe7..00859e3e7f 100644 --- a/Sources/TDLibKit/Generated/Models/ArchiveChatListSettings.swift +++ b/Sources/TDLibKit/Generated/Models/ArchiveChatListSettings.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/AssignAppStoreTransaction.swift b/Sources/TDLibKit/Generated/Models/AssignAppStoreTransaction.swift index a6cedf53a2..1143c13aef 100644 --- a/Sources/TDLibKit/Generated/Models/AssignAppStoreTransaction.swift +++ b/Sources/TDLibKit/Generated/Models/AssignAppStoreTransaction.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/AssignGooglePlayTransaction.swift b/Sources/TDLibKit/Generated/Models/AssignGooglePlayTransaction.swift index 7d812b41f0..0376fbf52f 100644 --- a/Sources/TDLibKit/Generated/Models/AssignGooglePlayTransaction.swift +++ b/Sources/TDLibKit/Generated/Models/AssignGooglePlayTransaction.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/AttachmentMenuBot.swift b/Sources/TDLibKit/Generated/Models/AttachmentMenuBot.swift index 95722aae51..5841f1d096 100644 --- a/Sources/TDLibKit/Generated/Models/AttachmentMenuBot.swift +++ b/Sources/TDLibKit/Generated/Models/AttachmentMenuBot.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/AttachmentMenuBotColor.swift b/Sources/TDLibKit/Generated/Models/AttachmentMenuBotColor.swift index 2ad370cbf7..07950f238c 100644 --- a/Sources/TDLibKit/Generated/Models/AttachmentMenuBotColor.swift +++ b/Sources/TDLibKit/Generated/Models/AttachmentMenuBotColor.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/Audio.swift b/Sources/TDLibKit/Generated/Models/Audio.swift index c35709e78a..0c3a30ec61 100644 --- a/Sources/TDLibKit/Generated/Models/Audio.swift +++ b/Sources/TDLibKit/Generated/Models/Audio.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/AuthenticationCodeInfo.swift b/Sources/TDLibKit/Generated/Models/AuthenticationCodeInfo.swift index 2a131d4d39..d60f76cfeb 100644 --- a/Sources/TDLibKit/Generated/Models/AuthenticationCodeInfo.swift +++ b/Sources/TDLibKit/Generated/Models/AuthenticationCodeInfo.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/AuthenticationCodeType.swift b/Sources/TDLibKit/Generated/Models/AuthenticationCodeType.swift index 9d414195e9..54f95ca32e 100644 --- a/Sources/TDLibKit/Generated/Models/AuthenticationCodeType.swift +++ b/Sources/TDLibKit/Generated/Models/AuthenticationCodeType.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation @@ -13,13 +13,19 @@ import Foundation /// Provides information about the method by which an authentication code is delivered to the user public indirect enum AuthenticationCodeType: Codable, Equatable, Hashable { - /// An authentication code is delivered via a private Telegram message, which can be viewed from another active session + /// A digit-only authentication code is delivered via a private Telegram message, which can be viewed from another active session case authenticationCodeTypeTelegramMessage(AuthenticationCodeTypeTelegramMessage) - /// An authentication code is delivered via an SMS message to the specified phone number; applications may not receive this type of code + /// A digit-only authentication code is delivered via an SMS message to the specified phone number; non-official applications may not receive this type of code case authenticationCodeTypeSms(AuthenticationCodeTypeSms) - /// An authentication code is delivered via a phone call to the specified phone number + /// An authentication code is a word delivered via an SMS message to the specified phone number; non-official applications may not receive this type of code + case authenticationCodeTypeSmsWord(AuthenticationCodeTypeSmsWord) + + /// An authentication code is a phrase from multiple words delivered via an SMS message to the specified phone number; non-official applications may not receive this type of code + case authenticationCodeTypeSmsPhrase(AuthenticationCodeTypeSmsPhrase) + + /// A digit-only authentication code is delivered via a phone call to the specified phone number case authenticationCodeTypeCall(AuthenticationCodeTypeCall) /// An authentication code is delivered by an immediately canceled call to the specified phone number. The phone number that calls is the code that must be entered automatically @@ -28,19 +34,21 @@ public indirect enum AuthenticationCodeType: Codable, Equatable, Hashable { /// An authentication code is delivered by an immediately canceled call to the specified phone number. The last digits of the phone number that calls are the code that must be entered manually by the user case authenticationCodeTypeMissedCall(AuthenticationCodeTypeMissedCall) - /// An authentication code is delivered to https://fragment.com. The user must be logged in there via a wallet owning the phone number's NFT + /// A digit-only authentication code is delivered to https://fragment.com. The user must be logged in there via a wallet owning the phone number's NFT case authenticationCodeTypeFragment(AuthenticationCodeTypeFragment) - /// An authentication code is delivered via Firebase Authentication to the official Android application + /// A digit-only authentication code is delivered via Firebase Authentication to the official Android application case authenticationCodeTypeFirebaseAndroid(AuthenticationCodeTypeFirebaseAndroid) - /// An authentication code is delivered via Firebase Authentication to the official iOS application + /// A digit-only authentication code is delivered via Firebase Authentication to the official iOS application case authenticationCodeTypeFirebaseIos(AuthenticationCodeTypeFirebaseIos) private enum Kind: String, Codable { case authenticationCodeTypeTelegramMessage case authenticationCodeTypeSms + case authenticationCodeTypeSmsWord + case authenticationCodeTypeSmsPhrase case authenticationCodeTypeCall case authenticationCodeTypeFlashCall case authenticationCodeTypeMissedCall @@ -59,6 +67,12 @@ public indirect enum AuthenticationCodeType: Codable, Equatable, Hashable { case .authenticationCodeTypeSms: let value = try AuthenticationCodeTypeSms(from: decoder) self = .authenticationCodeTypeSms(value) + case .authenticationCodeTypeSmsWord: + let value = try AuthenticationCodeTypeSmsWord(from: decoder) + self = .authenticationCodeTypeSmsWord(value) + case .authenticationCodeTypeSmsPhrase: + let value = try AuthenticationCodeTypeSmsPhrase(from: decoder) + self = .authenticationCodeTypeSmsPhrase(value) case .authenticationCodeTypeCall: let value = try AuthenticationCodeTypeCall(from: decoder) self = .authenticationCodeTypeCall(value) @@ -89,6 +103,12 @@ public indirect enum AuthenticationCodeType: Codable, Equatable, Hashable { case .authenticationCodeTypeSms(let value): try container.encode(Kind.authenticationCodeTypeSms, forKey: .type) try value.encode(to: encoder) + case .authenticationCodeTypeSmsWord(let value): + try container.encode(Kind.authenticationCodeTypeSmsWord, forKey: .type) + try value.encode(to: encoder) + case .authenticationCodeTypeSmsPhrase(let value): + try container.encode(Kind.authenticationCodeTypeSmsPhrase, forKey: .type) + try value.encode(to: encoder) case .authenticationCodeTypeCall(let value): try container.encode(Kind.authenticationCodeTypeCall, forKey: .type) try value.encode(to: encoder) @@ -111,7 +131,7 @@ public indirect enum AuthenticationCodeType: Codable, Equatable, Hashable { } } -/// An authentication code is delivered via a private Telegram message, which can be viewed from another active session +/// A digit-only authentication code is delivered via a private Telegram message, which can be viewed from another active session public struct AuthenticationCodeTypeTelegramMessage: Codable, Equatable, Hashable { /// Length of the code @@ -123,7 +143,7 @@ public struct AuthenticationCodeTypeTelegramMessage: Codable, Equatable, Hashabl } } -/// An authentication code is delivered via an SMS message to the specified phone number; applications may not receive this type of code +/// A digit-only authentication code is delivered via an SMS message to the specified phone number; non-official applications may not receive this type of code public struct AuthenticationCodeTypeSms: Codable, Equatable, Hashable { /// Length of the code @@ -135,7 +155,31 @@ public struct AuthenticationCodeTypeSms: Codable, Equatable, Hashable { } } -/// An authentication code is delivered via a phone call to the specified phone number +/// An authentication code is a word delivered via an SMS message to the specified phone number; non-official applications may not receive this type of code +public struct AuthenticationCodeTypeSmsWord: Codable, Equatable, Hashable { + + /// The first letters of the word if known + public let firstLetter: String + + + public init(firstLetter: String) { + self.firstLetter = firstLetter + } +} + +/// An authentication code is a phrase from multiple words delivered via an SMS message to the specified phone number; non-official applications may not receive this type of code +public struct AuthenticationCodeTypeSmsPhrase: Codable, Equatable, Hashable { + + /// The first word of the phrase if known + public let firstWord: String + + + public init(firstWord: String) { + self.firstWord = firstWord + } +} + +/// A digit-only authentication code is delivered via a phone call to the specified phone number public struct AuthenticationCodeTypeCall: Codable, Equatable, Hashable { /// Length of the code @@ -178,7 +222,7 @@ public struct AuthenticationCodeTypeMissedCall: Codable, Equatable, Hashable { } } -/// An authentication code is delivered to https://fragment.com. The user must be logged in there via a wallet owning the phone number's NFT +/// A digit-only authentication code is delivered to https://fragment.com. The user must be logged in there via a wallet owning the phone number's NFT public struct AuthenticationCodeTypeFragment: Codable, Equatable, Hashable { /// Length of the code @@ -197,7 +241,7 @@ public struct AuthenticationCodeTypeFragment: Codable, Equatable, Hashable { } } -/// An authentication code is delivered via Firebase Authentication to the official Android application +/// A digit-only authentication code is delivered via Firebase Authentication to the official Android application public struct AuthenticationCodeTypeFirebaseAndroid: Codable, Equatable, Hashable { /// Length of the code @@ -216,7 +260,7 @@ public struct AuthenticationCodeTypeFirebaseAndroid: Codable, Equatable, Hashabl } } -/// An authentication code is delivered via Firebase Authentication to the official iOS application +/// A digit-only authentication code is delivered via Firebase Authentication to the official iOS application public struct AuthenticationCodeTypeFirebaseIos: Codable, Equatable, Hashable { /// Length of the code diff --git a/Sources/TDLibKit/Generated/Models/AuthorizationState.swift b/Sources/TDLibKit/Generated/Models/AuthorizationState.swift index 2418e38d9c..3be6a8cc95 100644 --- a/Sources/TDLibKit/Generated/Models/AuthorizationState.swift +++ b/Sources/TDLibKit/Generated/Models/AuthorizationState.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/AutoDownloadSettings.swift b/Sources/TDLibKit/Generated/Models/AutoDownloadSettings.swift index 3ff3703269..b78a9d7e78 100644 --- a/Sources/TDLibKit/Generated/Models/AutoDownloadSettings.swift +++ b/Sources/TDLibKit/Generated/Models/AutoDownloadSettings.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/AutoDownloadSettingsPresets.swift b/Sources/TDLibKit/Generated/Models/AutoDownloadSettingsPresets.swift index 4833dafc8c..d91666011e 100644 --- a/Sources/TDLibKit/Generated/Models/AutoDownloadSettingsPresets.swift +++ b/Sources/TDLibKit/Generated/Models/AutoDownloadSettingsPresets.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/AutosaveSettings.swift b/Sources/TDLibKit/Generated/Models/AutosaveSettings.swift index e07ec8b765..7884711124 100644 --- a/Sources/TDLibKit/Generated/Models/AutosaveSettings.swift +++ b/Sources/TDLibKit/Generated/Models/AutosaveSettings.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/AutosaveSettingsException.swift b/Sources/TDLibKit/Generated/Models/AutosaveSettingsException.swift index dd9bf590eb..9e2f31e228 100644 --- a/Sources/TDLibKit/Generated/Models/AutosaveSettingsException.swift +++ b/Sources/TDLibKit/Generated/Models/AutosaveSettingsException.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/AutosaveSettingsScope.swift b/Sources/TDLibKit/Generated/Models/AutosaveSettingsScope.swift index f45ac761ba..27bf0620d5 100644 --- a/Sources/TDLibKit/Generated/Models/AutosaveSettingsScope.swift +++ b/Sources/TDLibKit/Generated/Models/AutosaveSettingsScope.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/AvailableReaction.swift b/Sources/TDLibKit/Generated/Models/AvailableReaction.swift index 9963e803a5..c9cde656f0 100644 --- a/Sources/TDLibKit/Generated/Models/AvailableReaction.swift +++ b/Sources/TDLibKit/Generated/Models/AvailableReaction.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/AvailableReactions.swift b/Sources/TDLibKit/Generated/Models/AvailableReactions.swift index dbe9d5bf45..3a711127e8 100644 --- a/Sources/TDLibKit/Generated/Models/AvailableReactions.swift +++ b/Sources/TDLibKit/Generated/Models/AvailableReactions.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/Background.swift b/Sources/TDLibKit/Generated/Models/Background.swift index c85c26b5cc..0ece5f00d3 100644 --- a/Sources/TDLibKit/Generated/Models/Background.swift +++ b/Sources/TDLibKit/Generated/Models/Background.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/BackgroundFill.swift b/Sources/TDLibKit/Generated/Models/BackgroundFill.swift index f3482a9331..b024e24f0c 100644 --- a/Sources/TDLibKit/Generated/Models/BackgroundFill.swift +++ b/Sources/TDLibKit/Generated/Models/BackgroundFill.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation @@ -100,7 +100,7 @@ public struct BackgroundFillGradient: Codable, Equatable, Hashable { /// Describes a freeform gradient fill of a background public struct BackgroundFillFreeformGradient: Codable, Equatable, Hashable { - /// A list of 3 or 4 colors of the freeform gradients in the RGB24 format + /// A list of 3 or 4 colors of the freeform gradient in the RGB24 format public let colors: [Int] diff --git a/Sources/TDLibKit/Generated/Models/BackgroundType.swift b/Sources/TDLibKit/Generated/Models/BackgroundType.swift index b11d913b53..974762b5bc 100644 --- a/Sources/TDLibKit/Generated/Models/BackgroundType.swift +++ b/Sources/TDLibKit/Generated/Models/BackgroundType.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/Backgrounds.swift b/Sources/TDLibKit/Generated/Models/Backgrounds.swift index c75cc5904f..7433cb9d6a 100644 --- a/Sources/TDLibKit/Generated/Models/Backgrounds.swift +++ b/Sources/TDLibKit/Generated/Models/Backgrounds.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/BanChatMember.swift b/Sources/TDLibKit/Generated/Models/BanChatMember.swift index 45b80aaafe..e306f19adc 100644 --- a/Sources/TDLibKit/Generated/Models/BanChatMember.swift +++ b/Sources/TDLibKit/Generated/Models/BanChatMember.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/BankCardActionOpenUrl.swift b/Sources/TDLibKit/Generated/Models/BankCardActionOpenUrl.swift index f4b4f39bb9..75e70ec443 100644 --- a/Sources/TDLibKit/Generated/Models/BankCardActionOpenUrl.swift +++ b/Sources/TDLibKit/Generated/Models/BankCardActionOpenUrl.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/BankCardInfo.swift b/Sources/TDLibKit/Generated/Models/BankCardInfo.swift index 3bfc9af625..0fa8f46664 100644 --- a/Sources/TDLibKit/Generated/Models/BankCardInfo.swift +++ b/Sources/TDLibKit/Generated/Models/BankCardInfo.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/BasicGroup.swift b/Sources/TDLibKit/Generated/Models/BasicGroup.swift index 8799dc1d42..70037af215 100644 --- a/Sources/TDLibKit/Generated/Models/BasicGroup.swift +++ b/Sources/TDLibKit/Generated/Models/BasicGroup.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/BasicGroupFullInfo.swift b/Sources/TDLibKit/Generated/Models/BasicGroupFullInfo.swift index db75dc2ee9..637dbed75e 100644 --- a/Sources/TDLibKit/Generated/Models/BasicGroupFullInfo.swift +++ b/Sources/TDLibKit/Generated/Models/BasicGroupFullInfo.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/Birthdate.swift b/Sources/TDLibKit/Generated/Models/Birthdate.swift index 51e0636272..4cb53535e9 100644 --- a/Sources/TDLibKit/Generated/Models/Birthdate.swift +++ b/Sources/TDLibKit/Generated/Models/Birthdate.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/BlockList.swift b/Sources/TDLibKit/Generated/Models/BlockList.swift index 29068bae5c..e8fb595c2a 100644 --- a/Sources/TDLibKit/Generated/Models/BlockList.swift +++ b/Sources/TDLibKit/Generated/Models/BlockList.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/BlockMessageSenderFromReplies.swift b/Sources/TDLibKit/Generated/Models/BlockMessageSenderFromReplies.swift index dbe01119f6..f5b6562615 100644 --- a/Sources/TDLibKit/Generated/Models/BlockMessageSenderFromReplies.swift +++ b/Sources/TDLibKit/Generated/Models/BlockMessageSenderFromReplies.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/BoostChat.swift b/Sources/TDLibKit/Generated/Models/BoostChat.swift index 18583671a7..8a950d8c90 100644 --- a/Sources/TDLibKit/Generated/Models/BoostChat.swift +++ b/Sources/TDLibKit/Generated/Models/BoostChat.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/BotCommand.swift b/Sources/TDLibKit/Generated/Models/BotCommand.swift index 31fcd7d494..376cf0e398 100644 --- a/Sources/TDLibKit/Generated/Models/BotCommand.swift +++ b/Sources/TDLibKit/Generated/Models/BotCommand.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/BotCommandScope.swift b/Sources/TDLibKit/Generated/Models/BotCommandScope.swift index f3bc558528..0aa62dbff8 100644 --- a/Sources/TDLibKit/Generated/Models/BotCommandScope.swift +++ b/Sources/TDLibKit/Generated/Models/BotCommandScope.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/BotCommands.swift b/Sources/TDLibKit/Generated/Models/BotCommands.swift index 3aa1cf20b9..1e73756a6f 100644 --- a/Sources/TDLibKit/Generated/Models/BotCommands.swift +++ b/Sources/TDLibKit/Generated/Models/BotCommands.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/BotInfo.swift b/Sources/TDLibKit/Generated/Models/BotInfo.swift index 6c379a90e2..842e88f9b4 100644 --- a/Sources/TDLibKit/Generated/Models/BotInfo.swift +++ b/Sources/TDLibKit/Generated/Models/BotInfo.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/BotMenuButton.swift b/Sources/TDLibKit/Generated/Models/BotMenuButton.swift index ff029ed276..60d82431c3 100644 --- a/Sources/TDLibKit/Generated/Models/BotMenuButton.swift +++ b/Sources/TDLibKit/Generated/Models/BotMenuButton.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/BotWriteAccessAllowReason.swift b/Sources/TDLibKit/Generated/Models/BotWriteAccessAllowReason.swift index b9f668a329..1ce6f2c3da 100644 --- a/Sources/TDLibKit/Generated/Models/BotWriteAccessAllowReason.swift +++ b/Sources/TDLibKit/Generated/Models/BotWriteAccessAllowReason.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/BusinessAwayMessageSchedule.swift b/Sources/TDLibKit/Generated/Models/BusinessAwayMessageSchedule.swift index dcd8289aab..a4287ae3fa 100644 --- a/Sources/TDLibKit/Generated/Models/BusinessAwayMessageSchedule.swift +++ b/Sources/TDLibKit/Generated/Models/BusinessAwayMessageSchedule.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/BusinessAwayMessageSettings.swift b/Sources/TDLibKit/Generated/Models/BusinessAwayMessageSettings.swift index 13874d7b7d..a96151d079 100644 --- a/Sources/TDLibKit/Generated/Models/BusinessAwayMessageSettings.swift +++ b/Sources/TDLibKit/Generated/Models/BusinessAwayMessageSettings.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/BusinessBotManageBar.swift b/Sources/TDLibKit/Generated/Models/BusinessBotManageBar.swift index bf6ecfd0de..2d6685fbce 100644 --- a/Sources/TDLibKit/Generated/Models/BusinessBotManageBar.swift +++ b/Sources/TDLibKit/Generated/Models/BusinessBotManageBar.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/BusinessChatLink.swift b/Sources/TDLibKit/Generated/Models/BusinessChatLink.swift index ab0ddef20a..7019fb5cbb 100644 --- a/Sources/TDLibKit/Generated/Models/BusinessChatLink.swift +++ b/Sources/TDLibKit/Generated/Models/BusinessChatLink.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/BusinessChatLinkInfo.swift b/Sources/TDLibKit/Generated/Models/BusinessChatLinkInfo.swift index cfa7ce5992..cb5e63d59b 100644 --- a/Sources/TDLibKit/Generated/Models/BusinessChatLinkInfo.swift +++ b/Sources/TDLibKit/Generated/Models/BusinessChatLinkInfo.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/BusinessChatLinks.swift b/Sources/TDLibKit/Generated/Models/BusinessChatLinks.swift index ccaf17f19d..538396f874 100644 --- a/Sources/TDLibKit/Generated/Models/BusinessChatLinks.swift +++ b/Sources/TDLibKit/Generated/Models/BusinessChatLinks.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/BusinessConnectedBot.swift b/Sources/TDLibKit/Generated/Models/BusinessConnectedBot.swift index 87add471bc..1d9edaa9fb 100644 --- a/Sources/TDLibKit/Generated/Models/BusinessConnectedBot.swift +++ b/Sources/TDLibKit/Generated/Models/BusinessConnectedBot.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/BusinessConnection.swift b/Sources/TDLibKit/Generated/Models/BusinessConnection.swift index 38c40d7883..41b9264010 100644 --- a/Sources/TDLibKit/Generated/Models/BusinessConnection.swift +++ b/Sources/TDLibKit/Generated/Models/BusinessConnection.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/BusinessFeature.swift b/Sources/TDLibKit/Generated/Models/BusinessFeature.swift index e97377319d..cceca8b0b7 100644 --- a/Sources/TDLibKit/Generated/Models/BusinessFeature.swift +++ b/Sources/TDLibKit/Generated/Models/BusinessFeature.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/BusinessFeaturePromotionAnimation.swift b/Sources/TDLibKit/Generated/Models/BusinessFeaturePromotionAnimation.swift index 41d91b0d6b..bfe07dd928 100644 --- a/Sources/TDLibKit/Generated/Models/BusinessFeaturePromotionAnimation.swift +++ b/Sources/TDLibKit/Generated/Models/BusinessFeaturePromotionAnimation.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/BusinessFeatures.swift b/Sources/TDLibKit/Generated/Models/BusinessFeatures.swift index 92dadfe829..8f4f0cfb68 100644 --- a/Sources/TDLibKit/Generated/Models/BusinessFeatures.swift +++ b/Sources/TDLibKit/Generated/Models/BusinessFeatures.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/BusinessGreetingMessageSettings.swift b/Sources/TDLibKit/Generated/Models/BusinessGreetingMessageSettings.swift index 07c2e53a44..637888ad45 100644 --- a/Sources/TDLibKit/Generated/Models/BusinessGreetingMessageSettings.swift +++ b/Sources/TDLibKit/Generated/Models/BusinessGreetingMessageSettings.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/BusinessInfo.swift b/Sources/TDLibKit/Generated/Models/BusinessInfo.swift index bc05e854c5..6a5a09ce19 100644 --- a/Sources/TDLibKit/Generated/Models/BusinessInfo.swift +++ b/Sources/TDLibKit/Generated/Models/BusinessInfo.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation @@ -19,9 +19,18 @@ public struct BusinessInfo: Codable, Equatable, Hashable { /// The greeting message; may be null if none or the Business account is not of the current user public let greetingMessageSettings: BusinessGreetingMessageSettings? + /// Opening hours of the business in the local time; may be null if none. The hours are guaranteed to be valid and has already been split by week days. Local time zone identifier will be empty. An updateUserFullInfo update is not triggered when value of this field changes + public let localOpeningHours: BusinessOpeningHours? + /// Location of the business; may be null if none public let location: BusinessLocation? + /// Time left before the business will close the next time, in seconds; 0 if unknown. An updateUserFullInfo update is not triggered when value of this field changes + public let nextCloseIn: Int + + /// Time left before the business will open the next time, in seconds; 0 if unknown. An updateUserFullInfo update is not triggered when value of this field changes + public let nextOpenIn: Int + /// Opening hours of the business; may be null if none. The hours are guaranteed to be valid and has already been split by week days public let openingHours: BusinessOpeningHours? @@ -32,13 +41,19 @@ public struct BusinessInfo: Codable, Equatable, Hashable { public init( awayMessageSettings: BusinessAwayMessageSettings?, greetingMessageSettings: BusinessGreetingMessageSettings?, + localOpeningHours: BusinessOpeningHours?, location: BusinessLocation?, + nextCloseIn: Int, + nextOpenIn: Int, openingHours: BusinessOpeningHours?, startPage: BusinessStartPage? ) { self.awayMessageSettings = awayMessageSettings self.greetingMessageSettings = greetingMessageSettings + self.localOpeningHours = localOpeningHours self.location = location + self.nextCloseIn = nextCloseIn + self.nextOpenIn = nextOpenIn self.openingHours = openingHours self.startPage = startPage } diff --git a/Sources/TDLibKit/Generated/Models/BusinessLocation.swift b/Sources/TDLibKit/Generated/Models/BusinessLocation.swift index a499928b3b..de318986fe 100644 --- a/Sources/TDLibKit/Generated/Models/BusinessLocation.swift +++ b/Sources/TDLibKit/Generated/Models/BusinessLocation.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/BusinessMessage.swift b/Sources/TDLibKit/Generated/Models/BusinessMessage.swift index 3faad2c12b..cc7fa6330e 100644 --- a/Sources/TDLibKit/Generated/Models/BusinessMessage.swift +++ b/Sources/TDLibKit/Generated/Models/BusinessMessage.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/BusinessMessages.swift b/Sources/TDLibKit/Generated/Models/BusinessMessages.swift index 20a32ecc1a..43a60a3e9f 100644 --- a/Sources/TDLibKit/Generated/Models/BusinessMessages.swift +++ b/Sources/TDLibKit/Generated/Models/BusinessMessages.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/BusinessOpeningHours.swift b/Sources/TDLibKit/Generated/Models/BusinessOpeningHours.swift index 0c38889fbf..d9984ee8e4 100644 --- a/Sources/TDLibKit/Generated/Models/BusinessOpeningHours.swift +++ b/Sources/TDLibKit/Generated/Models/BusinessOpeningHours.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/BusinessOpeningHoursInterval.swift b/Sources/TDLibKit/Generated/Models/BusinessOpeningHoursInterval.swift index 9cc1e1cd72..056792177a 100644 --- a/Sources/TDLibKit/Generated/Models/BusinessOpeningHoursInterval.swift +++ b/Sources/TDLibKit/Generated/Models/BusinessOpeningHoursInterval.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation @@ -13,10 +13,10 @@ import Foundation /// Describes an interval of time when the business is open public struct BusinessOpeningHoursInterval: Codable, Equatable, Hashable { - /// The first minute after the end of the interval since start of the week; 1-8*24*60 + /// The minute's sequence number in a week, starting on Monday, marking the end of the time interval during which the business is open; 1-8*24*60 public let endMinute: Int - /// The first minute of the interval since start of the week; 0-7*24*60 + /// The minute's sequence number in a week, starting on Monday, marking the start of the time interval during which the business is open; 0-7*24*60 public let startMinute: Int diff --git a/Sources/TDLibKit/Generated/Models/BusinessRecipients.swift b/Sources/TDLibKit/Generated/Models/BusinessRecipients.swift index 746fc5e8fb..4cc071c47e 100644 --- a/Sources/TDLibKit/Generated/Models/BusinessRecipients.swift +++ b/Sources/TDLibKit/Generated/Models/BusinessRecipients.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/BusinessStartPage.swift b/Sources/TDLibKit/Generated/Models/BusinessStartPage.swift index a7c5270c99..01dfd94bde 100644 --- a/Sources/TDLibKit/Generated/Models/BusinessStartPage.swift +++ b/Sources/TDLibKit/Generated/Models/BusinessStartPage.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/Call.swift b/Sources/TDLibKit/Generated/Models/Call.swift index 6f71369b81..b94779389c 100644 --- a/Sources/TDLibKit/Generated/Models/Call.swift +++ b/Sources/TDLibKit/Generated/Models/Call.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/CallDiscardReason.swift b/Sources/TDLibKit/Generated/Models/CallDiscardReason.swift index 778e87775a..8595f63188 100644 --- a/Sources/TDLibKit/Generated/Models/CallDiscardReason.swift +++ b/Sources/TDLibKit/Generated/Models/CallDiscardReason.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/CallId.swift b/Sources/TDLibKit/Generated/Models/CallId.swift index 57cabc0016..699430185a 100644 --- a/Sources/TDLibKit/Generated/Models/CallId.swift +++ b/Sources/TDLibKit/Generated/Models/CallId.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/CallProblem.swift b/Sources/TDLibKit/Generated/Models/CallProblem.swift index 1f4b43affb..0690dd265e 100644 --- a/Sources/TDLibKit/Generated/Models/CallProblem.swift +++ b/Sources/TDLibKit/Generated/Models/CallProblem.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/CallProtocol.swift b/Sources/TDLibKit/Generated/Models/CallProtocol.swift index bdfbb475cd..c3ef71a963 100644 --- a/Sources/TDLibKit/Generated/Models/CallProtocol.swift +++ b/Sources/TDLibKit/Generated/Models/CallProtocol.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/CallServer.swift b/Sources/TDLibKit/Generated/Models/CallServer.swift index 1e80581854..9ebbddfcef 100644 --- a/Sources/TDLibKit/Generated/Models/CallServer.swift +++ b/Sources/TDLibKit/Generated/Models/CallServer.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/CallServerType.swift b/Sources/TDLibKit/Generated/Models/CallServerType.swift index 55a57584ff..d1c9aa45b4 100644 --- a/Sources/TDLibKit/Generated/Models/CallServerType.swift +++ b/Sources/TDLibKit/Generated/Models/CallServerType.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/CallState.swift b/Sources/TDLibKit/Generated/Models/CallState.swift index d418af7838..921b162421 100644 --- a/Sources/TDLibKit/Generated/Models/CallState.swift +++ b/Sources/TDLibKit/Generated/Models/CallState.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/CallbackQueryAnswer.swift b/Sources/TDLibKit/Generated/Models/CallbackQueryAnswer.swift index 518e4b8955..342a5d3e17 100644 --- a/Sources/TDLibKit/Generated/Models/CallbackQueryAnswer.swift +++ b/Sources/TDLibKit/Generated/Models/CallbackQueryAnswer.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/CallbackQueryPayload.swift b/Sources/TDLibKit/Generated/Models/CallbackQueryPayload.swift index 9d14e1340e..346c5e2b69 100644 --- a/Sources/TDLibKit/Generated/Models/CallbackQueryPayload.swift +++ b/Sources/TDLibKit/Generated/Models/CallbackQueryPayload.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/CanBotSendMessages.swift b/Sources/TDLibKit/Generated/Models/CanBotSendMessages.swift index 90b46c12ef..f9d82f7c5e 100644 --- a/Sources/TDLibKit/Generated/Models/CanBotSendMessages.swift +++ b/Sources/TDLibKit/Generated/Models/CanBotSendMessages.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/CanPurchasePremium.swift b/Sources/TDLibKit/Generated/Models/CanPurchasePremium.swift index d2996ac496..f6ff5c38ae 100644 --- a/Sources/TDLibKit/Generated/Models/CanPurchasePremium.swift +++ b/Sources/TDLibKit/Generated/Models/CanPurchasePremium.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/CanSendMessageToUser.swift b/Sources/TDLibKit/Generated/Models/CanSendMessageToUser.swift index 60baedd84e..db2d73ff47 100644 --- a/Sources/TDLibKit/Generated/Models/CanSendMessageToUser.swift +++ b/Sources/TDLibKit/Generated/Models/CanSendMessageToUser.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/CanSendMessageToUserResult.swift b/Sources/TDLibKit/Generated/Models/CanSendMessageToUserResult.swift index acd18d3305..4489a260bc 100644 --- a/Sources/TDLibKit/Generated/Models/CanSendMessageToUserResult.swift +++ b/Sources/TDLibKit/Generated/Models/CanSendMessageToUserResult.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/CanSendStory.swift b/Sources/TDLibKit/Generated/Models/CanSendStory.swift index 97c253b0fc..b17e924a1d 100644 --- a/Sources/TDLibKit/Generated/Models/CanSendStory.swift +++ b/Sources/TDLibKit/Generated/Models/CanSendStory.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/CanSendStoryResult.swift b/Sources/TDLibKit/Generated/Models/CanSendStoryResult.swift index ff519b7487..c1073ec77f 100644 --- a/Sources/TDLibKit/Generated/Models/CanSendStoryResult.swift +++ b/Sources/TDLibKit/Generated/Models/CanSendStoryResult.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/CanTransferOwnership.swift b/Sources/TDLibKit/Generated/Models/CanTransferOwnership.swift index 10af00aad8..f589e316cc 100644 --- a/Sources/TDLibKit/Generated/Models/CanTransferOwnership.swift +++ b/Sources/TDLibKit/Generated/Models/CanTransferOwnership.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/CanTransferOwnershipResult.swift b/Sources/TDLibKit/Generated/Models/CanTransferOwnershipResult.swift index 5f0f28e3ec..9061cc6c50 100644 --- a/Sources/TDLibKit/Generated/Models/CanTransferOwnershipResult.swift +++ b/Sources/TDLibKit/Generated/Models/CanTransferOwnershipResult.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/CancelDownloadFile.swift b/Sources/TDLibKit/Generated/Models/CancelDownloadFile.swift index 56aebceed1..f218fe4b30 100644 --- a/Sources/TDLibKit/Generated/Models/CancelDownloadFile.swift +++ b/Sources/TDLibKit/Generated/Models/CancelDownloadFile.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/CancelPasswordReset.swift b/Sources/TDLibKit/Generated/Models/CancelPasswordReset.swift index 993b3dbbd4..dc3f363441 100644 --- a/Sources/TDLibKit/Generated/Models/CancelPasswordReset.swift +++ b/Sources/TDLibKit/Generated/Models/CancelPasswordReset.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/CancelPreliminaryUploadFile.swift b/Sources/TDLibKit/Generated/Models/CancelPreliminaryUploadFile.swift index bc2bac83f1..57a13ff61e 100644 --- a/Sources/TDLibKit/Generated/Models/CancelPreliminaryUploadFile.swift +++ b/Sources/TDLibKit/Generated/Models/CancelPreliminaryUploadFile.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/CancelRecoveryEmailAddressVerification.swift b/Sources/TDLibKit/Generated/Models/CancelRecoveryEmailAddressVerification.swift index 0d6dad81c8..d989e4fc76 100644 --- a/Sources/TDLibKit/Generated/Models/CancelRecoveryEmailAddressVerification.swift +++ b/Sources/TDLibKit/Generated/Models/CancelRecoveryEmailAddressVerification.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/ChangeImportedContacts.swift b/Sources/TDLibKit/Generated/Models/ChangeImportedContacts.swift index 3541aa73e5..7bad2db6ff 100644 --- a/Sources/TDLibKit/Generated/Models/ChangeImportedContacts.swift +++ b/Sources/TDLibKit/Generated/Models/ChangeImportedContacts.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/ChangeStickerSet.swift b/Sources/TDLibKit/Generated/Models/ChangeStickerSet.swift index 96104d71a7..0e4d849812 100644 --- a/Sources/TDLibKit/Generated/Models/ChangeStickerSet.swift +++ b/Sources/TDLibKit/Generated/Models/ChangeStickerSet.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/Chat.swift b/Sources/TDLibKit/Generated/Models/Chat.swift index 32c56c31e4..a328a0c642 100644 --- a/Sources/TDLibKit/Generated/Models/Chat.swift +++ b/Sources/TDLibKit/Generated/Models/Chat.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/ChatAction.swift b/Sources/TDLibKit/Generated/Models/ChatAction.swift index 428cb6a7c3..b609fc538e 100644 --- a/Sources/TDLibKit/Generated/Models/ChatAction.swift +++ b/Sources/TDLibKit/Generated/Models/ChatAction.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/ChatActionBar.swift b/Sources/TDLibKit/Generated/Models/ChatActionBar.swift index f0be040548..45516eb70f 100644 --- a/Sources/TDLibKit/Generated/Models/ChatActionBar.swift +++ b/Sources/TDLibKit/Generated/Models/ChatActionBar.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/ChatActiveStories.swift b/Sources/TDLibKit/Generated/Models/ChatActiveStories.swift index 189a2af52e..3583aa3193 100644 --- a/Sources/TDLibKit/Generated/Models/ChatActiveStories.swift +++ b/Sources/TDLibKit/Generated/Models/ChatActiveStories.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/ChatAdministrator.swift b/Sources/TDLibKit/Generated/Models/ChatAdministrator.swift index 5b8dfb5f4f..777415d8b1 100644 --- a/Sources/TDLibKit/Generated/Models/ChatAdministrator.swift +++ b/Sources/TDLibKit/Generated/Models/ChatAdministrator.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/ChatAdministratorRights.swift b/Sources/TDLibKit/Generated/Models/ChatAdministratorRights.swift index fc712daba1..c234e12ecd 100644 --- a/Sources/TDLibKit/Generated/Models/ChatAdministratorRights.swift +++ b/Sources/TDLibKit/Generated/Models/ChatAdministratorRights.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation @@ -25,7 +25,7 @@ public struct ChatAdministratorRights: Codable, Equatable, Hashable { /// True, if the administrator can edit messages of other users and pin messages; applicable to channels only public let canEditMessages: Bool - /// True, if the administrator can edit stories posted by other users, pin stories and access story archive; applicable to supergroups and channels only + /// True, if the administrator can edit stories posted by other users, post stories to the chat page, pin chat stories, and access story archive; applicable to supergroups and channels only public let canEditStories: Bool /// True, if the administrator can invite new users to the chat diff --git a/Sources/TDLibKit/Generated/Models/ChatAdministrators.swift b/Sources/TDLibKit/Generated/Models/ChatAdministrators.swift index 55627a406b..da3223b8ac 100644 --- a/Sources/TDLibKit/Generated/Models/ChatAdministrators.swift +++ b/Sources/TDLibKit/Generated/Models/ChatAdministrators.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/ChatAvailableReactions.swift b/Sources/TDLibKit/Generated/Models/ChatAvailableReactions.swift index 77172bd37e..de7dac9360 100644 --- a/Sources/TDLibKit/Generated/Models/ChatAvailableReactions.swift +++ b/Sources/TDLibKit/Generated/Models/ChatAvailableReactions.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation @@ -14,7 +14,7 @@ import Foundation public indirect enum ChatAvailableReactions: Codable, Equatable, Hashable { /// All reactions are available in the chat - case chatAvailableReactionsAll + case chatAvailableReactionsAll(ChatAvailableReactionsAll) /// Only specific reactions are available in the chat case chatAvailableReactionsSome(ChatAvailableReactionsSome) @@ -30,7 +30,8 @@ public indirect enum ChatAvailableReactions: Codable, Equatable, Hashable { let type = try container.decode(Kind.self, forKey: .type) switch type { case .chatAvailableReactionsAll: - self = .chatAvailableReactionsAll + let value = try ChatAvailableReactionsAll(from: decoder) + self = .chatAvailableReactionsAll(value) case .chatAvailableReactionsSome: let value = try ChatAvailableReactionsSome(from: decoder) self = .chatAvailableReactionsSome(value) @@ -40,8 +41,9 @@ public indirect enum ChatAvailableReactions: Codable, Equatable, Hashable { public func encode(to encoder: Encoder) throws { var container = encoder.container(keyedBy: DtoCodingKeys.self) switch self { - case .chatAvailableReactionsAll: + case .chatAvailableReactionsAll(let value): try container.encode(Kind.chatAvailableReactionsAll, forKey: .type) + try value.encode(to: encoder) case .chatAvailableReactionsSome(let value): try container.encode(Kind.chatAvailableReactionsSome, forKey: .type) try value.encode(to: encoder) @@ -49,14 +51,33 @@ public indirect enum ChatAvailableReactions: Codable, Equatable, Hashable { } } +/// All reactions are available in the chat +public struct ChatAvailableReactionsAll: Codable, Equatable, Hashable { + + /// The maximum allowed number of reactions per message; 1-11 + public let maxReactionCount: Int + + + public init(maxReactionCount: Int) { + self.maxReactionCount = maxReactionCount + } +} + /// Only specific reactions are available in the chat public struct ChatAvailableReactionsSome: Codable, Equatable, Hashable { + /// The maximum allowed number of reactions per message; 1-11 + public let maxReactionCount: Int + /// The list of reactions public let reactions: [ReactionType] - public init(reactions: [ReactionType]) { + public init( + maxReactionCount: Int, + reactions: [ReactionType] + ) { + self.maxReactionCount = maxReactionCount self.reactions = reactions } } diff --git a/Sources/TDLibKit/Generated/Models/ChatBackground.swift b/Sources/TDLibKit/Generated/Models/ChatBackground.swift index 1daa6ab8bb..67df2753f9 100644 --- a/Sources/TDLibKit/Generated/Models/ChatBackground.swift +++ b/Sources/TDLibKit/Generated/Models/ChatBackground.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/ChatBoost.swift b/Sources/TDLibKit/Generated/Models/ChatBoost.swift index 7ea9c15cca..8a682d096d 100644 --- a/Sources/TDLibKit/Generated/Models/ChatBoost.swift +++ b/Sources/TDLibKit/Generated/Models/ChatBoost.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/ChatBoostFeatures.swift b/Sources/TDLibKit/Generated/Models/ChatBoostFeatures.swift index 1a90cf54b0..527f0c1776 100644 --- a/Sources/TDLibKit/Generated/Models/ChatBoostFeatures.swift +++ b/Sources/TDLibKit/Generated/Models/ChatBoostFeatures.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/ChatBoostLevelFeatures.swift b/Sources/TDLibKit/Generated/Models/ChatBoostLevelFeatures.swift index 056cd9b86b..773bb9ab4f 100644 --- a/Sources/TDLibKit/Generated/Models/ChatBoostLevelFeatures.swift +++ b/Sources/TDLibKit/Generated/Models/ChatBoostLevelFeatures.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/ChatBoostLink.swift b/Sources/TDLibKit/Generated/Models/ChatBoostLink.swift index f2fca2c8ec..8614c5eaaf 100644 --- a/Sources/TDLibKit/Generated/Models/ChatBoostLink.swift +++ b/Sources/TDLibKit/Generated/Models/ChatBoostLink.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/ChatBoostLinkInfo.swift b/Sources/TDLibKit/Generated/Models/ChatBoostLinkInfo.swift index 94aa8f6e19..0d965d1def 100644 --- a/Sources/TDLibKit/Generated/Models/ChatBoostLinkInfo.swift +++ b/Sources/TDLibKit/Generated/Models/ChatBoostLinkInfo.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/ChatBoostSlot.swift b/Sources/TDLibKit/Generated/Models/ChatBoostSlot.swift index a06d8a88b9..2f58772a2c 100644 --- a/Sources/TDLibKit/Generated/Models/ChatBoostSlot.swift +++ b/Sources/TDLibKit/Generated/Models/ChatBoostSlot.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/ChatBoostSlots.swift b/Sources/TDLibKit/Generated/Models/ChatBoostSlots.swift index 8193087266..59d22930e4 100644 --- a/Sources/TDLibKit/Generated/Models/ChatBoostSlots.swift +++ b/Sources/TDLibKit/Generated/Models/ChatBoostSlots.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/ChatBoostSource.swift b/Sources/TDLibKit/Generated/Models/ChatBoostSource.swift index 7947d6e6a3..3dbb36daf4 100644 --- a/Sources/TDLibKit/Generated/Models/ChatBoostSource.swift +++ b/Sources/TDLibKit/Generated/Models/ChatBoostSource.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/ChatBoostStatus.swift b/Sources/TDLibKit/Generated/Models/ChatBoostStatus.swift index 50c745ad9f..f082cf1a20 100644 --- a/Sources/TDLibKit/Generated/Models/ChatBoostStatus.swift +++ b/Sources/TDLibKit/Generated/Models/ChatBoostStatus.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/ChatEvent.swift b/Sources/TDLibKit/Generated/Models/ChatEvent.swift index 6ee47ee96f..be23789274 100644 --- a/Sources/TDLibKit/Generated/Models/ChatEvent.swift +++ b/Sources/TDLibKit/Generated/Models/ChatEvent.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/ChatEventAction.swift b/Sources/TDLibKit/Generated/Models/ChatEventAction.swift index d55476b1f9..73bad8d642 100644 --- a/Sources/TDLibKit/Generated/Models/ChatEventAction.swift +++ b/Sources/TDLibKit/Generated/Models/ChatEventAction.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/ChatEventLogFilters.swift b/Sources/TDLibKit/Generated/Models/ChatEventLogFilters.swift index b74af5c938..d1d44d314d 100644 --- a/Sources/TDLibKit/Generated/Models/ChatEventLogFilters.swift +++ b/Sources/TDLibKit/Generated/Models/ChatEventLogFilters.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/ChatEvents.swift b/Sources/TDLibKit/Generated/Models/ChatEvents.swift index f49b895171..0387efe254 100644 --- a/Sources/TDLibKit/Generated/Models/ChatEvents.swift +++ b/Sources/TDLibKit/Generated/Models/ChatEvents.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/ChatFolder.swift b/Sources/TDLibKit/Generated/Models/ChatFolder.swift index 0f8b9d7c3f..c085800be5 100644 --- a/Sources/TDLibKit/Generated/Models/ChatFolder.swift +++ b/Sources/TDLibKit/Generated/Models/ChatFolder.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/ChatFolderIcon.swift b/Sources/TDLibKit/Generated/Models/ChatFolderIcon.swift index ade1997e46..fbdea9880c 100644 --- a/Sources/TDLibKit/Generated/Models/ChatFolderIcon.swift +++ b/Sources/TDLibKit/Generated/Models/ChatFolderIcon.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation @@ -13,7 +13,7 @@ import Foundation /// Represents an icon for a chat folder public struct ChatFolderIcon: Codable, Equatable, Hashable { - /// The chosen icon name for short folder representation; one of "All", "Unread", "Unmuted", "Bots", "Channels", "Groups", "Private", "Custom", "Setup", "Cat", "Crown",//-"Favorite", "Flower", "Game", "Home", "Love", "Mask", "Party", "Sport", "Study", "Trade", "Travel", "Work", "Airplane", "Book", "Light", "Like", "Money", "Note", "Palette" + /// The chosen icon name for short folder representation; one of "All", "Unread", "Unmuted", "Bots", "Channels", "Groups", "Private", "Custom", "Setup", "Cat", "Crown", "Favorite", "Flower", "Game", "Home", "Love", "Mask", "Party", "Sport", "Study", "Trade", "Travel", "Work", "Airplane", "Book", "Light", "Like", "Money", "Note", "Palette" public let name: String diff --git a/Sources/TDLibKit/Generated/Models/ChatFolderInfo.swift b/Sources/TDLibKit/Generated/Models/ChatFolderInfo.swift index d36513fe24..23c93a325e 100644 --- a/Sources/TDLibKit/Generated/Models/ChatFolderInfo.swift +++ b/Sources/TDLibKit/Generated/Models/ChatFolderInfo.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/ChatFolderInviteLink.swift b/Sources/TDLibKit/Generated/Models/ChatFolderInviteLink.swift index 5cbb8849ec..596334dbb3 100644 --- a/Sources/TDLibKit/Generated/Models/ChatFolderInviteLink.swift +++ b/Sources/TDLibKit/Generated/Models/ChatFolderInviteLink.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/ChatFolderInviteLinkInfo.swift b/Sources/TDLibKit/Generated/Models/ChatFolderInviteLinkInfo.swift index a734b10dd2..73c1718d22 100644 --- a/Sources/TDLibKit/Generated/Models/ChatFolderInviteLinkInfo.swift +++ b/Sources/TDLibKit/Generated/Models/ChatFolderInviteLinkInfo.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/ChatFolderInviteLinks.swift b/Sources/TDLibKit/Generated/Models/ChatFolderInviteLinks.swift index 0ec689d29c..0e89919b40 100644 --- a/Sources/TDLibKit/Generated/Models/ChatFolderInviteLinks.swift +++ b/Sources/TDLibKit/Generated/Models/ChatFolderInviteLinks.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/ChatInviteLink.swift b/Sources/TDLibKit/Generated/Models/ChatInviteLink.swift index 089c3b903d..ffeb83377e 100644 --- a/Sources/TDLibKit/Generated/Models/ChatInviteLink.swift +++ b/Sources/TDLibKit/Generated/Models/ChatInviteLink.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/ChatInviteLinkCount.swift b/Sources/TDLibKit/Generated/Models/ChatInviteLinkCount.swift index 72087cbeeb..fe4e9cc85e 100644 --- a/Sources/TDLibKit/Generated/Models/ChatInviteLinkCount.swift +++ b/Sources/TDLibKit/Generated/Models/ChatInviteLinkCount.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/ChatInviteLinkCounts.swift b/Sources/TDLibKit/Generated/Models/ChatInviteLinkCounts.swift index 535ecd7609..4fc6e235e2 100644 --- a/Sources/TDLibKit/Generated/Models/ChatInviteLinkCounts.swift +++ b/Sources/TDLibKit/Generated/Models/ChatInviteLinkCounts.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/ChatInviteLinkInfo.swift b/Sources/TDLibKit/Generated/Models/ChatInviteLinkInfo.swift index e8c6e33de1..1aa83ebcd0 100644 --- a/Sources/TDLibKit/Generated/Models/ChatInviteLinkInfo.swift +++ b/Sources/TDLibKit/Generated/Models/ChatInviteLinkInfo.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/ChatInviteLinkMember.swift b/Sources/TDLibKit/Generated/Models/ChatInviteLinkMember.swift index 55fb6446e5..422ceb4fa7 100644 --- a/Sources/TDLibKit/Generated/Models/ChatInviteLinkMember.swift +++ b/Sources/TDLibKit/Generated/Models/ChatInviteLinkMember.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/ChatInviteLinkMembers.swift b/Sources/TDLibKit/Generated/Models/ChatInviteLinkMembers.swift index 7c4b4ecd62..5ad6ab07e5 100644 --- a/Sources/TDLibKit/Generated/Models/ChatInviteLinkMembers.swift +++ b/Sources/TDLibKit/Generated/Models/ChatInviteLinkMembers.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/ChatInviteLinks.swift b/Sources/TDLibKit/Generated/Models/ChatInviteLinks.swift index 167a1b5604..a621036846 100644 --- a/Sources/TDLibKit/Generated/Models/ChatInviteLinks.swift +++ b/Sources/TDLibKit/Generated/Models/ChatInviteLinks.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/ChatJoinRequest.swift b/Sources/TDLibKit/Generated/Models/ChatJoinRequest.swift index 65f7687160..2d844cf813 100644 --- a/Sources/TDLibKit/Generated/Models/ChatJoinRequest.swift +++ b/Sources/TDLibKit/Generated/Models/ChatJoinRequest.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/ChatJoinRequests.swift b/Sources/TDLibKit/Generated/Models/ChatJoinRequests.swift index a61164770d..0fd28ba938 100644 --- a/Sources/TDLibKit/Generated/Models/ChatJoinRequests.swift +++ b/Sources/TDLibKit/Generated/Models/ChatJoinRequests.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/ChatJoinRequestsInfo.swift b/Sources/TDLibKit/Generated/Models/ChatJoinRequestsInfo.swift index 4bf9f47856..8171c885b6 100644 --- a/Sources/TDLibKit/Generated/Models/ChatJoinRequestsInfo.swift +++ b/Sources/TDLibKit/Generated/Models/ChatJoinRequestsInfo.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/ChatList.swift b/Sources/TDLibKit/Generated/Models/ChatList.swift index dff27508cb..5288e08ded 100644 --- a/Sources/TDLibKit/Generated/Models/ChatList.swift +++ b/Sources/TDLibKit/Generated/Models/ChatList.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/ChatLists.swift b/Sources/TDLibKit/Generated/Models/ChatLists.swift index 3787a22c4f..8305723720 100644 --- a/Sources/TDLibKit/Generated/Models/ChatLists.swift +++ b/Sources/TDLibKit/Generated/Models/ChatLists.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/ChatLocation.swift b/Sources/TDLibKit/Generated/Models/ChatLocation.swift index 08bf3552d3..6d470d0ac8 100644 --- a/Sources/TDLibKit/Generated/Models/ChatLocation.swift +++ b/Sources/TDLibKit/Generated/Models/ChatLocation.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/ChatMember.swift b/Sources/TDLibKit/Generated/Models/ChatMember.swift index e3f5a2d23a..104c211de0 100644 --- a/Sources/TDLibKit/Generated/Models/ChatMember.swift +++ b/Sources/TDLibKit/Generated/Models/ChatMember.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/ChatMemberStatus.swift b/Sources/TDLibKit/Generated/Models/ChatMemberStatus.swift index 3f3807a9b3..adbc13e76a 100644 --- a/Sources/TDLibKit/Generated/Models/ChatMemberStatus.swift +++ b/Sources/TDLibKit/Generated/Models/ChatMemberStatus.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/ChatMembers.swift b/Sources/TDLibKit/Generated/Models/ChatMembers.swift index 0d6a324956..f0a13e005b 100644 --- a/Sources/TDLibKit/Generated/Models/ChatMembers.swift +++ b/Sources/TDLibKit/Generated/Models/ChatMembers.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/ChatMembersFilter.swift b/Sources/TDLibKit/Generated/Models/ChatMembersFilter.swift index c6d66d378c..8d62a425f7 100644 --- a/Sources/TDLibKit/Generated/Models/ChatMembersFilter.swift +++ b/Sources/TDLibKit/Generated/Models/ChatMembersFilter.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/ChatMessageSender.swift b/Sources/TDLibKit/Generated/Models/ChatMessageSender.swift index e2d8118ab9..7e7c1239ea 100644 --- a/Sources/TDLibKit/Generated/Models/ChatMessageSender.swift +++ b/Sources/TDLibKit/Generated/Models/ChatMessageSender.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/ChatMessageSenders.swift b/Sources/TDLibKit/Generated/Models/ChatMessageSenders.swift index ea87dbde21..5f4b63f57a 100644 --- a/Sources/TDLibKit/Generated/Models/ChatMessageSenders.swift +++ b/Sources/TDLibKit/Generated/Models/ChatMessageSenders.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/ChatNearby.swift b/Sources/TDLibKit/Generated/Models/ChatNearby.swift index 00c6817750..ab21525fbf 100644 --- a/Sources/TDLibKit/Generated/Models/ChatNearby.swift +++ b/Sources/TDLibKit/Generated/Models/ChatNearby.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/ChatNotificationSettings.swift b/Sources/TDLibKit/Generated/Models/ChatNotificationSettings.swift index f892889c2e..d3dd75f246 100644 --- a/Sources/TDLibKit/Generated/Models/ChatNotificationSettings.swift +++ b/Sources/TDLibKit/Generated/Models/ChatNotificationSettings.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/ChatPermissions.swift b/Sources/TDLibKit/Generated/Models/ChatPermissions.swift index 6718c39048..86688bb09a 100644 --- a/Sources/TDLibKit/Generated/Models/ChatPermissions.swift +++ b/Sources/TDLibKit/Generated/Models/ChatPermissions.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/ChatPhoto.swift b/Sources/TDLibKit/Generated/Models/ChatPhoto.swift index 9bb39da861..af789a9d1f 100644 --- a/Sources/TDLibKit/Generated/Models/ChatPhoto.swift +++ b/Sources/TDLibKit/Generated/Models/ChatPhoto.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/ChatPhotoInfo.swift b/Sources/TDLibKit/Generated/Models/ChatPhotoInfo.swift index 79d550ec80..9a74ca1f6c 100644 --- a/Sources/TDLibKit/Generated/Models/ChatPhotoInfo.swift +++ b/Sources/TDLibKit/Generated/Models/ChatPhotoInfo.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/ChatPhotoSticker.swift b/Sources/TDLibKit/Generated/Models/ChatPhotoSticker.swift index 5ae5c3bed6..af43291e61 100644 --- a/Sources/TDLibKit/Generated/Models/ChatPhotoSticker.swift +++ b/Sources/TDLibKit/Generated/Models/ChatPhotoSticker.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/ChatPhotoStickerType.swift b/Sources/TDLibKit/Generated/Models/ChatPhotoStickerType.swift index 248747e286..aa54cea82f 100644 --- a/Sources/TDLibKit/Generated/Models/ChatPhotoStickerType.swift +++ b/Sources/TDLibKit/Generated/Models/ChatPhotoStickerType.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/ChatPhotos.swift b/Sources/TDLibKit/Generated/Models/ChatPhotos.swift index 8fd13c7566..bdc2589170 100644 --- a/Sources/TDLibKit/Generated/Models/ChatPhotos.swift +++ b/Sources/TDLibKit/Generated/Models/ChatPhotos.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/ChatPosition.swift b/Sources/TDLibKit/Generated/Models/ChatPosition.swift index 7e8eba91d8..e80c1b578e 100644 --- a/Sources/TDLibKit/Generated/Models/ChatPosition.swift +++ b/Sources/TDLibKit/Generated/Models/ChatPosition.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/ChatRevenueAmount.swift b/Sources/TDLibKit/Generated/Models/ChatRevenueAmount.swift new file mode 100644 index 0000000000..53a77bbd01 --- /dev/null +++ b/Sources/TDLibKit/Generated/Models/ChatRevenueAmount.swift @@ -0,0 +1,41 @@ +// +// ChatRevenueAmount.swift +// tl2swift +// +// Generated automatically. Any changes will be lost! +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b +// + +import Foundation + + +/// Contains information about revenue earned from sponsored messages in a chat +public struct ChatRevenueAmount: Codable, Equatable, Hashable { + + /// Amount of the cryptocurrency available for withdrawal, in the smallest units of the cryptocurrency + public let availableAmount: TdInt64 + + /// Amount of the cryptocurrency that isn't withdrawn yet, in the smallest units of the cryptocurrency + public let balanceAmount: TdInt64 + + /// Cryptocurrency in which revenue is calculated + public let cryptocurrency: String + + /// Total amount of the cryptocurrency earned, in the smallest units of the cryptocurrency + public let totalAmount: TdInt64 + + + public init( + availableAmount: TdInt64, + balanceAmount: TdInt64, + cryptocurrency: String, + totalAmount: TdInt64 + ) { + self.availableAmount = availableAmount + self.balanceAmount = balanceAmount + self.cryptocurrency = cryptocurrency + self.totalAmount = totalAmount + } +} + diff --git a/Sources/TDLibKit/Generated/Models/ChatRevenueStatistics.swift b/Sources/TDLibKit/Generated/Models/ChatRevenueStatistics.swift index fd58ebcf81..c2d9b42413 100644 --- a/Sources/TDLibKit/Generated/Models/ChatRevenueStatistics.swift +++ b/Sources/TDLibKit/Generated/Models/ChatRevenueStatistics.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation @@ -13,17 +13,8 @@ import Foundation /// A detailed statistics about revenue earned from sponsored messages in a chat public struct ChatRevenueStatistics: Codable, Equatable, Hashable { - /// Cryptocurrency in which revenue is calculated - public let cryptocurrency: String - - /// Amount of the cryptocurrency available for withdrawal, in the smallest units of the cryptocurrency - public let cryptocurrencyAvailableAmount: TdInt64 - - /// Amount of the cryptocurrency that isn't withdrawn yet, in the smallest units of the cryptocurrency - public let cryptocurrencyBalanceAmount: TdInt64 - - /// Total amount of the cryptocurrency earned, in the smallest units of the cryptocurrency - public let cryptocurrencyTotalAmount: TdInt64 + /// Amount of earned revenue + public let revenueAmount: ChatRevenueAmount /// A graph containing amount of revenue in a given hour public let revenueByHourGraph: StatisticalGraph @@ -31,23 +22,17 @@ public struct ChatRevenueStatistics: Codable, Equatable, Hashable { /// A graph containing amount of revenue public let revenueGraph: StatisticalGraph - /// Current conversion rate of the cryptocurrency to USD + /// Current conversion rate of the cryptocurrency in which revenue is calculated to USD public let usdRate: Double public init( - cryptocurrency: String, - cryptocurrencyAvailableAmount: TdInt64, - cryptocurrencyBalanceAmount: TdInt64, - cryptocurrencyTotalAmount: TdInt64, + revenueAmount: ChatRevenueAmount, revenueByHourGraph: StatisticalGraph, revenueGraph: StatisticalGraph, usdRate: Double ) { - self.cryptocurrency = cryptocurrency - self.cryptocurrencyAvailableAmount = cryptocurrencyAvailableAmount - self.cryptocurrencyBalanceAmount = cryptocurrencyBalanceAmount - self.cryptocurrencyTotalAmount = cryptocurrencyTotalAmount + self.revenueAmount = revenueAmount self.revenueByHourGraph = revenueByHourGraph self.revenueGraph = revenueGraph self.usdRate = usdRate diff --git a/Sources/TDLibKit/Generated/Models/ChatRevenueTransaction.swift b/Sources/TDLibKit/Generated/Models/ChatRevenueTransaction.swift index fce605c5d2..86bec86a78 100644 --- a/Sources/TDLibKit/Generated/Models/ChatRevenueTransaction.swift +++ b/Sources/TDLibKit/Generated/Models/ChatRevenueTransaction.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/ChatRevenueTransactionType.swift b/Sources/TDLibKit/Generated/Models/ChatRevenueTransactionType.swift index 4ab21af8be..e00a8c0ac2 100644 --- a/Sources/TDLibKit/Generated/Models/ChatRevenueTransactionType.swift +++ b/Sources/TDLibKit/Generated/Models/ChatRevenueTransactionType.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/ChatRevenueTransactions.swift b/Sources/TDLibKit/Generated/Models/ChatRevenueTransactions.swift index ca23ba6bc0..b5dd4eafa0 100644 --- a/Sources/TDLibKit/Generated/Models/ChatRevenueTransactions.swift +++ b/Sources/TDLibKit/Generated/Models/ChatRevenueTransactions.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/ChatRevenueWithdrawalState.swift b/Sources/TDLibKit/Generated/Models/ChatRevenueWithdrawalState.swift index 70111ff2d7..7783a0b9ef 100644 --- a/Sources/TDLibKit/Generated/Models/ChatRevenueWithdrawalState.swift +++ b/Sources/TDLibKit/Generated/Models/ChatRevenueWithdrawalState.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/ChatSource.swift b/Sources/TDLibKit/Generated/Models/ChatSource.swift index e018502725..eca77dc3f4 100644 --- a/Sources/TDLibKit/Generated/Models/ChatSource.swift +++ b/Sources/TDLibKit/Generated/Models/ChatSource.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/ChatStatistics.swift b/Sources/TDLibKit/Generated/Models/ChatStatistics.swift index 6092d525ea..d3e4c69ca2 100644 --- a/Sources/TDLibKit/Generated/Models/ChatStatistics.swift +++ b/Sources/TDLibKit/Generated/Models/ChatStatistics.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/ChatStatisticsAdministratorActionsInfo.swift b/Sources/TDLibKit/Generated/Models/ChatStatisticsAdministratorActionsInfo.swift index 7582994a7e..a0e8cf7baa 100644 --- a/Sources/TDLibKit/Generated/Models/ChatStatisticsAdministratorActionsInfo.swift +++ b/Sources/TDLibKit/Generated/Models/ChatStatisticsAdministratorActionsInfo.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/ChatStatisticsInteractionInfo.swift b/Sources/TDLibKit/Generated/Models/ChatStatisticsInteractionInfo.swift index 7720ac4722..d4933612a0 100644 --- a/Sources/TDLibKit/Generated/Models/ChatStatisticsInteractionInfo.swift +++ b/Sources/TDLibKit/Generated/Models/ChatStatisticsInteractionInfo.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/ChatStatisticsInviterInfo.swift b/Sources/TDLibKit/Generated/Models/ChatStatisticsInviterInfo.swift index 6ef9d5f002..38109db469 100644 --- a/Sources/TDLibKit/Generated/Models/ChatStatisticsInviterInfo.swift +++ b/Sources/TDLibKit/Generated/Models/ChatStatisticsInviterInfo.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/ChatStatisticsMessageSenderInfo.swift b/Sources/TDLibKit/Generated/Models/ChatStatisticsMessageSenderInfo.swift index b1d3817db6..317b81966e 100644 --- a/Sources/TDLibKit/Generated/Models/ChatStatisticsMessageSenderInfo.swift +++ b/Sources/TDLibKit/Generated/Models/ChatStatisticsMessageSenderInfo.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/ChatStatisticsObjectType.swift b/Sources/TDLibKit/Generated/Models/ChatStatisticsObjectType.swift index 1519dc7da9..9d09ad239f 100644 --- a/Sources/TDLibKit/Generated/Models/ChatStatisticsObjectType.swift +++ b/Sources/TDLibKit/Generated/Models/ChatStatisticsObjectType.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/ChatTheme.swift b/Sources/TDLibKit/Generated/Models/ChatTheme.swift index 8f97eee770..a96ed75e12 100644 --- a/Sources/TDLibKit/Generated/Models/ChatTheme.swift +++ b/Sources/TDLibKit/Generated/Models/ChatTheme.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/ChatType.swift b/Sources/TDLibKit/Generated/Models/ChatType.swift index c69d8f078d..8383421e5d 100644 --- a/Sources/TDLibKit/Generated/Models/ChatType.swift +++ b/Sources/TDLibKit/Generated/Models/ChatType.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/Chats.swift b/Sources/TDLibKit/Generated/Models/Chats.swift index 5daab53390..46e29490f4 100644 --- a/Sources/TDLibKit/Generated/Models/Chats.swift +++ b/Sources/TDLibKit/Generated/Models/Chats.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/ChatsNearby.swift b/Sources/TDLibKit/Generated/Models/ChatsNearby.swift index 559e809cd5..8610960073 100644 --- a/Sources/TDLibKit/Generated/Models/ChatsNearby.swift +++ b/Sources/TDLibKit/Generated/Models/ChatsNearby.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/CheckAuthenticationBotToken.swift b/Sources/TDLibKit/Generated/Models/CheckAuthenticationBotToken.swift index abfd5c060a..41ed9c739c 100644 --- a/Sources/TDLibKit/Generated/Models/CheckAuthenticationBotToken.swift +++ b/Sources/TDLibKit/Generated/Models/CheckAuthenticationBotToken.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/CheckAuthenticationCode.swift b/Sources/TDLibKit/Generated/Models/CheckAuthenticationCode.swift index 3bbf75b25f..cef0602855 100644 --- a/Sources/TDLibKit/Generated/Models/CheckAuthenticationCode.swift +++ b/Sources/TDLibKit/Generated/Models/CheckAuthenticationCode.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/CheckAuthenticationEmailCode.swift b/Sources/TDLibKit/Generated/Models/CheckAuthenticationEmailCode.swift index 296317b5e2..e3e457ca02 100644 --- a/Sources/TDLibKit/Generated/Models/CheckAuthenticationEmailCode.swift +++ b/Sources/TDLibKit/Generated/Models/CheckAuthenticationEmailCode.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/CheckAuthenticationPassword.swift b/Sources/TDLibKit/Generated/Models/CheckAuthenticationPassword.swift index d4fa8fb100..72a7d55b4d 100644 --- a/Sources/TDLibKit/Generated/Models/CheckAuthenticationPassword.swift +++ b/Sources/TDLibKit/Generated/Models/CheckAuthenticationPassword.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/CheckAuthenticationPasswordRecoveryCode.swift b/Sources/TDLibKit/Generated/Models/CheckAuthenticationPasswordRecoveryCode.swift index d42750d6ac..2273ab81e5 100644 --- a/Sources/TDLibKit/Generated/Models/CheckAuthenticationPasswordRecoveryCode.swift +++ b/Sources/TDLibKit/Generated/Models/CheckAuthenticationPasswordRecoveryCode.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/CheckChatFolderInviteLink.swift b/Sources/TDLibKit/Generated/Models/CheckChatFolderInviteLink.swift index 871a6643cd..f407754116 100644 --- a/Sources/TDLibKit/Generated/Models/CheckChatFolderInviteLink.swift +++ b/Sources/TDLibKit/Generated/Models/CheckChatFolderInviteLink.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/CheckChatInviteLink.swift b/Sources/TDLibKit/Generated/Models/CheckChatInviteLink.swift index 9bc2359ed2..b139fff6e7 100644 --- a/Sources/TDLibKit/Generated/Models/CheckChatInviteLink.swift +++ b/Sources/TDLibKit/Generated/Models/CheckChatInviteLink.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/CheckChatUsername.swift b/Sources/TDLibKit/Generated/Models/CheckChatUsername.swift index 67cdf6cc14..ce9b6f2d7f 100644 --- a/Sources/TDLibKit/Generated/Models/CheckChatUsername.swift +++ b/Sources/TDLibKit/Generated/Models/CheckChatUsername.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/CheckChatUsernameResult.swift b/Sources/TDLibKit/Generated/Models/CheckChatUsernameResult.swift index c6f8d191ef..102b13a669 100644 --- a/Sources/TDLibKit/Generated/Models/CheckChatUsernameResult.swift +++ b/Sources/TDLibKit/Generated/Models/CheckChatUsernameResult.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/CheckCreatedPublicChatsLimit.swift b/Sources/TDLibKit/Generated/Models/CheckCreatedPublicChatsLimit.swift index bc58ae0c3d..1a2be96f87 100644 --- a/Sources/TDLibKit/Generated/Models/CheckCreatedPublicChatsLimit.swift +++ b/Sources/TDLibKit/Generated/Models/CheckCreatedPublicChatsLimit.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/CheckEmailAddressVerificationCode.swift b/Sources/TDLibKit/Generated/Models/CheckEmailAddressVerificationCode.swift index 4fc13ce018..0155669477 100644 --- a/Sources/TDLibKit/Generated/Models/CheckEmailAddressVerificationCode.swift +++ b/Sources/TDLibKit/Generated/Models/CheckEmailAddressVerificationCode.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/CheckLoginEmailAddressCode.swift b/Sources/TDLibKit/Generated/Models/CheckLoginEmailAddressCode.swift index bd74b0f511..5fd7dca6a8 100644 --- a/Sources/TDLibKit/Generated/Models/CheckLoginEmailAddressCode.swift +++ b/Sources/TDLibKit/Generated/Models/CheckLoginEmailAddressCode.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/CheckPasswordRecoveryCode.swift b/Sources/TDLibKit/Generated/Models/CheckPasswordRecoveryCode.swift index 251a315dd7..7d07506971 100644 --- a/Sources/TDLibKit/Generated/Models/CheckPasswordRecoveryCode.swift +++ b/Sources/TDLibKit/Generated/Models/CheckPasswordRecoveryCode.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/CheckPhoneNumberCode.swift b/Sources/TDLibKit/Generated/Models/CheckPhoneNumberCode.swift index 606b828c7e..72fd5f4f55 100644 --- a/Sources/TDLibKit/Generated/Models/CheckPhoneNumberCode.swift +++ b/Sources/TDLibKit/Generated/Models/CheckPhoneNumberCode.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/CheckPremiumGiftCode.swift b/Sources/TDLibKit/Generated/Models/CheckPremiumGiftCode.swift index 87dce54807..8f86f5e03e 100644 --- a/Sources/TDLibKit/Generated/Models/CheckPremiumGiftCode.swift +++ b/Sources/TDLibKit/Generated/Models/CheckPremiumGiftCode.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/CheckQuickReplyShortcutName.swift b/Sources/TDLibKit/Generated/Models/CheckQuickReplyShortcutName.swift index b1b46c4fb7..15d0bd865f 100644 --- a/Sources/TDLibKit/Generated/Models/CheckQuickReplyShortcutName.swift +++ b/Sources/TDLibKit/Generated/Models/CheckQuickReplyShortcutName.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/CheckRecoveryEmailAddressCode.swift b/Sources/TDLibKit/Generated/Models/CheckRecoveryEmailAddressCode.swift index 6754023749..dcbfa06dc1 100644 --- a/Sources/TDLibKit/Generated/Models/CheckRecoveryEmailAddressCode.swift +++ b/Sources/TDLibKit/Generated/Models/CheckRecoveryEmailAddressCode.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/CheckStickerSetName.swift b/Sources/TDLibKit/Generated/Models/CheckStickerSetName.swift index 873c3f55f5..7085501a1b 100644 --- a/Sources/TDLibKit/Generated/Models/CheckStickerSetName.swift +++ b/Sources/TDLibKit/Generated/Models/CheckStickerSetName.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/CheckStickerSetNameResult.swift b/Sources/TDLibKit/Generated/Models/CheckStickerSetNameResult.swift index e9f6045f10..ea5d74e074 100644 --- a/Sources/TDLibKit/Generated/Models/CheckStickerSetNameResult.swift +++ b/Sources/TDLibKit/Generated/Models/CheckStickerSetNameResult.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/CleanFileName.swift b/Sources/TDLibKit/Generated/Models/CleanFileName.swift index fe6552901f..83b6809ccc 100644 --- a/Sources/TDLibKit/Generated/Models/CleanFileName.swift +++ b/Sources/TDLibKit/Generated/Models/CleanFileName.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/ClearAllDraftMessages.swift b/Sources/TDLibKit/Generated/Models/ClearAllDraftMessages.swift index 59fbbb067b..6d4305f3a8 100644 --- a/Sources/TDLibKit/Generated/Models/ClearAllDraftMessages.swift +++ b/Sources/TDLibKit/Generated/Models/ClearAllDraftMessages.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/ClearAutosaveSettingsExceptions.swift b/Sources/TDLibKit/Generated/Models/ClearAutosaveSettingsExceptions.swift index e17ef73a62..bd031b7cb6 100644 --- a/Sources/TDLibKit/Generated/Models/ClearAutosaveSettingsExceptions.swift +++ b/Sources/TDLibKit/Generated/Models/ClearAutosaveSettingsExceptions.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/ClearImportedContacts.swift b/Sources/TDLibKit/Generated/Models/ClearImportedContacts.swift index 2adad164ee..d61c560058 100644 --- a/Sources/TDLibKit/Generated/Models/ClearImportedContacts.swift +++ b/Sources/TDLibKit/Generated/Models/ClearImportedContacts.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/ClearRecentEmojiStatuses.swift b/Sources/TDLibKit/Generated/Models/ClearRecentEmojiStatuses.swift index e73d1678d8..f25292fcde 100644 --- a/Sources/TDLibKit/Generated/Models/ClearRecentEmojiStatuses.swift +++ b/Sources/TDLibKit/Generated/Models/ClearRecentEmojiStatuses.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/ClearRecentReactions.swift b/Sources/TDLibKit/Generated/Models/ClearRecentReactions.swift index 6c38beb26d..e5b54bee05 100644 --- a/Sources/TDLibKit/Generated/Models/ClearRecentReactions.swift +++ b/Sources/TDLibKit/Generated/Models/ClearRecentReactions.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/ClearRecentStickers.swift b/Sources/TDLibKit/Generated/Models/ClearRecentStickers.swift index 43bd5d1467..8e59b2d758 100644 --- a/Sources/TDLibKit/Generated/Models/ClearRecentStickers.swift +++ b/Sources/TDLibKit/Generated/Models/ClearRecentStickers.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/ClearRecentlyFoundChats.swift b/Sources/TDLibKit/Generated/Models/ClearRecentlyFoundChats.swift index 7dbd90647c..247f9a136f 100644 --- a/Sources/TDLibKit/Generated/Models/ClearRecentlyFoundChats.swift +++ b/Sources/TDLibKit/Generated/Models/ClearRecentlyFoundChats.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/ClickAnimatedEmojiMessage.swift b/Sources/TDLibKit/Generated/Models/ClickAnimatedEmojiMessage.swift index 7f7a893eaf..179d4f03ca 100644 --- a/Sources/TDLibKit/Generated/Models/ClickAnimatedEmojiMessage.swift +++ b/Sources/TDLibKit/Generated/Models/ClickAnimatedEmojiMessage.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/ClickChatSponsoredMessage.swift b/Sources/TDLibKit/Generated/Models/ClickChatSponsoredMessage.swift index 9a92fae230..2e0f3c2650 100644 --- a/Sources/TDLibKit/Generated/Models/ClickChatSponsoredMessage.swift +++ b/Sources/TDLibKit/Generated/Models/ClickChatSponsoredMessage.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/ClickPremiumSubscriptionButton.swift b/Sources/TDLibKit/Generated/Models/ClickPremiumSubscriptionButton.swift index ee0a4c5a89..ae0917ce84 100644 --- a/Sources/TDLibKit/Generated/Models/ClickPremiumSubscriptionButton.swift +++ b/Sources/TDLibKit/Generated/Models/ClickPremiumSubscriptionButton.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/Close.swift b/Sources/TDLibKit/Generated/Models/Close.swift index f83e976cbd..f58a6fd7ae 100644 --- a/Sources/TDLibKit/Generated/Models/Close.swift +++ b/Sources/TDLibKit/Generated/Models/Close.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/CloseBirthdayUser.swift b/Sources/TDLibKit/Generated/Models/CloseBirthdayUser.swift index fd3c849b01..901e7f41b8 100644 --- a/Sources/TDLibKit/Generated/Models/CloseBirthdayUser.swift +++ b/Sources/TDLibKit/Generated/Models/CloseBirthdayUser.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/CloseChat.swift b/Sources/TDLibKit/Generated/Models/CloseChat.swift index b2ded662ab..084eeca2ad 100644 --- a/Sources/TDLibKit/Generated/Models/CloseChat.swift +++ b/Sources/TDLibKit/Generated/Models/CloseChat.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/CloseSecretChat.swift b/Sources/TDLibKit/Generated/Models/CloseSecretChat.swift index 764c7effcd..1579b03375 100644 --- a/Sources/TDLibKit/Generated/Models/CloseSecretChat.swift +++ b/Sources/TDLibKit/Generated/Models/CloseSecretChat.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/CloseStory.swift b/Sources/TDLibKit/Generated/Models/CloseStory.swift index 85f397b82e..80ac6c7da9 100644 --- a/Sources/TDLibKit/Generated/Models/CloseStory.swift +++ b/Sources/TDLibKit/Generated/Models/CloseStory.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/CloseWebApp.swift b/Sources/TDLibKit/Generated/Models/CloseWebApp.swift index b27901cb7d..e4c6786663 100644 --- a/Sources/TDLibKit/Generated/Models/CloseWebApp.swift +++ b/Sources/TDLibKit/Generated/Models/CloseWebApp.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/ClosedVectorPath.swift b/Sources/TDLibKit/Generated/Models/ClosedVectorPath.swift index 31020e605d..6c610467e4 100644 --- a/Sources/TDLibKit/Generated/Models/ClosedVectorPath.swift +++ b/Sources/TDLibKit/Generated/Models/ClosedVectorPath.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/CollectibleItemInfo.swift b/Sources/TDLibKit/Generated/Models/CollectibleItemInfo.swift index 6d452b2313..5886a1e4e0 100644 --- a/Sources/TDLibKit/Generated/Models/CollectibleItemInfo.swift +++ b/Sources/TDLibKit/Generated/Models/CollectibleItemInfo.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/CollectibleItemType.swift b/Sources/TDLibKit/Generated/Models/CollectibleItemType.swift index 0b9f25ac32..574652f3df 100644 --- a/Sources/TDLibKit/Generated/Models/CollectibleItemType.swift +++ b/Sources/TDLibKit/Generated/Models/CollectibleItemType.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/ConfirmQrCodeAuthentication.swift b/Sources/TDLibKit/Generated/Models/ConfirmQrCodeAuthentication.swift index bc283fa43a..d7a67e3122 100644 --- a/Sources/TDLibKit/Generated/Models/ConfirmQrCodeAuthentication.swift +++ b/Sources/TDLibKit/Generated/Models/ConfirmQrCodeAuthentication.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/ConfirmSession.swift b/Sources/TDLibKit/Generated/Models/ConfirmSession.swift index 5a688cc820..1ead78c0cf 100644 --- a/Sources/TDLibKit/Generated/Models/ConfirmSession.swift +++ b/Sources/TDLibKit/Generated/Models/ConfirmSession.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/ConnectedWebsite.swift b/Sources/TDLibKit/Generated/Models/ConnectedWebsite.swift index 53cac6c59b..0975d6cc4b 100644 --- a/Sources/TDLibKit/Generated/Models/ConnectedWebsite.swift +++ b/Sources/TDLibKit/Generated/Models/ConnectedWebsite.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/ConnectedWebsites.swift b/Sources/TDLibKit/Generated/Models/ConnectedWebsites.swift index 7cc83c6f4a..65111b0707 100644 --- a/Sources/TDLibKit/Generated/Models/ConnectedWebsites.swift +++ b/Sources/TDLibKit/Generated/Models/ConnectedWebsites.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/ConnectionState.swift b/Sources/TDLibKit/Generated/Models/ConnectionState.swift index 07959261ef..68ea68b92f 100644 --- a/Sources/TDLibKit/Generated/Models/ConnectionState.swift +++ b/Sources/TDLibKit/Generated/Models/ConnectionState.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/Contact.swift b/Sources/TDLibKit/Generated/Models/Contact.swift index 93d2b1c314..ea7aac3ba5 100644 --- a/Sources/TDLibKit/Generated/Models/Contact.swift +++ b/Sources/TDLibKit/Generated/Models/Contact.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/Count.swift b/Sources/TDLibKit/Generated/Models/Count.swift index 6c8a9fa5ec..fbbfd1c89e 100644 --- a/Sources/TDLibKit/Generated/Models/Count.swift +++ b/Sources/TDLibKit/Generated/Models/Count.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/Countries.swift b/Sources/TDLibKit/Generated/Models/Countries.swift index cb7ef345a9..6fd43f53a2 100644 --- a/Sources/TDLibKit/Generated/Models/Countries.swift +++ b/Sources/TDLibKit/Generated/Models/Countries.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/CountryInfo.swift b/Sources/TDLibKit/Generated/Models/CountryInfo.swift index 55c68b2cb9..afe73c7a37 100644 --- a/Sources/TDLibKit/Generated/Models/CountryInfo.swift +++ b/Sources/TDLibKit/Generated/Models/CountryInfo.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/CreateBasicGroupChat.swift b/Sources/TDLibKit/Generated/Models/CreateBasicGroupChat.swift index 5a5e0b3c66..1717d3088e 100644 --- a/Sources/TDLibKit/Generated/Models/CreateBasicGroupChat.swift +++ b/Sources/TDLibKit/Generated/Models/CreateBasicGroupChat.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/CreateBusinessChatLink.swift b/Sources/TDLibKit/Generated/Models/CreateBusinessChatLink.swift index 5c44954ffa..0c236651f6 100644 --- a/Sources/TDLibKit/Generated/Models/CreateBusinessChatLink.swift +++ b/Sources/TDLibKit/Generated/Models/CreateBusinessChatLink.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/CreateCall.swift b/Sources/TDLibKit/Generated/Models/CreateCall.swift index 356bb44b6f..680a8ec72d 100644 --- a/Sources/TDLibKit/Generated/Models/CreateCall.swift +++ b/Sources/TDLibKit/Generated/Models/CreateCall.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/CreateChatFolder.swift b/Sources/TDLibKit/Generated/Models/CreateChatFolder.swift index a63688db51..a20f0797b5 100644 --- a/Sources/TDLibKit/Generated/Models/CreateChatFolder.swift +++ b/Sources/TDLibKit/Generated/Models/CreateChatFolder.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/CreateChatFolderInviteLink.swift b/Sources/TDLibKit/Generated/Models/CreateChatFolderInviteLink.swift index f2a409a0d3..89bdaf112b 100644 --- a/Sources/TDLibKit/Generated/Models/CreateChatFolderInviteLink.swift +++ b/Sources/TDLibKit/Generated/Models/CreateChatFolderInviteLink.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/CreateChatInviteLink.swift b/Sources/TDLibKit/Generated/Models/CreateChatInviteLink.swift index f851f0cf89..52057cb055 100644 --- a/Sources/TDLibKit/Generated/Models/CreateChatInviteLink.swift +++ b/Sources/TDLibKit/Generated/Models/CreateChatInviteLink.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/CreateForumTopic.swift b/Sources/TDLibKit/Generated/Models/CreateForumTopic.swift index fab5191182..8cc4b25d2f 100644 --- a/Sources/TDLibKit/Generated/Models/CreateForumTopic.swift +++ b/Sources/TDLibKit/Generated/Models/CreateForumTopic.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/CreateInvoiceLink.swift b/Sources/TDLibKit/Generated/Models/CreateInvoiceLink.swift index 31bbc4d5ff..fa5995129c 100644 --- a/Sources/TDLibKit/Generated/Models/CreateInvoiceLink.swift +++ b/Sources/TDLibKit/Generated/Models/CreateInvoiceLink.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/CreateNewBasicGroupChat.swift b/Sources/TDLibKit/Generated/Models/CreateNewBasicGroupChat.swift index b404f3d6fb..8688c1e195 100644 --- a/Sources/TDLibKit/Generated/Models/CreateNewBasicGroupChat.swift +++ b/Sources/TDLibKit/Generated/Models/CreateNewBasicGroupChat.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/CreateNewSecretChat.swift b/Sources/TDLibKit/Generated/Models/CreateNewSecretChat.swift index 512bfebfcf..ad2cc60bca 100644 --- a/Sources/TDLibKit/Generated/Models/CreateNewSecretChat.swift +++ b/Sources/TDLibKit/Generated/Models/CreateNewSecretChat.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/CreateNewStickerSet.swift b/Sources/TDLibKit/Generated/Models/CreateNewStickerSet.swift index ccb9d76315..fdf7e4a1d1 100644 --- a/Sources/TDLibKit/Generated/Models/CreateNewStickerSet.swift +++ b/Sources/TDLibKit/Generated/Models/CreateNewStickerSet.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation @@ -13,7 +13,7 @@ import Foundation /// Creates a new sticker set. Returns the newly created sticker set public struct CreateNewStickerSet: Codable, Equatable, Hashable { - /// Sticker set name. Can contain only English letters, digits and underscores. Must end with *"_by_"* (** is case insensitive) for bots; 0-64 characters.//-If empty, then the name returned by getSuggestedStickerSetName will be used automatically + /// Sticker set name. Can contain only English letters, digits and underscores. Must end with *"_by_"* (** is case insensitive) for bots; 0-64 characters. If empty, then the name returned by getSuggestedStickerSetName will be used automatically public let name: String? /// Pass true if stickers in the sticker set must be repainted; for custom emoji sticker sets only diff --git a/Sources/TDLibKit/Generated/Models/CreateNewSupergroupChat.swift b/Sources/TDLibKit/Generated/Models/CreateNewSupergroupChat.swift index d603fb96ea..c505acc47c 100644 --- a/Sources/TDLibKit/Generated/Models/CreateNewSupergroupChat.swift +++ b/Sources/TDLibKit/Generated/Models/CreateNewSupergroupChat.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/CreatePrivateChat.swift b/Sources/TDLibKit/Generated/Models/CreatePrivateChat.swift index 195be2a636..a88edf6af6 100644 --- a/Sources/TDLibKit/Generated/Models/CreatePrivateChat.swift +++ b/Sources/TDLibKit/Generated/Models/CreatePrivateChat.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/CreateSecretChat.swift b/Sources/TDLibKit/Generated/Models/CreateSecretChat.swift index 6a28cac82a..a671e5918c 100644 --- a/Sources/TDLibKit/Generated/Models/CreateSecretChat.swift +++ b/Sources/TDLibKit/Generated/Models/CreateSecretChat.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/CreateSupergroupChat.swift b/Sources/TDLibKit/Generated/Models/CreateSupergroupChat.swift index 06f0accb62..73b3ac419d 100644 --- a/Sources/TDLibKit/Generated/Models/CreateSupergroupChat.swift +++ b/Sources/TDLibKit/Generated/Models/CreateSupergroupChat.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/CreateTemporaryPassword.swift b/Sources/TDLibKit/Generated/Models/CreateTemporaryPassword.swift index bc720b5034..84ad1724fb 100644 --- a/Sources/TDLibKit/Generated/Models/CreateTemporaryPassword.swift +++ b/Sources/TDLibKit/Generated/Models/CreateTemporaryPassword.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/CreateVideoChat.swift b/Sources/TDLibKit/Generated/Models/CreateVideoChat.swift index 1a87d5c054..1b09adb5ed 100644 --- a/Sources/TDLibKit/Generated/Models/CreateVideoChat.swift +++ b/Sources/TDLibKit/Generated/Models/CreateVideoChat.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/CreatedBasicGroupChat.swift b/Sources/TDLibKit/Generated/Models/CreatedBasicGroupChat.swift index 35e880cdfe..e061965d6e 100644 --- a/Sources/TDLibKit/Generated/Models/CreatedBasicGroupChat.swift +++ b/Sources/TDLibKit/Generated/Models/CreatedBasicGroupChat.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/CustomRequestResult.swift b/Sources/TDLibKit/Generated/Models/CustomRequestResult.swift index 3ddc15f585..88d16a6dd4 100644 --- a/Sources/TDLibKit/Generated/Models/CustomRequestResult.swift +++ b/Sources/TDLibKit/Generated/Models/CustomRequestResult.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/DatabaseStatistics.swift b/Sources/TDLibKit/Generated/Models/DatabaseStatistics.swift index 36a4c49db6..1053557179 100644 --- a/Sources/TDLibKit/Generated/Models/DatabaseStatistics.swift +++ b/Sources/TDLibKit/Generated/Models/DatabaseStatistics.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/Date.swift b/Sources/TDLibKit/Generated/Models/Date.swift index d81351160d..51b26d5ce1 100644 --- a/Sources/TDLibKit/Generated/Models/Date.swift +++ b/Sources/TDLibKit/Generated/Models/Date.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/DateRange.swift b/Sources/TDLibKit/Generated/Models/DateRange.swift index 90a56abd4b..cbed4f70de 100644 --- a/Sources/TDLibKit/Generated/Models/DateRange.swift +++ b/Sources/TDLibKit/Generated/Models/DateRange.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/DatedFile.swift b/Sources/TDLibKit/Generated/Models/DatedFile.swift index 5b2c6b30ae..8e087a8295 100644 --- a/Sources/TDLibKit/Generated/Models/DatedFile.swift +++ b/Sources/TDLibKit/Generated/Models/DatedFile.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/DeepLinkInfo.swift b/Sources/TDLibKit/Generated/Models/DeepLinkInfo.swift index 6e79185ca3..95e6060bc6 100644 --- a/Sources/TDLibKit/Generated/Models/DeepLinkInfo.swift +++ b/Sources/TDLibKit/Generated/Models/DeepLinkInfo.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/DeleteAccount.swift b/Sources/TDLibKit/Generated/Models/DeleteAccount.swift index 67c2baaf49..e263de9baf 100644 --- a/Sources/TDLibKit/Generated/Models/DeleteAccount.swift +++ b/Sources/TDLibKit/Generated/Models/DeleteAccount.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation @@ -13,7 +13,7 @@ import Foundation /// Deletes the account of the current user, deleting all information associated with the user from the server. The phone number of the account can be used to create a new account. Can be called before authorization when the current authorization state is authorizationStateWaitPassword public struct DeleteAccount: Codable, Equatable, Hashable { - /// The 2-step verification password of the current user. If not specified, account deletion can be canceled within one week + /// The 2-step verification password of the current user. If the current user isn't authorized, then an empty string can be passed and account deletion can be canceled within one week public let password: String? /// The reason why the account was deleted; optional diff --git a/Sources/TDLibKit/Generated/Models/DeleteAllCallMessages.swift b/Sources/TDLibKit/Generated/Models/DeleteAllCallMessages.swift index c200cef22a..e5e90f76e1 100644 --- a/Sources/TDLibKit/Generated/Models/DeleteAllCallMessages.swift +++ b/Sources/TDLibKit/Generated/Models/DeleteAllCallMessages.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/DeleteAllRevokedChatInviteLinks.swift b/Sources/TDLibKit/Generated/Models/DeleteAllRevokedChatInviteLinks.swift index e69907173d..a18c572e16 100644 --- a/Sources/TDLibKit/Generated/Models/DeleteAllRevokedChatInviteLinks.swift +++ b/Sources/TDLibKit/Generated/Models/DeleteAllRevokedChatInviteLinks.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/DeleteBusinessChatLink.swift b/Sources/TDLibKit/Generated/Models/DeleteBusinessChatLink.swift index 903d64ba24..44bce03d58 100644 --- a/Sources/TDLibKit/Generated/Models/DeleteBusinessChatLink.swift +++ b/Sources/TDLibKit/Generated/Models/DeleteBusinessChatLink.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/DeleteBusinessConnectedBot.swift b/Sources/TDLibKit/Generated/Models/DeleteBusinessConnectedBot.swift index fcc62e4a0b..a8ed6e57e9 100644 --- a/Sources/TDLibKit/Generated/Models/DeleteBusinessConnectedBot.swift +++ b/Sources/TDLibKit/Generated/Models/DeleteBusinessConnectedBot.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/DeleteChat.swift b/Sources/TDLibKit/Generated/Models/DeleteChat.swift index 3e414f1ca4..40eda1aa3e 100644 --- a/Sources/TDLibKit/Generated/Models/DeleteChat.swift +++ b/Sources/TDLibKit/Generated/Models/DeleteChat.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/DeleteChatBackground.swift b/Sources/TDLibKit/Generated/Models/DeleteChatBackground.swift index 2c3953cd96..5ed81aad52 100644 --- a/Sources/TDLibKit/Generated/Models/DeleteChatBackground.swift +++ b/Sources/TDLibKit/Generated/Models/DeleteChatBackground.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation @@ -16,7 +16,7 @@ public struct DeleteChatBackground: Codable, Equatable, Hashable { /// Chat identifier public let chatId: Int64? - /// Pass true to restore previously set background. Can be used only in private and secret chats with non-deleted users if userFullInfo.set_chat_background == true.//-Supposed to be used from messageChatSetBackground messages with the currently set background that was set for both sides by the other user + /// Pass true to restore previously set background. Can be used only in private and secret chats with non-deleted users if userFullInfo.set_chat_background == true. Supposed to be used from messageChatSetBackground messages with the currently set background that was set for both sides by the other user public let restorePrevious: Bool? diff --git a/Sources/TDLibKit/Generated/Models/DeleteChatFolder.swift b/Sources/TDLibKit/Generated/Models/DeleteChatFolder.swift index f5c8d3aec9..f5100e38bc 100644 --- a/Sources/TDLibKit/Generated/Models/DeleteChatFolder.swift +++ b/Sources/TDLibKit/Generated/Models/DeleteChatFolder.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/DeleteChatFolderInviteLink.swift b/Sources/TDLibKit/Generated/Models/DeleteChatFolderInviteLink.swift index b7385837dd..8307506531 100644 --- a/Sources/TDLibKit/Generated/Models/DeleteChatFolderInviteLink.swift +++ b/Sources/TDLibKit/Generated/Models/DeleteChatFolderInviteLink.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/DeleteChatHistory.swift b/Sources/TDLibKit/Generated/Models/DeleteChatHistory.swift index bad859b1a3..1cbefe81b2 100644 --- a/Sources/TDLibKit/Generated/Models/DeleteChatHistory.swift +++ b/Sources/TDLibKit/Generated/Models/DeleteChatHistory.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/DeleteChatMessagesByDate.swift b/Sources/TDLibKit/Generated/Models/DeleteChatMessagesByDate.swift index cacf322a54..6c7f897590 100644 --- a/Sources/TDLibKit/Generated/Models/DeleteChatMessagesByDate.swift +++ b/Sources/TDLibKit/Generated/Models/DeleteChatMessagesByDate.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/DeleteChatMessagesBySender.swift b/Sources/TDLibKit/Generated/Models/DeleteChatMessagesBySender.swift index f498d4b1ef..4dedd720fd 100644 --- a/Sources/TDLibKit/Generated/Models/DeleteChatMessagesBySender.swift +++ b/Sources/TDLibKit/Generated/Models/DeleteChatMessagesBySender.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/DeleteChatReplyMarkup.swift b/Sources/TDLibKit/Generated/Models/DeleteChatReplyMarkup.swift index 6c5486aa1c..2beb8c7deb 100644 --- a/Sources/TDLibKit/Generated/Models/DeleteChatReplyMarkup.swift +++ b/Sources/TDLibKit/Generated/Models/DeleteChatReplyMarkup.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/DeleteCommands.swift b/Sources/TDLibKit/Generated/Models/DeleteCommands.swift index 28424b054e..d2606ae07a 100644 --- a/Sources/TDLibKit/Generated/Models/DeleteCommands.swift +++ b/Sources/TDLibKit/Generated/Models/DeleteCommands.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/DeleteDefaultBackground.swift b/Sources/TDLibKit/Generated/Models/DeleteDefaultBackground.swift index 464a66b625..007859b83a 100644 --- a/Sources/TDLibKit/Generated/Models/DeleteDefaultBackground.swift +++ b/Sources/TDLibKit/Generated/Models/DeleteDefaultBackground.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/DeleteFile.swift b/Sources/TDLibKit/Generated/Models/DeleteFile.swift index 776aaae5e1..68085ba287 100644 --- a/Sources/TDLibKit/Generated/Models/DeleteFile.swift +++ b/Sources/TDLibKit/Generated/Models/DeleteFile.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/DeleteForumTopic.swift b/Sources/TDLibKit/Generated/Models/DeleteForumTopic.swift index 0e2e781826..9c482fee5a 100644 --- a/Sources/TDLibKit/Generated/Models/DeleteForumTopic.swift +++ b/Sources/TDLibKit/Generated/Models/DeleteForumTopic.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/DeleteLanguagePack.swift b/Sources/TDLibKit/Generated/Models/DeleteLanguagePack.swift index e50d287f0b..548cf2bec6 100644 --- a/Sources/TDLibKit/Generated/Models/DeleteLanguagePack.swift +++ b/Sources/TDLibKit/Generated/Models/DeleteLanguagePack.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/DeleteMessages.swift b/Sources/TDLibKit/Generated/Models/DeleteMessages.swift index 870feed3ac..1db486e905 100644 --- a/Sources/TDLibKit/Generated/Models/DeleteMessages.swift +++ b/Sources/TDLibKit/Generated/Models/DeleteMessages.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/DeletePassportElement.swift b/Sources/TDLibKit/Generated/Models/DeletePassportElement.swift index b39f785651..26ad8920f8 100644 --- a/Sources/TDLibKit/Generated/Models/DeletePassportElement.swift +++ b/Sources/TDLibKit/Generated/Models/DeletePassportElement.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/DeleteProfilePhoto.swift b/Sources/TDLibKit/Generated/Models/DeleteProfilePhoto.swift index 17d0e4f99c..18a6cc2362 100644 --- a/Sources/TDLibKit/Generated/Models/DeleteProfilePhoto.swift +++ b/Sources/TDLibKit/Generated/Models/DeleteProfilePhoto.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/DeleteQuickReplyShortcut.swift b/Sources/TDLibKit/Generated/Models/DeleteQuickReplyShortcut.swift index a55a61f3ed..64384e2dde 100644 --- a/Sources/TDLibKit/Generated/Models/DeleteQuickReplyShortcut.swift +++ b/Sources/TDLibKit/Generated/Models/DeleteQuickReplyShortcut.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/DeleteQuickReplyShortcutMessages.swift b/Sources/TDLibKit/Generated/Models/DeleteQuickReplyShortcutMessages.swift index 4aca16b9e8..5718dadce6 100644 --- a/Sources/TDLibKit/Generated/Models/DeleteQuickReplyShortcutMessages.swift +++ b/Sources/TDLibKit/Generated/Models/DeleteQuickReplyShortcutMessages.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/DeleteRevokedChatInviteLink.swift b/Sources/TDLibKit/Generated/Models/DeleteRevokedChatInviteLink.swift index c0adc54194..1a75fa1ad2 100644 --- a/Sources/TDLibKit/Generated/Models/DeleteRevokedChatInviteLink.swift +++ b/Sources/TDLibKit/Generated/Models/DeleteRevokedChatInviteLink.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/DeleteSavedCredentials.swift b/Sources/TDLibKit/Generated/Models/DeleteSavedCredentials.swift index d467021c31..fcba7be52f 100644 --- a/Sources/TDLibKit/Generated/Models/DeleteSavedCredentials.swift +++ b/Sources/TDLibKit/Generated/Models/DeleteSavedCredentials.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/DeleteSavedMessagesTopicHistory.swift b/Sources/TDLibKit/Generated/Models/DeleteSavedMessagesTopicHistory.swift index 30b8c33a3e..1162eacccf 100644 --- a/Sources/TDLibKit/Generated/Models/DeleteSavedMessagesTopicHistory.swift +++ b/Sources/TDLibKit/Generated/Models/DeleteSavedMessagesTopicHistory.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/DeleteSavedMessagesTopicMessagesByDate.swift b/Sources/TDLibKit/Generated/Models/DeleteSavedMessagesTopicMessagesByDate.swift index ca64cd1149..4a9dfd110b 100644 --- a/Sources/TDLibKit/Generated/Models/DeleteSavedMessagesTopicMessagesByDate.swift +++ b/Sources/TDLibKit/Generated/Models/DeleteSavedMessagesTopicMessagesByDate.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/DeleteSavedOrderInfo.swift b/Sources/TDLibKit/Generated/Models/DeleteSavedOrderInfo.swift index 622f9317d0..77c0802347 100644 --- a/Sources/TDLibKit/Generated/Models/DeleteSavedOrderInfo.swift +++ b/Sources/TDLibKit/Generated/Models/DeleteSavedOrderInfo.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/DeleteStickerSet.swift b/Sources/TDLibKit/Generated/Models/DeleteStickerSet.swift index 2c9762e83f..484f421f20 100644 --- a/Sources/TDLibKit/Generated/Models/DeleteStickerSet.swift +++ b/Sources/TDLibKit/Generated/Models/DeleteStickerSet.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/DeleteStory.swift b/Sources/TDLibKit/Generated/Models/DeleteStory.swift index 6744bc4b57..3b85d53376 100644 --- a/Sources/TDLibKit/Generated/Models/DeleteStory.swift +++ b/Sources/TDLibKit/Generated/Models/DeleteStory.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/Destroy.swift b/Sources/TDLibKit/Generated/Models/Destroy.swift index 44bf2095b1..c50fd8547d 100644 --- a/Sources/TDLibKit/Generated/Models/Destroy.swift +++ b/Sources/TDLibKit/Generated/Models/Destroy.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/DeviceToken.swift b/Sources/TDLibKit/Generated/Models/DeviceToken.swift index 788145b806..284abc4f66 100644 --- a/Sources/TDLibKit/Generated/Models/DeviceToken.swift +++ b/Sources/TDLibKit/Generated/Models/DeviceToken.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/DiceStickers.swift b/Sources/TDLibKit/Generated/Models/DiceStickers.swift index b98be761d7..b340c42b79 100644 --- a/Sources/TDLibKit/Generated/Models/DiceStickers.swift +++ b/Sources/TDLibKit/Generated/Models/DiceStickers.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/DisableAllSupergroupUsernames.swift b/Sources/TDLibKit/Generated/Models/DisableAllSupergroupUsernames.swift index 26ad722561..4e7880d3c7 100644 --- a/Sources/TDLibKit/Generated/Models/DisableAllSupergroupUsernames.swift +++ b/Sources/TDLibKit/Generated/Models/DisableAllSupergroupUsernames.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/DisableProxy.swift b/Sources/TDLibKit/Generated/Models/DisableProxy.swift index 71d655d7e2..b4c24f1afa 100644 --- a/Sources/TDLibKit/Generated/Models/DisableProxy.swift +++ b/Sources/TDLibKit/Generated/Models/DisableProxy.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/DiscardCall.swift b/Sources/TDLibKit/Generated/Models/DiscardCall.swift index 145e4be4e7..c3e35c02da 100644 --- a/Sources/TDLibKit/Generated/Models/DiscardCall.swift +++ b/Sources/TDLibKit/Generated/Models/DiscardCall.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/DisconnectAllWebsites.swift b/Sources/TDLibKit/Generated/Models/DisconnectAllWebsites.swift index b19670b9ab..476d3e08a1 100644 --- a/Sources/TDLibKit/Generated/Models/DisconnectAllWebsites.swift +++ b/Sources/TDLibKit/Generated/Models/DisconnectAllWebsites.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/DisconnectWebsite.swift b/Sources/TDLibKit/Generated/Models/DisconnectWebsite.swift index 845555e81e..66b4b72bc8 100644 --- a/Sources/TDLibKit/Generated/Models/DisconnectWebsite.swift +++ b/Sources/TDLibKit/Generated/Models/DisconnectWebsite.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/Document.swift b/Sources/TDLibKit/Generated/Models/Document.swift index 73439eb9f5..a45d60867c 100644 --- a/Sources/TDLibKit/Generated/Models/Document.swift +++ b/Sources/TDLibKit/Generated/Models/Document.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/DownloadFile.swift b/Sources/TDLibKit/Generated/Models/DownloadFile.swift index cbdadf5e84..5d01205557 100644 --- a/Sources/TDLibKit/Generated/Models/DownloadFile.swift +++ b/Sources/TDLibKit/Generated/Models/DownloadFile.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/DownloadedFileCounts.swift b/Sources/TDLibKit/Generated/Models/DownloadedFileCounts.swift index 7a16655cf0..1e6598d61b 100644 --- a/Sources/TDLibKit/Generated/Models/DownloadedFileCounts.swift +++ b/Sources/TDLibKit/Generated/Models/DownloadedFileCounts.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/DraftMessage.swift b/Sources/TDLibKit/Generated/Models/DraftMessage.swift index 31f1521349..e7b178ff3a 100644 --- a/Sources/TDLibKit/Generated/Models/DraftMessage.swift +++ b/Sources/TDLibKit/Generated/Models/DraftMessage.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/EditBusinessChatLink.swift b/Sources/TDLibKit/Generated/Models/EditBusinessChatLink.swift index e56a0f98c5..ef82fa7382 100644 --- a/Sources/TDLibKit/Generated/Models/EditBusinessChatLink.swift +++ b/Sources/TDLibKit/Generated/Models/EditBusinessChatLink.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/EditChatFolder.swift b/Sources/TDLibKit/Generated/Models/EditChatFolder.swift index df2770992b..ec7d540f7c 100644 --- a/Sources/TDLibKit/Generated/Models/EditChatFolder.swift +++ b/Sources/TDLibKit/Generated/Models/EditChatFolder.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/EditChatFolderInviteLink.swift b/Sources/TDLibKit/Generated/Models/EditChatFolderInviteLink.swift index 7ec0ae550f..3442d1aaa3 100644 --- a/Sources/TDLibKit/Generated/Models/EditChatFolderInviteLink.swift +++ b/Sources/TDLibKit/Generated/Models/EditChatFolderInviteLink.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/EditChatInviteLink.swift b/Sources/TDLibKit/Generated/Models/EditChatInviteLink.swift index 78fa84331e..8cfa7b6a82 100644 --- a/Sources/TDLibKit/Generated/Models/EditChatInviteLink.swift +++ b/Sources/TDLibKit/Generated/Models/EditChatInviteLink.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/EditCustomLanguagePackInfo.swift b/Sources/TDLibKit/Generated/Models/EditCustomLanguagePackInfo.swift index d905d8d4cd..4de1b217b6 100644 --- a/Sources/TDLibKit/Generated/Models/EditCustomLanguagePackInfo.swift +++ b/Sources/TDLibKit/Generated/Models/EditCustomLanguagePackInfo.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/EditForumTopic.swift b/Sources/TDLibKit/Generated/Models/EditForumTopic.swift index 0622f091ff..8f6d0168c3 100644 --- a/Sources/TDLibKit/Generated/Models/EditForumTopic.swift +++ b/Sources/TDLibKit/Generated/Models/EditForumTopic.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/EditInlineMessageCaption.swift b/Sources/TDLibKit/Generated/Models/EditInlineMessageCaption.swift index 8ed108f8d9..f2b99758af 100644 --- a/Sources/TDLibKit/Generated/Models/EditInlineMessageCaption.swift +++ b/Sources/TDLibKit/Generated/Models/EditInlineMessageCaption.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/EditInlineMessageLiveLocation.swift b/Sources/TDLibKit/Generated/Models/EditInlineMessageLiveLocation.swift index 9de4fff764..ea6e4384ec 100644 --- a/Sources/TDLibKit/Generated/Models/EditInlineMessageLiveLocation.swift +++ b/Sources/TDLibKit/Generated/Models/EditInlineMessageLiveLocation.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation @@ -19,6 +19,9 @@ public struct EditInlineMessageLiveLocation: Codable, Equatable, Hashable { /// Inline message identifier public let inlineMessageId: String? + /// New time relative to the message send date, for which the location can be updated, in seconds. If 0x7FFFFFFF specified, then the location can be updated forever. Otherwise, must not exceed the current live_period by more than a day, and the live location expiration date must remain in the next 90 days. Pass 0 to keep the current live_period + public let livePeriod: Int? + /// New location content of the message; pass null to stop sharing the live location public let location: Location? @@ -32,12 +35,14 @@ public struct EditInlineMessageLiveLocation: Codable, Equatable, Hashable { public init( heading: Int?, inlineMessageId: String?, + livePeriod: Int?, location: Location?, proximityAlertRadius: Int?, replyMarkup: ReplyMarkup? ) { self.heading = heading self.inlineMessageId = inlineMessageId + self.livePeriod = livePeriod self.location = location self.proximityAlertRadius = proximityAlertRadius self.replyMarkup = replyMarkup diff --git a/Sources/TDLibKit/Generated/Models/EditInlineMessageMedia.swift b/Sources/TDLibKit/Generated/Models/EditInlineMessageMedia.swift index 91e0019ccf..73b6a03c1a 100644 --- a/Sources/TDLibKit/Generated/Models/EditInlineMessageMedia.swift +++ b/Sources/TDLibKit/Generated/Models/EditInlineMessageMedia.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/EditInlineMessageReplyMarkup.swift b/Sources/TDLibKit/Generated/Models/EditInlineMessageReplyMarkup.swift index 55c21ff0c6..cf4482d599 100644 --- a/Sources/TDLibKit/Generated/Models/EditInlineMessageReplyMarkup.swift +++ b/Sources/TDLibKit/Generated/Models/EditInlineMessageReplyMarkup.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/EditInlineMessageText.swift b/Sources/TDLibKit/Generated/Models/EditInlineMessageText.swift index 12e99f27ce..80a33400d4 100644 --- a/Sources/TDLibKit/Generated/Models/EditInlineMessageText.swift +++ b/Sources/TDLibKit/Generated/Models/EditInlineMessageText.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/EditMessageCaption.swift b/Sources/TDLibKit/Generated/Models/EditMessageCaption.swift index 35418ef82d..f09b457da8 100644 --- a/Sources/TDLibKit/Generated/Models/EditMessageCaption.swift +++ b/Sources/TDLibKit/Generated/Models/EditMessageCaption.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/EditMessageLiveLocation.swift b/Sources/TDLibKit/Generated/Models/EditMessageLiveLocation.swift index 4de8817dbe..4a90c4a91d 100644 --- a/Sources/TDLibKit/Generated/Models/EditMessageLiveLocation.swift +++ b/Sources/TDLibKit/Generated/Models/EditMessageLiveLocation.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation @@ -19,6 +19,9 @@ public struct EditMessageLiveLocation: Codable, Equatable, Hashable { /// The new direction in which the location moves, in degrees; 1-360. Pass 0 if unknown public let heading: Int? + /// New time relative to the message send date, for which the location can be updated, in seconds. If 0x7FFFFFFF specified, then the location can be updated forever. Otherwise, must not exceed the current live_period by more than a day, and the live location expiration date must remain in the next 90 days. Pass 0 to keep the current live_period + public let livePeriod: Int? + /// New location content of the message; pass null to stop sharing the live location public let location: Location? @@ -35,6 +38,7 @@ public struct EditMessageLiveLocation: Codable, Equatable, Hashable { public init( chatId: Int64?, heading: Int?, + livePeriod: Int?, location: Location?, messageId: Int64?, proximityAlertRadius: Int?, @@ -42,6 +46,7 @@ public struct EditMessageLiveLocation: Codable, Equatable, Hashable { ) { self.chatId = chatId self.heading = heading + self.livePeriod = livePeriod self.location = location self.messageId = messageId self.proximityAlertRadius = proximityAlertRadius diff --git a/Sources/TDLibKit/Generated/Models/EditMessageMedia.swift b/Sources/TDLibKit/Generated/Models/EditMessageMedia.swift index 571b41903e..640e1a7bcb 100644 --- a/Sources/TDLibKit/Generated/Models/EditMessageMedia.swift +++ b/Sources/TDLibKit/Generated/Models/EditMessageMedia.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/EditMessageReplyMarkup.swift b/Sources/TDLibKit/Generated/Models/EditMessageReplyMarkup.swift index c337c34a6f..bcfd26512c 100644 --- a/Sources/TDLibKit/Generated/Models/EditMessageReplyMarkup.swift +++ b/Sources/TDLibKit/Generated/Models/EditMessageReplyMarkup.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/EditMessageSchedulingState.swift b/Sources/TDLibKit/Generated/Models/EditMessageSchedulingState.swift index 691297e6a6..baa6a543bf 100644 --- a/Sources/TDLibKit/Generated/Models/EditMessageSchedulingState.swift +++ b/Sources/TDLibKit/Generated/Models/EditMessageSchedulingState.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/EditMessageText.swift b/Sources/TDLibKit/Generated/Models/EditMessageText.swift index b3b97d53c1..75089f281e 100644 --- a/Sources/TDLibKit/Generated/Models/EditMessageText.swift +++ b/Sources/TDLibKit/Generated/Models/EditMessageText.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/EditProxy.swift b/Sources/TDLibKit/Generated/Models/EditProxy.swift index 5f1c0d24de..2930eab4a1 100644 --- a/Sources/TDLibKit/Generated/Models/EditProxy.swift +++ b/Sources/TDLibKit/Generated/Models/EditProxy.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/EditQuickReplyMessage.swift b/Sources/TDLibKit/Generated/Models/EditQuickReplyMessage.swift index 9365482e7e..bb34d83cdd 100644 --- a/Sources/TDLibKit/Generated/Models/EditQuickReplyMessage.swift +++ b/Sources/TDLibKit/Generated/Models/EditQuickReplyMessage.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/EditStory.swift b/Sources/TDLibKit/Generated/Models/EditStory.swift index 639bceeaea..979d178a1e 100644 --- a/Sources/TDLibKit/Generated/Models/EditStory.swift +++ b/Sources/TDLibKit/Generated/Models/EditStory.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/EmailAddressAuthentication.swift b/Sources/TDLibKit/Generated/Models/EmailAddressAuthentication.swift index 5553b0ea26..ed41217cdd 100644 --- a/Sources/TDLibKit/Generated/Models/EmailAddressAuthentication.swift +++ b/Sources/TDLibKit/Generated/Models/EmailAddressAuthentication.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/EmailAddressAuthenticationCodeInfo.swift b/Sources/TDLibKit/Generated/Models/EmailAddressAuthenticationCodeInfo.swift index 98a5fc6c40..0b6a0d0600 100644 --- a/Sources/TDLibKit/Generated/Models/EmailAddressAuthenticationCodeInfo.swift +++ b/Sources/TDLibKit/Generated/Models/EmailAddressAuthenticationCodeInfo.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/EmailAddressResetState.swift b/Sources/TDLibKit/Generated/Models/EmailAddressResetState.swift index 5200838f21..08c48175e1 100644 --- a/Sources/TDLibKit/Generated/Models/EmailAddressResetState.swift +++ b/Sources/TDLibKit/Generated/Models/EmailAddressResetState.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/EmojiCategories.swift b/Sources/TDLibKit/Generated/Models/EmojiCategories.swift index f9169a6131..5c90864dca 100644 --- a/Sources/TDLibKit/Generated/Models/EmojiCategories.swift +++ b/Sources/TDLibKit/Generated/Models/EmojiCategories.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/EmojiCategory.swift b/Sources/TDLibKit/Generated/Models/EmojiCategory.swift index d2a2b1a9ef..3f1b09d384 100644 --- a/Sources/TDLibKit/Generated/Models/EmojiCategory.swift +++ b/Sources/TDLibKit/Generated/Models/EmojiCategory.swift @@ -3,34 +3,39 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation -/// Contains a list of similar emoji to search for in getStickers and searchStickers +/// Describes an emoji category public struct EmojiCategory: Codable, Equatable, Hashable { - /// List of emojis in the category - public let emojis: [String] - /// Custom emoji sticker, which represents icon of the category public let icon: Sticker + /// True, if the category must be shown first when choosing a sticker for the start page + public let isGreeting: Bool + /// Name of the category public let name: String + /// Source of stickers for the emoji category + public let source: EmojiCategorySource + public init( - emojis: [String], icon: Sticker, - name: String + isGreeting: Bool, + name: String, + source: EmojiCategorySource ) { - self.emojis = emojis self.icon = icon + self.isGreeting = isGreeting self.name = name + self.source = source } } diff --git a/Sources/TDLibKit/Generated/Models/EmojiCategorySource.swift b/Sources/TDLibKit/Generated/Models/EmojiCategorySource.swift new file mode 100644 index 0000000000..78eb400d62 --- /dev/null +++ b/Sources/TDLibKit/Generated/Models/EmojiCategorySource.swift @@ -0,0 +1,63 @@ +// +// EmojiCategorySource.swift +// tl2swift +// +// Generated automatically. Any changes will be lost! +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b +// + +import Foundation + + +/// Describes source of stickers for an emoji category +public indirect enum EmojiCategorySource: Codable, Equatable, Hashable { + + /// The category contains a list of similar emoji to search for in getStickers and searchStickers for stickers, or getInlineQueryResults with the bot getOption("animation_search_bot_username") for animations + case emojiCategorySourceSearch(EmojiCategorySourceSearch) + + /// The category contains Premium stickers that must be found by getPremiumStickers + case emojiCategorySourcePremium + + + private enum Kind: String, Codable { + case emojiCategorySourceSearch + case emojiCategorySourcePremium + } + + public init(from decoder: Decoder) throws { + let container = try decoder.container(keyedBy: DtoCodingKeys.self) + let type = try container.decode(Kind.self, forKey: .type) + switch type { + case .emojiCategorySourceSearch: + let value = try EmojiCategorySourceSearch(from: decoder) + self = .emojiCategorySourceSearch(value) + case .emojiCategorySourcePremium: + self = .emojiCategorySourcePremium + } + } + + public func encode(to encoder: Encoder) throws { + var container = encoder.container(keyedBy: DtoCodingKeys.self) + switch self { + case .emojiCategorySourceSearch(let value): + try container.encode(Kind.emojiCategorySourceSearch, forKey: .type) + try value.encode(to: encoder) + case .emojiCategorySourcePremium: + try container.encode(Kind.emojiCategorySourcePremium, forKey: .type) + } + } +} + +/// The category contains a list of similar emoji to search for in getStickers and searchStickers for stickers, or getInlineQueryResults with the bot getOption("animation_search_bot_username") for animations +public struct EmojiCategorySourceSearch: Codable, Equatable, Hashable { + + /// List of emojis for search for + public let emojis: [String] + + + public init(emojis: [String]) { + self.emojis = emojis + } +} + diff --git a/Sources/TDLibKit/Generated/Models/EmojiCategoryType.swift b/Sources/TDLibKit/Generated/Models/EmojiCategoryType.swift index 0b1133f966..2982dac6ea 100644 --- a/Sources/TDLibKit/Generated/Models/EmojiCategoryType.swift +++ b/Sources/TDLibKit/Generated/Models/EmojiCategoryType.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation @@ -13,9 +13,12 @@ import Foundation /// Describes type of emoji category public indirect enum EmojiCategoryType: Codable, Equatable, Hashable { - /// The category must be used by default + /// The category must be used by default (e.g., for custom emoji or animation search) case emojiCategoryTypeDefault + /// The category must be used by default for regular sticker selection. It may contain greeting emoji category and Premium stickers + case emojiCategoryTypeRegularStickers + /// The category must be used for emoji status selection case emojiCategoryTypeEmojiStatus @@ -25,6 +28,7 @@ public indirect enum EmojiCategoryType: Codable, Equatable, Hashable { private enum Kind: String, Codable { case emojiCategoryTypeDefault + case emojiCategoryTypeRegularStickers case emojiCategoryTypeEmojiStatus case emojiCategoryTypeChatPhoto } @@ -35,6 +39,8 @@ public indirect enum EmojiCategoryType: Codable, Equatable, Hashable { switch type { case .emojiCategoryTypeDefault: self = .emojiCategoryTypeDefault + case .emojiCategoryTypeRegularStickers: + self = .emojiCategoryTypeRegularStickers case .emojiCategoryTypeEmojiStatus: self = .emojiCategoryTypeEmojiStatus case .emojiCategoryTypeChatPhoto: @@ -47,6 +53,8 @@ public indirect enum EmojiCategoryType: Codable, Equatable, Hashable { switch self { case .emojiCategoryTypeDefault: try container.encode(Kind.emojiCategoryTypeDefault, forKey: .type) + case .emojiCategoryTypeRegularStickers: + try container.encode(Kind.emojiCategoryTypeRegularStickers, forKey: .type) case .emojiCategoryTypeEmojiStatus: try container.encode(Kind.emojiCategoryTypeEmojiStatus, forKey: .type) case .emojiCategoryTypeChatPhoto: diff --git a/Sources/TDLibKit/Generated/Models/EmojiKeyword.swift b/Sources/TDLibKit/Generated/Models/EmojiKeyword.swift index 218071771d..1ff52e3cc6 100644 --- a/Sources/TDLibKit/Generated/Models/EmojiKeyword.swift +++ b/Sources/TDLibKit/Generated/Models/EmojiKeyword.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/EmojiKeywords.swift b/Sources/TDLibKit/Generated/Models/EmojiKeywords.swift index a8468c2068..2688f6862c 100644 --- a/Sources/TDLibKit/Generated/Models/EmojiKeywords.swift +++ b/Sources/TDLibKit/Generated/Models/EmojiKeywords.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/EmojiReaction.swift b/Sources/TDLibKit/Generated/Models/EmojiReaction.swift index 34051ec365..582acd47a1 100644 --- a/Sources/TDLibKit/Generated/Models/EmojiReaction.swift +++ b/Sources/TDLibKit/Generated/Models/EmojiReaction.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/EmojiStatus.swift b/Sources/TDLibKit/Generated/Models/EmojiStatus.swift index caed17d445..2230998827 100644 --- a/Sources/TDLibKit/Generated/Models/EmojiStatus.swift +++ b/Sources/TDLibKit/Generated/Models/EmojiStatus.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/EmojiStatuses.swift b/Sources/TDLibKit/Generated/Models/EmojiStatuses.swift index c929bfacfb..fa78f9cdbc 100644 --- a/Sources/TDLibKit/Generated/Models/EmojiStatuses.swift +++ b/Sources/TDLibKit/Generated/Models/EmojiStatuses.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/Emojis.swift b/Sources/TDLibKit/Generated/Models/Emojis.swift index 36f6d308c6..fa3a59f401 100644 --- a/Sources/TDLibKit/Generated/Models/Emojis.swift +++ b/Sources/TDLibKit/Generated/Models/Emojis.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/EnableProxy.swift b/Sources/TDLibKit/Generated/Models/EnableProxy.swift index bb9b390969..fafa2924f7 100644 --- a/Sources/TDLibKit/Generated/Models/EnableProxy.swift +++ b/Sources/TDLibKit/Generated/Models/EnableProxy.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/EncryptedCredentials.swift b/Sources/TDLibKit/Generated/Models/EncryptedCredentials.swift index 5e23b0c3b2..26fd67596b 100644 --- a/Sources/TDLibKit/Generated/Models/EncryptedCredentials.swift +++ b/Sources/TDLibKit/Generated/Models/EncryptedCredentials.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/EncryptedPassportElement.swift b/Sources/TDLibKit/Generated/Models/EncryptedPassportElement.swift index aa59a4e17c..22459954b3 100644 --- a/Sources/TDLibKit/Generated/Models/EncryptedPassportElement.swift +++ b/Sources/TDLibKit/Generated/Models/EncryptedPassportElement.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/EndGroupCall.swift b/Sources/TDLibKit/Generated/Models/EndGroupCall.swift index e6602b0021..7ecbb72ce4 100644 --- a/Sources/TDLibKit/Generated/Models/EndGroupCall.swift +++ b/Sources/TDLibKit/Generated/Models/EndGroupCall.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/EndGroupCallRecording.swift b/Sources/TDLibKit/Generated/Models/EndGroupCallRecording.swift index 227c61bb2a..0ff287f629 100644 --- a/Sources/TDLibKit/Generated/Models/EndGroupCallRecording.swift +++ b/Sources/TDLibKit/Generated/Models/EndGroupCallRecording.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/EndGroupCallScreenSharing.swift b/Sources/TDLibKit/Generated/Models/EndGroupCallScreenSharing.swift index f30ba53d64..f11becb796 100644 --- a/Sources/TDLibKit/Generated/Models/EndGroupCallScreenSharing.swift +++ b/Sources/TDLibKit/Generated/Models/EndGroupCallScreenSharing.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/Error.swift b/Sources/TDLibKit/Generated/Models/Error.swift index d919b009a3..926d8734aa 100644 --- a/Sources/TDLibKit/Generated/Models/Error.swift +++ b/Sources/TDLibKit/Generated/Models/Error.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/FailedToAddMember.swift b/Sources/TDLibKit/Generated/Models/FailedToAddMember.swift index 038a3b2321..b00600728a 100644 --- a/Sources/TDLibKit/Generated/Models/FailedToAddMember.swift +++ b/Sources/TDLibKit/Generated/Models/FailedToAddMember.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/FailedToAddMembers.swift b/Sources/TDLibKit/Generated/Models/FailedToAddMembers.swift index 151004c503..d5240007ed 100644 --- a/Sources/TDLibKit/Generated/Models/FailedToAddMembers.swift +++ b/Sources/TDLibKit/Generated/Models/FailedToAddMembers.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/File.swift b/Sources/TDLibKit/Generated/Models/File.swift index c2f9471099..b21b781d33 100644 --- a/Sources/TDLibKit/Generated/Models/File.swift +++ b/Sources/TDLibKit/Generated/Models/File.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/FileDownload.swift b/Sources/TDLibKit/Generated/Models/FileDownload.swift index 06954f6ccc..d747b129ac 100644 --- a/Sources/TDLibKit/Generated/Models/FileDownload.swift +++ b/Sources/TDLibKit/Generated/Models/FileDownload.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/FileDownloadedPrefixSize.swift b/Sources/TDLibKit/Generated/Models/FileDownloadedPrefixSize.swift index dce5a33d19..f730746002 100644 --- a/Sources/TDLibKit/Generated/Models/FileDownloadedPrefixSize.swift +++ b/Sources/TDLibKit/Generated/Models/FileDownloadedPrefixSize.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/FilePart.swift b/Sources/TDLibKit/Generated/Models/FilePart.swift index 31972eee40..14686abd74 100644 --- a/Sources/TDLibKit/Generated/Models/FilePart.swift +++ b/Sources/TDLibKit/Generated/Models/FilePart.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/FileType.swift b/Sources/TDLibKit/Generated/Models/FileType.swift index 49534879a0..fe54de99fa 100644 --- a/Sources/TDLibKit/Generated/Models/FileType.swift +++ b/Sources/TDLibKit/Generated/Models/FileType.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/FinishFileGeneration.swift b/Sources/TDLibKit/Generated/Models/FinishFileGeneration.swift index 9bf96db3e3..a4b57a7721 100644 --- a/Sources/TDLibKit/Generated/Models/FinishFileGeneration.swift +++ b/Sources/TDLibKit/Generated/Models/FinishFileGeneration.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/FirebaseAuthenticationSettings.swift b/Sources/TDLibKit/Generated/Models/FirebaseAuthenticationSettings.swift index f74a406497..12b3f8f228 100644 --- a/Sources/TDLibKit/Generated/Models/FirebaseAuthenticationSettings.swift +++ b/Sources/TDLibKit/Generated/Models/FirebaseAuthenticationSettings.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/FormattedText.swift b/Sources/TDLibKit/Generated/Models/FormattedText.swift index 81f000ab1b..a8f201f8cb 100644 --- a/Sources/TDLibKit/Generated/Models/FormattedText.swift +++ b/Sources/TDLibKit/Generated/Models/FormattedText.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation @@ -13,7 +13,7 @@ import Foundation /// A text with some entities public struct FormattedText: Codable, Equatable, Hashable { - /// Entities contained in the text. Entities can be nested, but must not mutually intersect with each other.//-Pre, Code and PreCode entities can't contain other entities. BlockQuote entities can't contain other BlockQuote entities. Bold, Italic, Underline, Strikethrough, and Spoiler entities can contain and can be part of any other entities. All other entities can't contain each other + /// Entities contained in the text. Entities can be nested, but must not mutually intersect with each other. Pre, Code and PreCode entities can't contain other entities. BlockQuote entities can't contain other BlockQuote entities. Bold, Italic, Underline, Strikethrough, and Spoiler entities can contain and can be part of any other entities. All other entities can't contain each other public let entities: [TextEntity] /// The text diff --git a/Sources/TDLibKit/Generated/Models/ForumTopic.swift b/Sources/TDLibKit/Generated/Models/ForumTopic.swift index 3229396918..e26a37fc37 100644 --- a/Sources/TDLibKit/Generated/Models/ForumTopic.swift +++ b/Sources/TDLibKit/Generated/Models/ForumTopic.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/ForumTopicIcon.swift b/Sources/TDLibKit/Generated/Models/ForumTopicIcon.swift index 7afd163a63..689f6e9195 100644 --- a/Sources/TDLibKit/Generated/Models/ForumTopicIcon.swift +++ b/Sources/TDLibKit/Generated/Models/ForumTopicIcon.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/ForumTopicInfo.swift b/Sources/TDLibKit/Generated/Models/ForumTopicInfo.swift index e5da9168f2..c89bce244e 100644 --- a/Sources/TDLibKit/Generated/Models/ForumTopicInfo.swift +++ b/Sources/TDLibKit/Generated/Models/ForumTopicInfo.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/ForumTopics.swift b/Sources/TDLibKit/Generated/Models/ForumTopics.swift index 35ff1d28d0..eba3a59d19 100644 --- a/Sources/TDLibKit/Generated/Models/ForumTopics.swift +++ b/Sources/TDLibKit/Generated/Models/ForumTopics.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/ForwardMessages.swift b/Sources/TDLibKit/Generated/Models/ForwardMessages.swift index b779d8a6e2..f097bd5819 100644 --- a/Sources/TDLibKit/Generated/Models/ForwardMessages.swift +++ b/Sources/TDLibKit/Generated/Models/ForwardMessages.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/ForwardSource.swift b/Sources/TDLibKit/Generated/Models/ForwardSource.swift index f5c70b01f7..9106f39969 100644 --- a/Sources/TDLibKit/Generated/Models/ForwardSource.swift +++ b/Sources/TDLibKit/Generated/Models/ForwardSource.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/FoundChatBoosts.swift b/Sources/TDLibKit/Generated/Models/FoundChatBoosts.swift index 40d5221a9f..22911bbea4 100644 --- a/Sources/TDLibKit/Generated/Models/FoundChatBoosts.swift +++ b/Sources/TDLibKit/Generated/Models/FoundChatBoosts.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/FoundChatMessages.swift b/Sources/TDLibKit/Generated/Models/FoundChatMessages.swift index 8b46e156f4..15aa6f3bdd 100644 --- a/Sources/TDLibKit/Generated/Models/FoundChatMessages.swift +++ b/Sources/TDLibKit/Generated/Models/FoundChatMessages.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/FoundFileDownloads.swift b/Sources/TDLibKit/Generated/Models/FoundFileDownloads.swift index ef52ac696b..667a0fe339 100644 --- a/Sources/TDLibKit/Generated/Models/FoundFileDownloads.swift +++ b/Sources/TDLibKit/Generated/Models/FoundFileDownloads.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/FoundMessages.swift b/Sources/TDLibKit/Generated/Models/FoundMessages.swift index 8e544027fa..c08f6d0bbe 100644 --- a/Sources/TDLibKit/Generated/Models/FoundMessages.swift +++ b/Sources/TDLibKit/Generated/Models/FoundMessages.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/FoundPosition.swift b/Sources/TDLibKit/Generated/Models/FoundPosition.swift index 326d331232..9ddd44dd64 100644 --- a/Sources/TDLibKit/Generated/Models/FoundPosition.swift +++ b/Sources/TDLibKit/Generated/Models/FoundPosition.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/FoundPositions.swift b/Sources/TDLibKit/Generated/Models/FoundPositions.swift index 0a031e9d74..2f49991c60 100644 --- a/Sources/TDLibKit/Generated/Models/FoundPositions.swift +++ b/Sources/TDLibKit/Generated/Models/FoundPositions.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/FoundWebApp.swift b/Sources/TDLibKit/Generated/Models/FoundWebApp.swift index 554d5cb0fb..30fa46a4bb 100644 --- a/Sources/TDLibKit/Generated/Models/FoundWebApp.swift +++ b/Sources/TDLibKit/Generated/Models/FoundWebApp.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/Game.swift b/Sources/TDLibKit/Generated/Models/Game.swift index ecfe1a5449..7e24bf7654 100644 --- a/Sources/TDLibKit/Generated/Models/Game.swift +++ b/Sources/TDLibKit/Generated/Models/Game.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/GameHighScore.swift b/Sources/TDLibKit/Generated/Models/GameHighScore.swift index be900809a8..b09fa0257d 100644 --- a/Sources/TDLibKit/Generated/Models/GameHighScore.swift +++ b/Sources/TDLibKit/Generated/Models/GameHighScore.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/GameHighScores.swift b/Sources/TDLibKit/Generated/Models/GameHighScores.swift index 8125c7ae43..46018bc13e 100644 --- a/Sources/TDLibKit/Generated/Models/GameHighScores.swift +++ b/Sources/TDLibKit/Generated/Models/GameHighScores.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/GetAccountTtl.swift b/Sources/TDLibKit/Generated/Models/GetAccountTtl.swift index 5bdbabb119..3f4ffaf3af 100644 --- a/Sources/TDLibKit/Generated/Models/GetAccountTtl.swift +++ b/Sources/TDLibKit/Generated/Models/GetAccountTtl.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/GetActiveLiveLocationMessages.swift b/Sources/TDLibKit/Generated/Models/GetActiveLiveLocationMessages.swift index 3616501f13..b4f8b83c28 100644 --- a/Sources/TDLibKit/Generated/Models/GetActiveLiveLocationMessages.swift +++ b/Sources/TDLibKit/Generated/Models/GetActiveLiveLocationMessages.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/GetActiveSessions.swift b/Sources/TDLibKit/Generated/Models/GetActiveSessions.swift index 2b5dc3bd66..16a78c3ab1 100644 --- a/Sources/TDLibKit/Generated/Models/GetActiveSessions.swift +++ b/Sources/TDLibKit/Generated/Models/GetActiveSessions.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/GetAllPassportElements.swift b/Sources/TDLibKit/Generated/Models/GetAllPassportElements.swift index 2f03710a4a..98cc7acbe6 100644 --- a/Sources/TDLibKit/Generated/Models/GetAllPassportElements.swift +++ b/Sources/TDLibKit/Generated/Models/GetAllPassportElements.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/GetAllStickerEmojis.swift b/Sources/TDLibKit/Generated/Models/GetAllStickerEmojis.swift index 8fdc988ae2..ed7e8a0050 100644 --- a/Sources/TDLibKit/Generated/Models/GetAllStickerEmojis.swift +++ b/Sources/TDLibKit/Generated/Models/GetAllStickerEmojis.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/GetAnimatedEmoji.swift b/Sources/TDLibKit/Generated/Models/GetAnimatedEmoji.swift index 96ae2c92ba..c8f754a224 100644 --- a/Sources/TDLibKit/Generated/Models/GetAnimatedEmoji.swift +++ b/Sources/TDLibKit/Generated/Models/GetAnimatedEmoji.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/GetApplicationConfig.swift b/Sources/TDLibKit/Generated/Models/GetApplicationConfig.swift index 353429cce4..b854a9c9bf 100644 --- a/Sources/TDLibKit/Generated/Models/GetApplicationConfig.swift +++ b/Sources/TDLibKit/Generated/Models/GetApplicationConfig.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/GetApplicationDownloadLink.swift b/Sources/TDLibKit/Generated/Models/GetApplicationDownloadLink.swift index 32688744ac..7b5be56c8b 100644 --- a/Sources/TDLibKit/Generated/Models/GetApplicationDownloadLink.swift +++ b/Sources/TDLibKit/Generated/Models/GetApplicationDownloadLink.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/GetArchiveChatListSettings.swift b/Sources/TDLibKit/Generated/Models/GetArchiveChatListSettings.swift index c6992132d0..c7f716f9bf 100644 --- a/Sources/TDLibKit/Generated/Models/GetArchiveChatListSettings.swift +++ b/Sources/TDLibKit/Generated/Models/GetArchiveChatListSettings.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/GetArchivedStickerSets.swift b/Sources/TDLibKit/Generated/Models/GetArchivedStickerSets.swift index 69f283a3c7..05bb58a6c5 100644 --- a/Sources/TDLibKit/Generated/Models/GetArchivedStickerSets.swift +++ b/Sources/TDLibKit/Generated/Models/GetArchivedStickerSets.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/GetAttachedStickerSets.swift b/Sources/TDLibKit/Generated/Models/GetAttachedStickerSets.swift index eabed24a0b..86827619c6 100644 --- a/Sources/TDLibKit/Generated/Models/GetAttachedStickerSets.swift +++ b/Sources/TDLibKit/Generated/Models/GetAttachedStickerSets.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/GetAttachmentMenuBot.swift b/Sources/TDLibKit/Generated/Models/GetAttachmentMenuBot.swift index 23d8d893c4..42167ed497 100644 --- a/Sources/TDLibKit/Generated/Models/GetAttachmentMenuBot.swift +++ b/Sources/TDLibKit/Generated/Models/GetAttachmentMenuBot.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/GetAuthorizationState.swift b/Sources/TDLibKit/Generated/Models/GetAuthorizationState.swift index 1551568dfd..b71170215a 100644 --- a/Sources/TDLibKit/Generated/Models/GetAuthorizationState.swift +++ b/Sources/TDLibKit/Generated/Models/GetAuthorizationState.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/GetAutoDownloadSettingsPresets.swift b/Sources/TDLibKit/Generated/Models/GetAutoDownloadSettingsPresets.swift index 384df7ff24..f4f4a247bf 100644 --- a/Sources/TDLibKit/Generated/Models/GetAutoDownloadSettingsPresets.swift +++ b/Sources/TDLibKit/Generated/Models/GetAutoDownloadSettingsPresets.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/GetAutosaveSettings.swift b/Sources/TDLibKit/Generated/Models/GetAutosaveSettings.swift index 88aeac2573..196d260fab 100644 --- a/Sources/TDLibKit/Generated/Models/GetAutosaveSettings.swift +++ b/Sources/TDLibKit/Generated/Models/GetAutosaveSettings.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/GetAvailableChatBoostSlots.swift b/Sources/TDLibKit/Generated/Models/GetAvailableChatBoostSlots.swift index ad5dcb7c08..c2ec81ef38 100644 --- a/Sources/TDLibKit/Generated/Models/GetAvailableChatBoostSlots.swift +++ b/Sources/TDLibKit/Generated/Models/GetAvailableChatBoostSlots.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/GetBackgroundUrl.swift b/Sources/TDLibKit/Generated/Models/GetBackgroundUrl.swift index 5d8bc9751b..f079ecaaeb 100644 --- a/Sources/TDLibKit/Generated/Models/GetBackgroundUrl.swift +++ b/Sources/TDLibKit/Generated/Models/GetBackgroundUrl.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/GetBankCardInfo.swift b/Sources/TDLibKit/Generated/Models/GetBankCardInfo.swift index 86f7d2dd43..d1655a3974 100644 --- a/Sources/TDLibKit/Generated/Models/GetBankCardInfo.swift +++ b/Sources/TDLibKit/Generated/Models/GetBankCardInfo.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/GetBasicGroup.swift b/Sources/TDLibKit/Generated/Models/GetBasicGroup.swift index 19f4b87c26..6273307220 100644 --- a/Sources/TDLibKit/Generated/Models/GetBasicGroup.swift +++ b/Sources/TDLibKit/Generated/Models/GetBasicGroup.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/GetBasicGroupFullInfo.swift b/Sources/TDLibKit/Generated/Models/GetBasicGroupFullInfo.swift index 407e38b1e8..75d58949e1 100644 --- a/Sources/TDLibKit/Generated/Models/GetBasicGroupFullInfo.swift +++ b/Sources/TDLibKit/Generated/Models/GetBasicGroupFullInfo.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/GetBlockedMessageSenders.swift b/Sources/TDLibKit/Generated/Models/GetBlockedMessageSenders.swift index f31a3b4f8d..68c27b71a3 100644 --- a/Sources/TDLibKit/Generated/Models/GetBlockedMessageSenders.swift +++ b/Sources/TDLibKit/Generated/Models/GetBlockedMessageSenders.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/GetBotInfoDescription.swift b/Sources/TDLibKit/Generated/Models/GetBotInfoDescription.swift index dd3e668a38..d43d8aefdf 100644 --- a/Sources/TDLibKit/Generated/Models/GetBotInfoDescription.swift +++ b/Sources/TDLibKit/Generated/Models/GetBotInfoDescription.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/GetBotInfoShortDescription.swift b/Sources/TDLibKit/Generated/Models/GetBotInfoShortDescription.swift index dc223daf08..19a4ef8589 100644 --- a/Sources/TDLibKit/Generated/Models/GetBotInfoShortDescription.swift +++ b/Sources/TDLibKit/Generated/Models/GetBotInfoShortDescription.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/GetBotName.swift b/Sources/TDLibKit/Generated/Models/GetBotName.swift index 36cd8d45ea..4dd6ccd365 100644 --- a/Sources/TDLibKit/Generated/Models/GetBotName.swift +++ b/Sources/TDLibKit/Generated/Models/GetBotName.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/GetBusinessChatLinkInfo.swift b/Sources/TDLibKit/Generated/Models/GetBusinessChatLinkInfo.swift index 6b8c04cc72..e05b23d776 100644 --- a/Sources/TDLibKit/Generated/Models/GetBusinessChatLinkInfo.swift +++ b/Sources/TDLibKit/Generated/Models/GetBusinessChatLinkInfo.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/GetBusinessChatLinks.swift b/Sources/TDLibKit/Generated/Models/GetBusinessChatLinks.swift index fec24ffb0b..383bde9b4d 100644 --- a/Sources/TDLibKit/Generated/Models/GetBusinessChatLinks.swift +++ b/Sources/TDLibKit/Generated/Models/GetBusinessChatLinks.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/GetBusinessConnectedBot.swift b/Sources/TDLibKit/Generated/Models/GetBusinessConnectedBot.swift index fb04447cbd..05b6371b3b 100644 --- a/Sources/TDLibKit/Generated/Models/GetBusinessConnectedBot.swift +++ b/Sources/TDLibKit/Generated/Models/GetBusinessConnectedBot.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/GetBusinessConnection.swift b/Sources/TDLibKit/Generated/Models/GetBusinessConnection.swift index dc789aa1fe..678d75dfc3 100644 --- a/Sources/TDLibKit/Generated/Models/GetBusinessConnection.swift +++ b/Sources/TDLibKit/Generated/Models/GetBusinessConnection.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/GetBusinessFeatures.swift b/Sources/TDLibKit/Generated/Models/GetBusinessFeatures.swift index 9cd76ec707..e625ab275c 100644 --- a/Sources/TDLibKit/Generated/Models/GetBusinessFeatures.swift +++ b/Sources/TDLibKit/Generated/Models/GetBusinessFeatures.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/GetCallbackQueryAnswer.swift b/Sources/TDLibKit/Generated/Models/GetCallbackQueryAnswer.swift index ab812a0f27..77998698d2 100644 --- a/Sources/TDLibKit/Generated/Models/GetCallbackQueryAnswer.swift +++ b/Sources/TDLibKit/Generated/Models/GetCallbackQueryAnswer.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/GetCallbackQueryMessage.swift b/Sources/TDLibKit/Generated/Models/GetCallbackQueryMessage.swift index b70211bad0..d2f4342d68 100644 --- a/Sources/TDLibKit/Generated/Models/GetCallbackQueryMessage.swift +++ b/Sources/TDLibKit/Generated/Models/GetCallbackQueryMessage.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/GetChat.swift b/Sources/TDLibKit/Generated/Models/GetChat.swift index f4118ee3f7..694e397f3f 100644 --- a/Sources/TDLibKit/Generated/Models/GetChat.swift +++ b/Sources/TDLibKit/Generated/Models/GetChat.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/GetChatActiveStories.swift b/Sources/TDLibKit/Generated/Models/GetChatActiveStories.swift index b330ea32c8..5c3f11144e 100644 --- a/Sources/TDLibKit/Generated/Models/GetChatActiveStories.swift +++ b/Sources/TDLibKit/Generated/Models/GetChatActiveStories.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/GetChatAdministrators.swift b/Sources/TDLibKit/Generated/Models/GetChatAdministrators.swift index 97dca4dd7e..79086746e9 100644 --- a/Sources/TDLibKit/Generated/Models/GetChatAdministrators.swift +++ b/Sources/TDLibKit/Generated/Models/GetChatAdministrators.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/GetChatArchivedStories.swift b/Sources/TDLibKit/Generated/Models/GetChatArchivedStories.swift index 219dfe2dfe..b6b27736b1 100644 --- a/Sources/TDLibKit/Generated/Models/GetChatArchivedStories.swift +++ b/Sources/TDLibKit/Generated/Models/GetChatArchivedStories.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation @@ -19,7 +19,7 @@ public struct GetChatArchivedStories: Codable, Equatable, Hashable { /// Identifier of the story starting from which stories must be returned; use 0 to get results from the last story public let fromStoryId: Int? - /// The maximum number of stories to be returned//-For optimal performance, the number of returned stories is chosen by TDLib and can be smaller than the specified limit + /// The maximum number of stories to be returned For optimal performance, the number of returned stories is chosen by TDLib and can be smaller than the specified limit public let limit: Int? diff --git a/Sources/TDLibKit/Generated/Models/GetChatAvailableMessageSenders.swift b/Sources/TDLibKit/Generated/Models/GetChatAvailableMessageSenders.swift index eb91dfbe32..1fdc76e415 100644 --- a/Sources/TDLibKit/Generated/Models/GetChatAvailableMessageSenders.swift +++ b/Sources/TDLibKit/Generated/Models/GetChatAvailableMessageSenders.swift @@ -3,14 +3,14 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation -/// Returns list of message sender identifiers, which can be used to send messages in a chat +/// Returns the list of message sender identifiers, which can be used to send messages in a chat public struct GetChatAvailableMessageSenders: Codable, Equatable, Hashable { /// Chat identifier diff --git a/Sources/TDLibKit/Generated/Models/GetChatBoostFeatures.swift b/Sources/TDLibKit/Generated/Models/GetChatBoostFeatures.swift index c48bb00812..df88156975 100644 --- a/Sources/TDLibKit/Generated/Models/GetChatBoostFeatures.swift +++ b/Sources/TDLibKit/Generated/Models/GetChatBoostFeatures.swift @@ -3,14 +3,14 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation -/// Returns list of features available for different chat boost levels; this is an offline request +/// Returns the list of features available for different chat boost levels; this is an offline request public struct GetChatBoostFeatures: Codable, Equatable, Hashable { /// Pass true to get the list of features for channels; pass false to get the list of features for supergroups diff --git a/Sources/TDLibKit/Generated/Models/GetChatBoostLevelFeatures.swift b/Sources/TDLibKit/Generated/Models/GetChatBoostLevelFeatures.swift index 4352e0a473..4d07fe1450 100644 --- a/Sources/TDLibKit/Generated/Models/GetChatBoostLevelFeatures.swift +++ b/Sources/TDLibKit/Generated/Models/GetChatBoostLevelFeatures.swift @@ -3,14 +3,14 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation -/// Returns list of features available on the specific chat boost level; this is an offline request +/// Returns the list of features available on the specific chat boost level; this is an offline request public struct GetChatBoostLevelFeatures: Codable, Equatable, Hashable { /// Pass true to get the list of features for channels; pass false to get the list of features for supergroups diff --git a/Sources/TDLibKit/Generated/Models/GetChatBoostLink.swift b/Sources/TDLibKit/Generated/Models/GetChatBoostLink.swift index 50b85b94f0..31724df7e0 100644 --- a/Sources/TDLibKit/Generated/Models/GetChatBoostLink.swift +++ b/Sources/TDLibKit/Generated/Models/GetChatBoostLink.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/GetChatBoostLinkInfo.swift b/Sources/TDLibKit/Generated/Models/GetChatBoostLinkInfo.swift index b1d9658708..eab912ead1 100644 --- a/Sources/TDLibKit/Generated/Models/GetChatBoostLinkInfo.swift +++ b/Sources/TDLibKit/Generated/Models/GetChatBoostLinkInfo.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/GetChatBoostStatus.swift b/Sources/TDLibKit/Generated/Models/GetChatBoostStatus.swift index 33d2c577de..c9f92fa291 100644 --- a/Sources/TDLibKit/Generated/Models/GetChatBoostStatus.swift +++ b/Sources/TDLibKit/Generated/Models/GetChatBoostStatus.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/GetChatBoosts.swift b/Sources/TDLibKit/Generated/Models/GetChatBoosts.swift index f138a1800b..7d915493e0 100644 --- a/Sources/TDLibKit/Generated/Models/GetChatBoosts.swift +++ b/Sources/TDLibKit/Generated/Models/GetChatBoosts.swift @@ -3,14 +3,14 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation -/// Returns list of boosts applied to a chat; requires administrator rights in the chat +/// Returns the list of boosts applied to a chat; requires administrator rights in the chat public struct GetChatBoosts: Codable, Equatable, Hashable { /// Identifier of the chat diff --git a/Sources/TDLibKit/Generated/Models/GetChatEventLog.swift b/Sources/TDLibKit/Generated/Models/GetChatEventLog.swift index 208bd7ec3d..e32948f986 100644 --- a/Sources/TDLibKit/Generated/Models/GetChatEventLog.swift +++ b/Sources/TDLibKit/Generated/Models/GetChatEventLog.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/GetChatFolder.swift b/Sources/TDLibKit/Generated/Models/GetChatFolder.swift index 9767c95b72..9bcd99bae8 100644 --- a/Sources/TDLibKit/Generated/Models/GetChatFolder.swift +++ b/Sources/TDLibKit/Generated/Models/GetChatFolder.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/GetChatFolderChatCount.swift b/Sources/TDLibKit/Generated/Models/GetChatFolderChatCount.swift index aa49faf78a..280214a8ad 100644 --- a/Sources/TDLibKit/Generated/Models/GetChatFolderChatCount.swift +++ b/Sources/TDLibKit/Generated/Models/GetChatFolderChatCount.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/GetChatFolderChatsToLeave.swift b/Sources/TDLibKit/Generated/Models/GetChatFolderChatsToLeave.swift index ea73fde6f6..fd765df6cf 100644 --- a/Sources/TDLibKit/Generated/Models/GetChatFolderChatsToLeave.swift +++ b/Sources/TDLibKit/Generated/Models/GetChatFolderChatsToLeave.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/GetChatFolderDefaultIconName.swift b/Sources/TDLibKit/Generated/Models/GetChatFolderDefaultIconName.swift index 0ce958c6b6..4c5ca6997d 100644 --- a/Sources/TDLibKit/Generated/Models/GetChatFolderDefaultIconName.swift +++ b/Sources/TDLibKit/Generated/Models/GetChatFolderDefaultIconName.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/GetChatFolderInviteLinks.swift b/Sources/TDLibKit/Generated/Models/GetChatFolderInviteLinks.swift index 699826b502..813fc78e3d 100644 --- a/Sources/TDLibKit/Generated/Models/GetChatFolderInviteLinks.swift +++ b/Sources/TDLibKit/Generated/Models/GetChatFolderInviteLinks.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/GetChatFolderNewChats.swift b/Sources/TDLibKit/Generated/Models/GetChatFolderNewChats.swift index 11cd3d52cb..9245ff25d9 100644 --- a/Sources/TDLibKit/Generated/Models/GetChatFolderNewChats.swift +++ b/Sources/TDLibKit/Generated/Models/GetChatFolderNewChats.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/GetChatHistory.swift b/Sources/TDLibKit/Generated/Models/GetChatHistory.swift index bac8682f1a..9845cbab7e 100644 --- a/Sources/TDLibKit/Generated/Models/GetChatHistory.swift +++ b/Sources/TDLibKit/Generated/Models/GetChatHistory.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation @@ -19,7 +19,7 @@ public struct GetChatHistory: Codable, Equatable, Hashable { /// Identifier of the message starting from which history must be fetched; use 0 to get results from the last message public let fromMessageId: Int64? - /// The maximum number of messages to be returned; must be positive and can't be greater than 100. If the offset is negative, the limit must be greater than or equal to -offset.//-For optimal performance, the number of returned messages is chosen by TDLib and can be smaller than the specified limit + /// The maximum number of messages to be returned; must be positive and can't be greater than 100. If the offset is negative, the limit must be greater than or equal to -offset. For optimal performance, the number of returned messages is chosen by TDLib and can be smaller than the specified limit public let limit: Int? /// Specify 0 to get results from exactly the message from_message_id or a negative offset up to 99 to get additionally some newer messages diff --git a/Sources/TDLibKit/Generated/Models/GetChatInviteLink.swift b/Sources/TDLibKit/Generated/Models/GetChatInviteLink.swift index 8b9d142481..9c72d1e24d 100644 --- a/Sources/TDLibKit/Generated/Models/GetChatInviteLink.swift +++ b/Sources/TDLibKit/Generated/Models/GetChatInviteLink.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/GetChatInviteLinkCounts.swift b/Sources/TDLibKit/Generated/Models/GetChatInviteLinkCounts.swift index 5f8cf9885b..81fb925c2a 100644 --- a/Sources/TDLibKit/Generated/Models/GetChatInviteLinkCounts.swift +++ b/Sources/TDLibKit/Generated/Models/GetChatInviteLinkCounts.swift @@ -3,14 +3,14 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation -/// Returns list of chat administrators with number of their invite links. Requires owner privileges in the chat +/// Returns the list of chat administrators with number of their invite links. Requires owner privileges in the chat public struct GetChatInviteLinkCounts: Codable, Equatable, Hashable { /// Chat identifier diff --git a/Sources/TDLibKit/Generated/Models/GetChatInviteLinkMembers.swift b/Sources/TDLibKit/Generated/Models/GetChatInviteLinkMembers.swift index 61e32abb14..19af2d761c 100644 --- a/Sources/TDLibKit/Generated/Models/GetChatInviteLinkMembers.swift +++ b/Sources/TDLibKit/Generated/Models/GetChatInviteLinkMembers.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/GetChatInviteLinks.swift b/Sources/TDLibKit/Generated/Models/GetChatInviteLinks.swift index 99208a79c6..52ca6cc432 100644 --- a/Sources/TDLibKit/Generated/Models/GetChatInviteLinks.swift +++ b/Sources/TDLibKit/Generated/Models/GetChatInviteLinks.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/GetChatJoinRequests.swift b/Sources/TDLibKit/Generated/Models/GetChatJoinRequests.swift index 8811be2c8a..fe9a305379 100644 --- a/Sources/TDLibKit/Generated/Models/GetChatJoinRequests.swift +++ b/Sources/TDLibKit/Generated/Models/GetChatJoinRequests.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/GetChatListsToAddChat.swift b/Sources/TDLibKit/Generated/Models/GetChatListsToAddChat.swift index 6a139039b1..a9814abde8 100644 --- a/Sources/TDLibKit/Generated/Models/GetChatListsToAddChat.swift +++ b/Sources/TDLibKit/Generated/Models/GetChatListsToAddChat.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/GetChatMember.swift b/Sources/TDLibKit/Generated/Models/GetChatMember.swift index 8d009fc054..27e6fc0851 100644 --- a/Sources/TDLibKit/Generated/Models/GetChatMember.swift +++ b/Sources/TDLibKit/Generated/Models/GetChatMember.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/GetChatMessageByDate.swift b/Sources/TDLibKit/Generated/Models/GetChatMessageByDate.swift index 8215f5c6a3..0b3c9456fe 100644 --- a/Sources/TDLibKit/Generated/Models/GetChatMessageByDate.swift +++ b/Sources/TDLibKit/Generated/Models/GetChatMessageByDate.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/GetChatMessageCalendar.swift b/Sources/TDLibKit/Generated/Models/GetChatMessageCalendar.swift index 9575559b51..fd392381c7 100644 --- a/Sources/TDLibKit/Generated/Models/GetChatMessageCalendar.swift +++ b/Sources/TDLibKit/Generated/Models/GetChatMessageCalendar.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/GetChatMessageCount.swift b/Sources/TDLibKit/Generated/Models/GetChatMessageCount.swift index 958b4a9310..1f7a6ec74a 100644 --- a/Sources/TDLibKit/Generated/Models/GetChatMessageCount.swift +++ b/Sources/TDLibKit/Generated/Models/GetChatMessageCount.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/GetChatMessagePosition.swift b/Sources/TDLibKit/Generated/Models/GetChatMessagePosition.swift index 7e5d5150e6..3f12ff9508 100644 --- a/Sources/TDLibKit/Generated/Models/GetChatMessagePosition.swift +++ b/Sources/TDLibKit/Generated/Models/GetChatMessagePosition.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/GetChatNotificationSettingsExceptions.swift b/Sources/TDLibKit/Generated/Models/GetChatNotificationSettingsExceptions.swift index bf59968509..67d3e1b063 100644 --- a/Sources/TDLibKit/Generated/Models/GetChatNotificationSettingsExceptions.swift +++ b/Sources/TDLibKit/Generated/Models/GetChatNotificationSettingsExceptions.swift @@ -3,14 +3,14 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation -/// Returns list of chats with non-default notification settings for new messages +/// Returns the list of chats with non-default notification settings for new messages public struct GetChatNotificationSettingsExceptions: Codable, Equatable, Hashable { /// Pass true to include in the response chats with only non-default sound diff --git a/Sources/TDLibKit/Generated/Models/GetChatPinnedMessage.swift b/Sources/TDLibKit/Generated/Models/GetChatPinnedMessage.swift index 2e4a9772bd..6bd3fd5fe3 100644 --- a/Sources/TDLibKit/Generated/Models/GetChatPinnedMessage.swift +++ b/Sources/TDLibKit/Generated/Models/GetChatPinnedMessage.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/GetChatPostedToChatPageStories.swift b/Sources/TDLibKit/Generated/Models/GetChatPostedToChatPageStories.swift new file mode 100644 index 0000000000..92a3804a1c --- /dev/null +++ b/Sources/TDLibKit/Generated/Models/GetChatPostedToChatPageStories.swift @@ -0,0 +1,36 @@ +// +// GetChatPostedToChatPageStories.swift +// tl2swift +// +// Generated automatically. Any changes will be lost! +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b +// + +import Foundation + + +/// 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. Then, stories are returned in a reverse chronological order (i.e., in order of decreasing story_id). For optimal performance, the number of returned stories is chosen by TDLib +public struct GetChatPostedToChatPageStories: Codable, Equatable, Hashable { + + /// Chat identifier + public let chatId: Int64? + + /// Identifier of the story starting from which stories must be returned; use 0 to get results from pinned and the newest story + public let fromStoryId: Int? + + /// The maximum number of stories to be returned For optimal performance, the number of returned stories is chosen by TDLib and can be smaller than the specified limit + public let limit: Int? + + + public init( + chatId: Int64?, + fromStoryId: Int?, + limit: Int? + ) { + self.chatId = chatId + self.fromStoryId = fromStoryId + self.limit = limit + } +} + diff --git a/Sources/TDLibKit/Generated/Models/GetChatRevenueStatistics.swift b/Sources/TDLibKit/Generated/Models/GetChatRevenueStatistics.swift index 9ededb6f78..6c7d9b2f6f 100644 --- a/Sources/TDLibKit/Generated/Models/GetChatRevenueStatistics.swift +++ b/Sources/TDLibKit/Generated/Models/GetChatRevenueStatistics.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/GetChatRevenueTransactions.swift b/Sources/TDLibKit/Generated/Models/GetChatRevenueTransactions.swift index c7c095f8f7..b3ed6f5470 100644 --- a/Sources/TDLibKit/Generated/Models/GetChatRevenueTransactions.swift +++ b/Sources/TDLibKit/Generated/Models/GetChatRevenueTransactions.swift @@ -3,14 +3,14 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation -/// Returns list of revenue transactions for a chat. Currently, this method can be used only for channels if supergroupFullInfo.can_get_revenue_statistics == true +/// Returns the list of revenue transactions for a chat. Currently, this method can be used only for channels if supergroupFullInfo.can_get_revenue_statistics == true public struct GetChatRevenueTransactions: Codable, Equatable, Hashable { /// Chat identifier diff --git a/Sources/TDLibKit/Generated/Models/GetChatRevenueWithdrawalUrl.swift b/Sources/TDLibKit/Generated/Models/GetChatRevenueWithdrawalUrl.swift index 94f46432b4..dd4a6fd748 100644 --- a/Sources/TDLibKit/Generated/Models/GetChatRevenueWithdrawalUrl.swift +++ b/Sources/TDLibKit/Generated/Models/GetChatRevenueWithdrawalUrl.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/GetChatScheduledMessages.swift b/Sources/TDLibKit/Generated/Models/GetChatScheduledMessages.swift index 9fefb75327..27914f367f 100644 --- a/Sources/TDLibKit/Generated/Models/GetChatScheduledMessages.swift +++ b/Sources/TDLibKit/Generated/Models/GetChatScheduledMessages.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/GetChatSimilarChatCount.swift b/Sources/TDLibKit/Generated/Models/GetChatSimilarChatCount.swift index 00119dd089..5e8caee6ee 100644 --- a/Sources/TDLibKit/Generated/Models/GetChatSimilarChatCount.swift +++ b/Sources/TDLibKit/Generated/Models/GetChatSimilarChatCount.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/GetChatSimilarChats.swift b/Sources/TDLibKit/Generated/Models/GetChatSimilarChats.swift index b623cae8c7..92e7b37f95 100644 --- a/Sources/TDLibKit/Generated/Models/GetChatSimilarChats.swift +++ b/Sources/TDLibKit/Generated/Models/GetChatSimilarChats.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/GetChatSparseMessagePositions.swift b/Sources/TDLibKit/Generated/Models/GetChatSparseMessagePositions.swift index cb4bbb4463..f48facdfb6 100644 --- a/Sources/TDLibKit/Generated/Models/GetChatSparseMessagePositions.swift +++ b/Sources/TDLibKit/Generated/Models/GetChatSparseMessagePositions.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/GetChatSponsoredMessages.swift b/Sources/TDLibKit/Generated/Models/GetChatSponsoredMessages.swift index 87a0e0c04c..e12a4fc8d5 100644 --- a/Sources/TDLibKit/Generated/Models/GetChatSponsoredMessages.swift +++ b/Sources/TDLibKit/Generated/Models/GetChatSponsoredMessages.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/GetChatStatistics.swift b/Sources/TDLibKit/Generated/Models/GetChatStatistics.swift index 4dc625f5a0..fc4d870b2c 100644 --- a/Sources/TDLibKit/Generated/Models/GetChatStatistics.swift +++ b/Sources/TDLibKit/Generated/Models/GetChatStatistics.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/GetChatStoryInteractions.swift b/Sources/TDLibKit/Generated/Models/GetChatStoryInteractions.swift index f25330ef39..a343d710d8 100644 --- a/Sources/TDLibKit/Generated/Models/GetChatStoryInteractions.swift +++ b/Sources/TDLibKit/Generated/Models/GetChatStoryInteractions.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/GetChats.swift b/Sources/TDLibKit/Generated/Models/GetChats.swift index 28a413180c..e736589cf9 100644 --- a/Sources/TDLibKit/Generated/Models/GetChats.swift +++ b/Sources/TDLibKit/Generated/Models/GetChats.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/GetChatsForChatFolderInviteLink.swift b/Sources/TDLibKit/Generated/Models/GetChatsForChatFolderInviteLink.swift index 7b247578ea..5c533ea61c 100644 --- a/Sources/TDLibKit/Generated/Models/GetChatsForChatFolderInviteLink.swift +++ b/Sources/TDLibKit/Generated/Models/GetChatsForChatFolderInviteLink.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/GetChatsToSendStories.swift b/Sources/TDLibKit/Generated/Models/GetChatsToSendStories.swift index 25afd5e87f..f4cd0f6e54 100644 --- a/Sources/TDLibKit/Generated/Models/GetChatsToSendStories.swift +++ b/Sources/TDLibKit/Generated/Models/GetChatsToSendStories.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/GetCloseFriends.swift b/Sources/TDLibKit/Generated/Models/GetCloseFriends.swift index 38233138c5..ace76c50a0 100644 --- a/Sources/TDLibKit/Generated/Models/GetCloseFriends.swift +++ b/Sources/TDLibKit/Generated/Models/GetCloseFriends.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/GetCollectibleItemInfo.swift b/Sources/TDLibKit/Generated/Models/GetCollectibleItemInfo.swift index 6ed3b85979..75a2257a84 100644 --- a/Sources/TDLibKit/Generated/Models/GetCollectibleItemInfo.swift +++ b/Sources/TDLibKit/Generated/Models/GetCollectibleItemInfo.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/GetCommands.swift b/Sources/TDLibKit/Generated/Models/GetCommands.swift index b454966220..c6940b3711 100644 --- a/Sources/TDLibKit/Generated/Models/GetCommands.swift +++ b/Sources/TDLibKit/Generated/Models/GetCommands.swift @@ -3,14 +3,14 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation -/// Returns list of commands supported by the bot for the given user scope and language; for bots only +/// Returns the list of commands supported by the bot for the given user scope and language; for bots only public struct GetCommands: Codable, Equatable, Hashable { /// A two-letter ISO 639-1 language code or an empty string diff --git a/Sources/TDLibKit/Generated/Models/GetConnectedWebsites.swift b/Sources/TDLibKit/Generated/Models/GetConnectedWebsites.swift index bf90f99cd4..61ff3fda24 100644 --- a/Sources/TDLibKit/Generated/Models/GetConnectedWebsites.swift +++ b/Sources/TDLibKit/Generated/Models/GetConnectedWebsites.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/GetContacts.swift b/Sources/TDLibKit/Generated/Models/GetContacts.swift index c318124d27..aa44efdec3 100644 --- a/Sources/TDLibKit/Generated/Models/GetContacts.swift +++ b/Sources/TDLibKit/Generated/Models/GetContacts.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/GetCountries.swift b/Sources/TDLibKit/Generated/Models/GetCountries.swift index 3701158fdf..b733aeeb21 100644 --- a/Sources/TDLibKit/Generated/Models/GetCountries.swift +++ b/Sources/TDLibKit/Generated/Models/GetCountries.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/GetCountryCode.swift b/Sources/TDLibKit/Generated/Models/GetCountryCode.swift index 2f54462657..43c06539c1 100644 --- a/Sources/TDLibKit/Generated/Models/GetCountryCode.swift +++ b/Sources/TDLibKit/Generated/Models/GetCountryCode.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/GetCountryFlagEmoji.swift b/Sources/TDLibKit/Generated/Models/GetCountryFlagEmoji.swift index 1a06a8864c..9d569cb8b7 100644 --- a/Sources/TDLibKit/Generated/Models/GetCountryFlagEmoji.swift +++ b/Sources/TDLibKit/Generated/Models/GetCountryFlagEmoji.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/GetCreatedPublicChats.swift b/Sources/TDLibKit/Generated/Models/GetCreatedPublicChats.swift index 3d325a2a11..c0c8b0d813 100644 --- a/Sources/TDLibKit/Generated/Models/GetCreatedPublicChats.swift +++ b/Sources/TDLibKit/Generated/Models/GetCreatedPublicChats.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/GetCurrentState.swift b/Sources/TDLibKit/Generated/Models/GetCurrentState.swift index 8f1e1a0e17..ef0df992a9 100644 --- a/Sources/TDLibKit/Generated/Models/GetCurrentState.swift +++ b/Sources/TDLibKit/Generated/Models/GetCurrentState.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/GetCustomEmojiReactionAnimations.swift b/Sources/TDLibKit/Generated/Models/GetCustomEmojiReactionAnimations.swift index 51b074057f..fa1f3cdceb 100644 --- a/Sources/TDLibKit/Generated/Models/GetCustomEmojiReactionAnimations.swift +++ b/Sources/TDLibKit/Generated/Models/GetCustomEmojiReactionAnimations.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/GetCustomEmojiStickers.swift b/Sources/TDLibKit/Generated/Models/GetCustomEmojiStickers.swift index 43c43466b0..bf5ce3c49f 100644 --- a/Sources/TDLibKit/Generated/Models/GetCustomEmojiStickers.swift +++ b/Sources/TDLibKit/Generated/Models/GetCustomEmojiStickers.swift @@ -3,14 +3,14 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation -/// Returns list of custom emoji stickers by their identifiers. Stickers are returned in arbitrary order. Only found stickers are returned +/// Returns the list of custom emoji stickers by their identifiers. Stickers are returned in arbitrary order. Only found stickers are returned public struct GetCustomEmojiStickers: Codable, Equatable, Hashable { /// Identifiers of custom emoji stickers. At most 200 custom emoji stickers can be received simultaneously diff --git a/Sources/TDLibKit/Generated/Models/GetDatabaseStatistics.swift b/Sources/TDLibKit/Generated/Models/GetDatabaseStatistics.swift index 346dfc011e..a59dd879bf 100644 --- a/Sources/TDLibKit/Generated/Models/GetDatabaseStatistics.swift +++ b/Sources/TDLibKit/Generated/Models/GetDatabaseStatistics.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/GetDeepLinkInfo.swift b/Sources/TDLibKit/Generated/Models/GetDeepLinkInfo.swift index bd18c5ee97..15d6f01d4a 100644 --- a/Sources/TDLibKit/Generated/Models/GetDeepLinkInfo.swift +++ b/Sources/TDLibKit/Generated/Models/GetDeepLinkInfo.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/GetDefaultBackgroundCustomEmojiStickers.swift b/Sources/TDLibKit/Generated/Models/GetDefaultBackgroundCustomEmojiStickers.swift index ce4f21194c..971e2714cb 100644 --- a/Sources/TDLibKit/Generated/Models/GetDefaultBackgroundCustomEmojiStickers.swift +++ b/Sources/TDLibKit/Generated/Models/GetDefaultBackgroundCustomEmojiStickers.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/GetDefaultChatEmojiStatuses.swift b/Sources/TDLibKit/Generated/Models/GetDefaultChatEmojiStatuses.swift index 0ec65561dc..36958c617f 100644 --- a/Sources/TDLibKit/Generated/Models/GetDefaultChatEmojiStatuses.swift +++ b/Sources/TDLibKit/Generated/Models/GetDefaultChatEmojiStatuses.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/GetDefaultChatPhotoCustomEmojiStickers.swift b/Sources/TDLibKit/Generated/Models/GetDefaultChatPhotoCustomEmojiStickers.swift index 5902255dd2..115761ff6b 100644 --- a/Sources/TDLibKit/Generated/Models/GetDefaultChatPhotoCustomEmojiStickers.swift +++ b/Sources/TDLibKit/Generated/Models/GetDefaultChatPhotoCustomEmojiStickers.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/GetDefaultEmojiStatuses.swift b/Sources/TDLibKit/Generated/Models/GetDefaultEmojiStatuses.swift index 340c004f18..2491d0f6cd 100644 --- a/Sources/TDLibKit/Generated/Models/GetDefaultEmojiStatuses.swift +++ b/Sources/TDLibKit/Generated/Models/GetDefaultEmojiStatuses.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/GetDefaultMessageAutoDeleteTime.swift b/Sources/TDLibKit/Generated/Models/GetDefaultMessageAutoDeleteTime.swift index 9df4b92a18..e7ff82647c 100644 --- a/Sources/TDLibKit/Generated/Models/GetDefaultMessageAutoDeleteTime.swift +++ b/Sources/TDLibKit/Generated/Models/GetDefaultMessageAutoDeleteTime.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/GetDefaultProfilePhotoCustomEmojiStickers.swift b/Sources/TDLibKit/Generated/Models/GetDefaultProfilePhotoCustomEmojiStickers.swift index 87a5850208..e4ccd3eee0 100644 --- a/Sources/TDLibKit/Generated/Models/GetDefaultProfilePhotoCustomEmojiStickers.swift +++ b/Sources/TDLibKit/Generated/Models/GetDefaultProfilePhotoCustomEmojiStickers.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/GetDisallowedChatEmojiStatuses.swift b/Sources/TDLibKit/Generated/Models/GetDisallowedChatEmojiStatuses.swift index dc5f85c40f..d729cfbe58 100644 --- a/Sources/TDLibKit/Generated/Models/GetDisallowedChatEmojiStatuses.swift +++ b/Sources/TDLibKit/Generated/Models/GetDisallowedChatEmojiStatuses.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/GetEmojiCategories.swift b/Sources/TDLibKit/Generated/Models/GetEmojiCategories.swift index 93951b0113..7b6b9f82aa 100644 --- a/Sources/TDLibKit/Generated/Models/GetEmojiCategories.swift +++ b/Sources/TDLibKit/Generated/Models/GetEmojiCategories.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/GetEmojiReaction.swift b/Sources/TDLibKit/Generated/Models/GetEmojiReaction.swift index 71d8ac7727..c2748e85ee 100644 --- a/Sources/TDLibKit/Generated/Models/GetEmojiReaction.swift +++ b/Sources/TDLibKit/Generated/Models/GetEmojiReaction.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/GetEmojiSuggestionsUrl.swift b/Sources/TDLibKit/Generated/Models/GetEmojiSuggestionsUrl.swift index e6e56a35f7..37e650072f 100644 --- a/Sources/TDLibKit/Generated/Models/GetEmojiSuggestionsUrl.swift +++ b/Sources/TDLibKit/Generated/Models/GetEmojiSuggestionsUrl.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/GetExternalLink.swift b/Sources/TDLibKit/Generated/Models/GetExternalLink.swift index d4ae66577a..d8cac9d862 100644 --- a/Sources/TDLibKit/Generated/Models/GetExternalLink.swift +++ b/Sources/TDLibKit/Generated/Models/GetExternalLink.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/GetExternalLinkInfo.swift b/Sources/TDLibKit/Generated/Models/GetExternalLinkInfo.swift index 02912c5131..0ea92c37bc 100644 --- a/Sources/TDLibKit/Generated/Models/GetExternalLinkInfo.swift +++ b/Sources/TDLibKit/Generated/Models/GetExternalLinkInfo.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/GetFavoriteStickers.swift b/Sources/TDLibKit/Generated/Models/GetFavoriteStickers.swift index 5cba0a5abc..53547a5f21 100644 --- a/Sources/TDLibKit/Generated/Models/GetFavoriteStickers.swift +++ b/Sources/TDLibKit/Generated/Models/GetFavoriteStickers.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/GetFile.swift b/Sources/TDLibKit/Generated/Models/GetFile.swift index 33f61e8a59..fa3faadd52 100644 --- a/Sources/TDLibKit/Generated/Models/GetFile.swift +++ b/Sources/TDLibKit/Generated/Models/GetFile.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/GetFileDownloadedPrefixSize.swift b/Sources/TDLibKit/Generated/Models/GetFileDownloadedPrefixSize.swift index 50b97ef3be..b7d1159ce6 100644 --- a/Sources/TDLibKit/Generated/Models/GetFileDownloadedPrefixSize.swift +++ b/Sources/TDLibKit/Generated/Models/GetFileDownloadedPrefixSize.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/GetFileExtension.swift b/Sources/TDLibKit/Generated/Models/GetFileExtension.swift index 6ef0096b4e..326fcf585b 100644 --- a/Sources/TDLibKit/Generated/Models/GetFileExtension.swift +++ b/Sources/TDLibKit/Generated/Models/GetFileExtension.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/GetFileMimeType.swift b/Sources/TDLibKit/Generated/Models/GetFileMimeType.swift index 69fdd0e2e8..e2a79383cc 100644 --- a/Sources/TDLibKit/Generated/Models/GetFileMimeType.swift +++ b/Sources/TDLibKit/Generated/Models/GetFileMimeType.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/GetForumTopic.swift b/Sources/TDLibKit/Generated/Models/GetForumTopic.swift index 8d65edcab8..4098a43f32 100644 --- a/Sources/TDLibKit/Generated/Models/GetForumTopic.swift +++ b/Sources/TDLibKit/Generated/Models/GetForumTopic.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/GetForumTopicDefaultIcons.swift b/Sources/TDLibKit/Generated/Models/GetForumTopicDefaultIcons.swift index abc23942e0..470d73ec1e 100644 --- a/Sources/TDLibKit/Generated/Models/GetForumTopicDefaultIcons.swift +++ b/Sources/TDLibKit/Generated/Models/GetForumTopicDefaultIcons.swift @@ -3,14 +3,14 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation -/// Returns list of custom emojis, which can be used as forum topic icon by all users +/// Returns the list of custom emojis, which can be used as forum topic icon by all users public struct GetForumTopicDefaultIcons: Codable, Equatable, Hashable { diff --git a/Sources/TDLibKit/Generated/Models/GetForumTopicLink.swift b/Sources/TDLibKit/Generated/Models/GetForumTopicLink.swift index 83b0619d44..1c63c580fd 100644 --- a/Sources/TDLibKit/Generated/Models/GetForumTopicLink.swift +++ b/Sources/TDLibKit/Generated/Models/GetForumTopicLink.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/GetForumTopics.swift b/Sources/TDLibKit/Generated/Models/GetForumTopics.swift index c32282ad52..6599855408 100644 --- a/Sources/TDLibKit/Generated/Models/GetForumTopics.swift +++ b/Sources/TDLibKit/Generated/Models/GetForumTopics.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/GetGameHighScores.swift b/Sources/TDLibKit/Generated/Models/GetGameHighScores.swift index 2ebd5c78ce..81348ad88d 100644 --- a/Sources/TDLibKit/Generated/Models/GetGameHighScores.swift +++ b/Sources/TDLibKit/Generated/Models/GetGameHighScores.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/GetGreetingStickers.swift b/Sources/TDLibKit/Generated/Models/GetGreetingStickers.swift index a70e1196ec..085f9466cc 100644 --- a/Sources/TDLibKit/Generated/Models/GetGreetingStickers.swift +++ b/Sources/TDLibKit/Generated/Models/GetGreetingStickers.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/GetGroupCall.swift b/Sources/TDLibKit/Generated/Models/GetGroupCall.swift index 9c64c4e098..e0e1965ca4 100644 --- a/Sources/TDLibKit/Generated/Models/GetGroupCall.swift +++ b/Sources/TDLibKit/Generated/Models/GetGroupCall.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/GetGroupCallInviteLink.swift b/Sources/TDLibKit/Generated/Models/GetGroupCallInviteLink.swift index e89df60fe4..3435ba7fe2 100644 --- a/Sources/TDLibKit/Generated/Models/GetGroupCallInviteLink.swift +++ b/Sources/TDLibKit/Generated/Models/GetGroupCallInviteLink.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/GetGroupCallStreamSegment.swift b/Sources/TDLibKit/Generated/Models/GetGroupCallStreamSegment.swift index d65a17706b..7198f078a8 100644 --- a/Sources/TDLibKit/Generated/Models/GetGroupCallStreamSegment.swift +++ b/Sources/TDLibKit/Generated/Models/GetGroupCallStreamSegment.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/GetGroupCallStreams.swift b/Sources/TDLibKit/Generated/Models/GetGroupCallStreams.swift index 9c044b71ef..726da6a6dc 100644 --- a/Sources/TDLibKit/Generated/Models/GetGroupCallStreams.swift +++ b/Sources/TDLibKit/Generated/Models/GetGroupCallStreams.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/GetGroupsInCommon.swift b/Sources/TDLibKit/Generated/Models/GetGroupsInCommon.swift index 5ba7353f34..f672a4750d 100644 --- a/Sources/TDLibKit/Generated/Models/GetGroupsInCommon.swift +++ b/Sources/TDLibKit/Generated/Models/GetGroupsInCommon.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/GetImportedContactCount.swift b/Sources/TDLibKit/Generated/Models/GetImportedContactCount.swift index d13498aba3..18cd3fd63e 100644 --- a/Sources/TDLibKit/Generated/Models/GetImportedContactCount.swift +++ b/Sources/TDLibKit/Generated/Models/GetImportedContactCount.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/GetInactiveSupergroupChats.swift b/Sources/TDLibKit/Generated/Models/GetInactiveSupergroupChats.swift index 064d7b98c6..f2d1c39371 100644 --- a/Sources/TDLibKit/Generated/Models/GetInactiveSupergroupChats.swift +++ b/Sources/TDLibKit/Generated/Models/GetInactiveSupergroupChats.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/GetInlineGameHighScores.swift b/Sources/TDLibKit/Generated/Models/GetInlineGameHighScores.swift index 0afb424cba..f4ffcc1969 100644 --- a/Sources/TDLibKit/Generated/Models/GetInlineGameHighScores.swift +++ b/Sources/TDLibKit/Generated/Models/GetInlineGameHighScores.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/GetInlineQueryResults.swift b/Sources/TDLibKit/Generated/Models/GetInlineQueryResults.swift index f1b7c048c5..374e7cf579 100644 --- a/Sources/TDLibKit/Generated/Models/GetInlineQueryResults.swift +++ b/Sources/TDLibKit/Generated/Models/GetInlineQueryResults.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/GetInstalledBackgrounds.swift b/Sources/TDLibKit/Generated/Models/GetInstalledBackgrounds.swift index 42c85cee80..b64293412d 100644 --- a/Sources/TDLibKit/Generated/Models/GetInstalledBackgrounds.swift +++ b/Sources/TDLibKit/Generated/Models/GetInstalledBackgrounds.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/GetInstalledStickerSets.swift b/Sources/TDLibKit/Generated/Models/GetInstalledStickerSets.swift index 0932ea8ec0..ffbf375c95 100644 --- a/Sources/TDLibKit/Generated/Models/GetInstalledStickerSets.swift +++ b/Sources/TDLibKit/Generated/Models/GetInstalledStickerSets.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/GetInternalLink.swift b/Sources/TDLibKit/Generated/Models/GetInternalLink.swift index 671c593434..821837cd38 100644 --- a/Sources/TDLibKit/Generated/Models/GetInternalLink.swift +++ b/Sources/TDLibKit/Generated/Models/GetInternalLink.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/GetInternalLinkType.swift b/Sources/TDLibKit/Generated/Models/GetInternalLinkType.swift index f70d40ee27..df0415833c 100644 --- a/Sources/TDLibKit/Generated/Models/GetInternalLinkType.swift +++ b/Sources/TDLibKit/Generated/Models/GetInternalLinkType.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/GetJsonString.swift b/Sources/TDLibKit/Generated/Models/GetJsonString.swift index 9d07968eea..f9db80acc1 100644 --- a/Sources/TDLibKit/Generated/Models/GetJsonString.swift +++ b/Sources/TDLibKit/Generated/Models/GetJsonString.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/GetJsonValue.swift b/Sources/TDLibKit/Generated/Models/GetJsonValue.swift index 84579dfff0..65c7999410 100644 --- a/Sources/TDLibKit/Generated/Models/GetJsonValue.swift +++ b/Sources/TDLibKit/Generated/Models/GetJsonValue.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/GetKeywordEmojis.swift b/Sources/TDLibKit/Generated/Models/GetKeywordEmojis.swift index ff1ba29d6e..21c51c3e3f 100644 --- a/Sources/TDLibKit/Generated/Models/GetKeywordEmojis.swift +++ b/Sources/TDLibKit/Generated/Models/GetKeywordEmojis.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/GetLanguagePackInfo.swift b/Sources/TDLibKit/Generated/Models/GetLanguagePackInfo.swift index 50a6ea6a8b..e4617fdadf 100644 --- a/Sources/TDLibKit/Generated/Models/GetLanguagePackInfo.swift +++ b/Sources/TDLibKit/Generated/Models/GetLanguagePackInfo.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/GetLanguagePackString.swift b/Sources/TDLibKit/Generated/Models/GetLanguagePackString.swift index f34c3c5024..fb2d71094f 100644 --- a/Sources/TDLibKit/Generated/Models/GetLanguagePackString.swift +++ b/Sources/TDLibKit/Generated/Models/GetLanguagePackString.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/GetLanguagePackStrings.swift b/Sources/TDLibKit/Generated/Models/GetLanguagePackStrings.swift index 3e38166e7f..740558b5ac 100644 --- a/Sources/TDLibKit/Generated/Models/GetLanguagePackStrings.swift +++ b/Sources/TDLibKit/Generated/Models/GetLanguagePackStrings.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/GetLocalizationTargetInfo.swift b/Sources/TDLibKit/Generated/Models/GetLocalizationTargetInfo.swift index 00317d90ee..5e38f88385 100644 --- a/Sources/TDLibKit/Generated/Models/GetLocalizationTargetInfo.swift +++ b/Sources/TDLibKit/Generated/Models/GetLocalizationTargetInfo.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/GetLogStream.swift b/Sources/TDLibKit/Generated/Models/GetLogStream.swift index aa07ce4e5d..51f02ca95f 100644 --- a/Sources/TDLibKit/Generated/Models/GetLogStream.swift +++ b/Sources/TDLibKit/Generated/Models/GetLogStream.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/GetLogTagVerbosityLevel.swift b/Sources/TDLibKit/Generated/Models/GetLogTagVerbosityLevel.swift index 602991047f..a691acd3bb 100644 --- a/Sources/TDLibKit/Generated/Models/GetLogTagVerbosityLevel.swift +++ b/Sources/TDLibKit/Generated/Models/GetLogTagVerbosityLevel.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/GetLogTags.swift b/Sources/TDLibKit/Generated/Models/GetLogTags.swift index 32fd41ab32..c96b9e4e7c 100644 --- a/Sources/TDLibKit/Generated/Models/GetLogTags.swift +++ b/Sources/TDLibKit/Generated/Models/GetLogTags.swift @@ -3,14 +3,14 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation -/// Returns list of available TDLib internal log tags, for example, ["actor", "binlog", "connections", "notifications", "proxy"]. Can be called synchronously +/// Returns the list of available TDLib internal log tags, for example, ["actor", "binlog", "connections", "notifications", "proxy"]. Can be called synchronously public struct GetLogTags: Codable, Equatable, Hashable { diff --git a/Sources/TDLibKit/Generated/Models/GetLogVerbosityLevel.swift b/Sources/TDLibKit/Generated/Models/GetLogVerbosityLevel.swift index 3aad2458f8..81f6f5b183 100644 --- a/Sources/TDLibKit/Generated/Models/GetLogVerbosityLevel.swift +++ b/Sources/TDLibKit/Generated/Models/GetLogVerbosityLevel.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/GetLoginUrl.swift b/Sources/TDLibKit/Generated/Models/GetLoginUrl.swift index 8fe36a93ab..380940a7bb 100644 --- a/Sources/TDLibKit/Generated/Models/GetLoginUrl.swift +++ b/Sources/TDLibKit/Generated/Models/GetLoginUrl.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/GetLoginUrlInfo.swift b/Sources/TDLibKit/Generated/Models/GetLoginUrlInfo.swift index 9e407e13f8..0b10272672 100644 --- a/Sources/TDLibKit/Generated/Models/GetLoginUrlInfo.swift +++ b/Sources/TDLibKit/Generated/Models/GetLoginUrlInfo.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/GetMapThumbnailFile.swift b/Sources/TDLibKit/Generated/Models/GetMapThumbnailFile.swift index 872d5b217b..05218e44b1 100644 --- a/Sources/TDLibKit/Generated/Models/GetMapThumbnailFile.swift +++ b/Sources/TDLibKit/Generated/Models/GetMapThumbnailFile.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/GetMarkdownText.swift b/Sources/TDLibKit/Generated/Models/GetMarkdownText.swift index d1cea4b174..f50bc81c68 100644 --- a/Sources/TDLibKit/Generated/Models/GetMarkdownText.swift +++ b/Sources/TDLibKit/Generated/Models/GetMarkdownText.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/GetMe.swift b/Sources/TDLibKit/Generated/Models/GetMe.swift index fceb00cb7a..4a81e64d33 100644 --- a/Sources/TDLibKit/Generated/Models/GetMe.swift +++ b/Sources/TDLibKit/Generated/Models/GetMe.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/GetMenuButton.swift b/Sources/TDLibKit/Generated/Models/GetMenuButton.swift index d56914be00..155ca46787 100644 --- a/Sources/TDLibKit/Generated/Models/GetMenuButton.swift +++ b/Sources/TDLibKit/Generated/Models/GetMenuButton.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/GetMessage.swift b/Sources/TDLibKit/Generated/Models/GetMessage.swift index 926c7d49f5..f470b10b67 100644 --- a/Sources/TDLibKit/Generated/Models/GetMessage.swift +++ b/Sources/TDLibKit/Generated/Models/GetMessage.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/GetMessageAddedReactions.swift b/Sources/TDLibKit/Generated/Models/GetMessageAddedReactions.swift index fda605e211..a4a1475eb1 100644 --- a/Sources/TDLibKit/Generated/Models/GetMessageAddedReactions.swift +++ b/Sources/TDLibKit/Generated/Models/GetMessageAddedReactions.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/GetMessageAvailableReactions.swift b/Sources/TDLibKit/Generated/Models/GetMessageAvailableReactions.swift index 9ad5037754..90f662f705 100644 --- a/Sources/TDLibKit/Generated/Models/GetMessageAvailableReactions.swift +++ b/Sources/TDLibKit/Generated/Models/GetMessageAvailableReactions.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/GetMessageEmbeddingCode.swift b/Sources/TDLibKit/Generated/Models/GetMessageEmbeddingCode.swift index b67826d890..788ce00ce9 100644 --- a/Sources/TDLibKit/Generated/Models/GetMessageEmbeddingCode.swift +++ b/Sources/TDLibKit/Generated/Models/GetMessageEmbeddingCode.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/GetMessageFileType.swift b/Sources/TDLibKit/Generated/Models/GetMessageFileType.swift index 64e60ea3d5..367ca03199 100644 --- a/Sources/TDLibKit/Generated/Models/GetMessageFileType.swift +++ b/Sources/TDLibKit/Generated/Models/GetMessageFileType.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/GetMessageImportConfirmationText.swift b/Sources/TDLibKit/Generated/Models/GetMessageImportConfirmationText.swift index 6ef9dbb6e2..0ffd7c3d48 100644 --- a/Sources/TDLibKit/Generated/Models/GetMessageImportConfirmationText.swift +++ b/Sources/TDLibKit/Generated/Models/GetMessageImportConfirmationText.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/GetMessageLink.swift b/Sources/TDLibKit/Generated/Models/GetMessageLink.swift index 13e5df7dc1..88ad0f7614 100644 --- a/Sources/TDLibKit/Generated/Models/GetMessageLink.swift +++ b/Sources/TDLibKit/Generated/Models/GetMessageLink.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/GetMessageLinkInfo.swift b/Sources/TDLibKit/Generated/Models/GetMessageLinkInfo.swift index 5b30a119c2..532071a1c0 100644 --- a/Sources/TDLibKit/Generated/Models/GetMessageLinkInfo.swift +++ b/Sources/TDLibKit/Generated/Models/GetMessageLinkInfo.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/GetMessageLocally.swift b/Sources/TDLibKit/Generated/Models/GetMessageLocally.swift index b28b3b4f69..fe09a4a3c5 100644 --- a/Sources/TDLibKit/Generated/Models/GetMessageLocally.swift +++ b/Sources/TDLibKit/Generated/Models/GetMessageLocally.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/GetMessagePublicForwards.swift b/Sources/TDLibKit/Generated/Models/GetMessagePublicForwards.swift index ae3fede554..34570b06bc 100644 --- a/Sources/TDLibKit/Generated/Models/GetMessagePublicForwards.swift +++ b/Sources/TDLibKit/Generated/Models/GetMessagePublicForwards.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/GetMessageReadDate.swift b/Sources/TDLibKit/Generated/Models/GetMessageReadDate.swift index fb74a6ef3e..05a76927c2 100644 --- a/Sources/TDLibKit/Generated/Models/GetMessageReadDate.swift +++ b/Sources/TDLibKit/Generated/Models/GetMessageReadDate.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/GetMessageStatistics.swift b/Sources/TDLibKit/Generated/Models/GetMessageStatistics.swift index 21332dd432..0ea5576a81 100644 --- a/Sources/TDLibKit/Generated/Models/GetMessageStatistics.swift +++ b/Sources/TDLibKit/Generated/Models/GetMessageStatistics.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/GetMessageThread.swift b/Sources/TDLibKit/Generated/Models/GetMessageThread.swift index 840c04cb7c..ff90806bb6 100644 --- a/Sources/TDLibKit/Generated/Models/GetMessageThread.swift +++ b/Sources/TDLibKit/Generated/Models/GetMessageThread.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/GetMessageThreadHistory.swift b/Sources/TDLibKit/Generated/Models/GetMessageThreadHistory.swift index 4cb7bb449c..c3ae9b7a74 100644 --- a/Sources/TDLibKit/Generated/Models/GetMessageThreadHistory.swift +++ b/Sources/TDLibKit/Generated/Models/GetMessageThreadHistory.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation @@ -19,7 +19,7 @@ public struct GetMessageThreadHistory: Codable, Equatable, Hashable { /// Identifier of the message starting from which history must be fetched; use 0 to get results from the last message public let fromMessageId: Int64? - /// The maximum number of messages to be returned; must be positive and can't be greater than 100. If the offset is negative, the limit must be greater than or equal to -offset.//-For optimal performance, the number of returned messages is chosen by TDLib and can be smaller than the specified limit + /// The maximum number of messages to be returned; must be positive and can't be greater than 100. If the offset is negative, the limit must be greater than or equal to -offset. For optimal performance, the number of returned messages is chosen by TDLib and can be smaller than the specified limit public let limit: Int? /// Message identifier, which thread history needs to be returned diff --git a/Sources/TDLibKit/Generated/Models/GetMessageViewers.swift b/Sources/TDLibKit/Generated/Models/GetMessageViewers.swift index 46dbd60905..75e4984651 100644 --- a/Sources/TDLibKit/Generated/Models/GetMessageViewers.swift +++ b/Sources/TDLibKit/Generated/Models/GetMessageViewers.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/GetMessages.swift b/Sources/TDLibKit/Generated/Models/GetMessages.swift index 870d554899..20930fe099 100644 --- a/Sources/TDLibKit/Generated/Models/GetMessages.swift +++ b/Sources/TDLibKit/Generated/Models/GetMessages.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/GetNetworkStatistics.swift b/Sources/TDLibKit/Generated/Models/GetNetworkStatistics.swift index 5d3512e1c6..040fd0677b 100644 --- a/Sources/TDLibKit/Generated/Models/GetNetworkStatistics.swift +++ b/Sources/TDLibKit/Generated/Models/GetNetworkStatistics.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/GetNewChatPrivacySettings.swift b/Sources/TDLibKit/Generated/Models/GetNewChatPrivacySettings.swift index 63a2412d9d..0cbea79843 100644 --- a/Sources/TDLibKit/Generated/Models/GetNewChatPrivacySettings.swift +++ b/Sources/TDLibKit/Generated/Models/GetNewChatPrivacySettings.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/GetOption.swift b/Sources/TDLibKit/Generated/Models/GetOption.swift index aa40d64434..2471bbd557 100644 --- a/Sources/TDLibKit/Generated/Models/GetOption.swift +++ b/Sources/TDLibKit/Generated/Models/GetOption.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/GetOwnedStickerSets.swift b/Sources/TDLibKit/Generated/Models/GetOwnedStickerSets.swift index 4d8d94f390..8d0007aa0d 100644 --- a/Sources/TDLibKit/Generated/Models/GetOwnedStickerSets.swift +++ b/Sources/TDLibKit/Generated/Models/GetOwnedStickerSets.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/GetPassportAuthorizationForm.swift b/Sources/TDLibKit/Generated/Models/GetPassportAuthorizationForm.swift index d21ae2d96d..1988bd4762 100644 --- a/Sources/TDLibKit/Generated/Models/GetPassportAuthorizationForm.swift +++ b/Sources/TDLibKit/Generated/Models/GetPassportAuthorizationForm.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/GetPassportAuthorizationFormAvailableElements.swift b/Sources/TDLibKit/Generated/Models/GetPassportAuthorizationFormAvailableElements.swift index 741cb3fb9d..ca9002950f 100644 --- a/Sources/TDLibKit/Generated/Models/GetPassportAuthorizationFormAvailableElements.swift +++ b/Sources/TDLibKit/Generated/Models/GetPassportAuthorizationFormAvailableElements.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/GetPassportElement.swift b/Sources/TDLibKit/Generated/Models/GetPassportElement.swift index cc28d0b206..6ae0bbfdb8 100644 --- a/Sources/TDLibKit/Generated/Models/GetPassportElement.swift +++ b/Sources/TDLibKit/Generated/Models/GetPassportElement.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/GetPasswordState.swift b/Sources/TDLibKit/Generated/Models/GetPasswordState.swift index 4e1369f45b..77600df570 100644 --- a/Sources/TDLibKit/Generated/Models/GetPasswordState.swift +++ b/Sources/TDLibKit/Generated/Models/GetPasswordState.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/GetPaymentForm.swift b/Sources/TDLibKit/Generated/Models/GetPaymentForm.swift index c685b6fdfe..9edc3bc112 100644 --- a/Sources/TDLibKit/Generated/Models/GetPaymentForm.swift +++ b/Sources/TDLibKit/Generated/Models/GetPaymentForm.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/GetPaymentReceipt.swift b/Sources/TDLibKit/Generated/Models/GetPaymentReceipt.swift index e7ee8cc29b..c857cead39 100644 --- a/Sources/TDLibKit/Generated/Models/GetPaymentReceipt.swift +++ b/Sources/TDLibKit/Generated/Models/GetPaymentReceipt.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/GetPhoneNumberInfo.swift b/Sources/TDLibKit/Generated/Models/GetPhoneNumberInfo.swift index 5b275a999d..58aa3ce8d3 100644 --- a/Sources/TDLibKit/Generated/Models/GetPhoneNumberInfo.swift +++ b/Sources/TDLibKit/Generated/Models/GetPhoneNumberInfo.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/GetPhoneNumberInfoSync.swift b/Sources/TDLibKit/Generated/Models/GetPhoneNumberInfoSync.swift index 1d06c0a7ca..13aa068ab2 100644 --- a/Sources/TDLibKit/Generated/Models/GetPhoneNumberInfoSync.swift +++ b/Sources/TDLibKit/Generated/Models/GetPhoneNumberInfoSync.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/GetPollVoters.swift b/Sources/TDLibKit/Generated/Models/GetPollVoters.swift index 31c4c5c6e0..4345cb30c8 100644 --- a/Sources/TDLibKit/Generated/Models/GetPollVoters.swift +++ b/Sources/TDLibKit/Generated/Models/GetPollVoters.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/GetPreferredCountryLanguage.swift b/Sources/TDLibKit/Generated/Models/GetPreferredCountryLanguage.swift index 5e95052eeb..cbede680f3 100644 --- a/Sources/TDLibKit/Generated/Models/GetPreferredCountryLanguage.swift +++ b/Sources/TDLibKit/Generated/Models/GetPreferredCountryLanguage.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/GetPremiumFeatures.swift b/Sources/TDLibKit/Generated/Models/GetPremiumFeatures.swift index 3932e0f74a..1c9bb7c2a3 100644 --- a/Sources/TDLibKit/Generated/Models/GetPremiumFeatures.swift +++ b/Sources/TDLibKit/Generated/Models/GetPremiumFeatures.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/GetPremiumGiftCodePaymentOptions.swift b/Sources/TDLibKit/Generated/Models/GetPremiumGiftCodePaymentOptions.swift index 5e6f361937..0e6658b49b 100644 --- a/Sources/TDLibKit/Generated/Models/GetPremiumGiftCodePaymentOptions.swift +++ b/Sources/TDLibKit/Generated/Models/GetPremiumGiftCodePaymentOptions.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/GetPremiumGiveawayInfo.swift b/Sources/TDLibKit/Generated/Models/GetPremiumGiveawayInfo.swift index 04f63898be..041674d6de 100644 --- a/Sources/TDLibKit/Generated/Models/GetPremiumGiveawayInfo.swift +++ b/Sources/TDLibKit/Generated/Models/GetPremiumGiveawayInfo.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/GetPremiumLimit.swift b/Sources/TDLibKit/Generated/Models/GetPremiumLimit.swift index 213688bb91..78cb1944e4 100644 --- a/Sources/TDLibKit/Generated/Models/GetPremiumLimit.swift +++ b/Sources/TDLibKit/Generated/Models/GetPremiumLimit.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/GetPremiumState.swift b/Sources/TDLibKit/Generated/Models/GetPremiumState.swift index 73a6d3c1aa..1ad9bd785d 100644 --- a/Sources/TDLibKit/Generated/Models/GetPremiumState.swift +++ b/Sources/TDLibKit/Generated/Models/GetPremiumState.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/GetPremiumStickerExamples.swift b/Sources/TDLibKit/Generated/Models/GetPremiumStickerExamples.swift index dbbb19499e..be4d61dac4 100644 --- a/Sources/TDLibKit/Generated/Models/GetPremiumStickerExamples.swift +++ b/Sources/TDLibKit/Generated/Models/GetPremiumStickerExamples.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/GetPremiumStickers.swift b/Sources/TDLibKit/Generated/Models/GetPremiumStickers.swift index bf92d05d76..4a744a1893 100644 --- a/Sources/TDLibKit/Generated/Models/GetPremiumStickers.swift +++ b/Sources/TDLibKit/Generated/Models/GetPremiumStickers.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/GetProxies.swift b/Sources/TDLibKit/Generated/Models/GetProxies.swift index 9a1e602fa7..515eb2c7f0 100644 --- a/Sources/TDLibKit/Generated/Models/GetProxies.swift +++ b/Sources/TDLibKit/Generated/Models/GetProxies.swift @@ -3,14 +3,14 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation -/// Returns list of proxies that are currently set up. Can be called before authorization +/// Returns the list of proxies that are currently set up. Can be called before authorization public struct GetProxies: Codable, Equatable, Hashable { diff --git a/Sources/TDLibKit/Generated/Models/GetProxyLink.swift b/Sources/TDLibKit/Generated/Models/GetProxyLink.swift index edec467a44..50704c6b5e 100644 --- a/Sources/TDLibKit/Generated/Models/GetProxyLink.swift +++ b/Sources/TDLibKit/Generated/Models/GetProxyLink.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/GetPushReceiverId.swift b/Sources/TDLibKit/Generated/Models/GetPushReceiverId.swift index b2ad69861e..abbf8f4dd2 100644 --- a/Sources/TDLibKit/Generated/Models/GetPushReceiverId.swift +++ b/Sources/TDLibKit/Generated/Models/GetPushReceiverId.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/GetReadDatePrivacySettings.swift b/Sources/TDLibKit/Generated/Models/GetReadDatePrivacySettings.swift index 00d55866cf..dfb6f49982 100644 --- a/Sources/TDLibKit/Generated/Models/GetReadDatePrivacySettings.swift +++ b/Sources/TDLibKit/Generated/Models/GetReadDatePrivacySettings.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/GetRecentEmojiStatuses.swift b/Sources/TDLibKit/Generated/Models/GetRecentEmojiStatuses.swift index 5c9ee9353b..59536c5e6e 100644 --- a/Sources/TDLibKit/Generated/Models/GetRecentEmojiStatuses.swift +++ b/Sources/TDLibKit/Generated/Models/GetRecentEmojiStatuses.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/GetRecentInlineBots.swift b/Sources/TDLibKit/Generated/Models/GetRecentInlineBots.swift index 3069f4b8d4..9638428a6d 100644 --- a/Sources/TDLibKit/Generated/Models/GetRecentInlineBots.swift +++ b/Sources/TDLibKit/Generated/Models/GetRecentInlineBots.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/GetRecentStickers.swift b/Sources/TDLibKit/Generated/Models/GetRecentStickers.swift index 4c01f19042..ac65b12f18 100644 --- a/Sources/TDLibKit/Generated/Models/GetRecentStickers.swift +++ b/Sources/TDLibKit/Generated/Models/GetRecentStickers.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/GetRecentlyOpenedChats.swift b/Sources/TDLibKit/Generated/Models/GetRecentlyOpenedChats.swift index 4d1d649452..e0b761d965 100644 --- a/Sources/TDLibKit/Generated/Models/GetRecentlyOpenedChats.swift +++ b/Sources/TDLibKit/Generated/Models/GetRecentlyOpenedChats.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/GetRecentlyVisitedTMeUrls.swift b/Sources/TDLibKit/Generated/Models/GetRecentlyVisitedTMeUrls.swift index 23120c1a13..ad128fe30c 100644 --- a/Sources/TDLibKit/Generated/Models/GetRecentlyVisitedTMeUrls.swift +++ b/Sources/TDLibKit/Generated/Models/GetRecentlyVisitedTMeUrls.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/GetRecommendedChatFolders.swift b/Sources/TDLibKit/Generated/Models/GetRecommendedChatFolders.swift index fefc7069d4..9ba447a912 100644 --- a/Sources/TDLibKit/Generated/Models/GetRecommendedChatFolders.swift +++ b/Sources/TDLibKit/Generated/Models/GetRecommendedChatFolders.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/GetRecommendedChats.swift b/Sources/TDLibKit/Generated/Models/GetRecommendedChats.swift new file mode 100644 index 0000000000..da851c5c71 --- /dev/null +++ b/Sources/TDLibKit/Generated/Models/GetRecommendedChats.swift @@ -0,0 +1,19 @@ +// +// GetRecommendedChats.swift +// tl2swift +// +// Generated automatically. Any changes will be lost! +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b +// + +import Foundation + + +/// Returns a list of channel chats recommended to the current user +public struct GetRecommendedChats: Codable, Equatable, Hashable { + + + public init() {} +} + diff --git a/Sources/TDLibKit/Generated/Models/GetRecoveryEmailAddress.swift b/Sources/TDLibKit/Generated/Models/GetRecoveryEmailAddress.swift index a97204d010..ee868d79a7 100644 --- a/Sources/TDLibKit/Generated/Models/GetRecoveryEmailAddress.swift +++ b/Sources/TDLibKit/Generated/Models/GetRecoveryEmailAddress.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/GetRemoteFile.swift b/Sources/TDLibKit/Generated/Models/GetRemoteFile.swift index c9eb7c4d0b..55efe454d7 100644 --- a/Sources/TDLibKit/Generated/Models/GetRemoteFile.swift +++ b/Sources/TDLibKit/Generated/Models/GetRemoteFile.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/GetRepliedMessage.swift b/Sources/TDLibKit/Generated/Models/GetRepliedMessage.swift index 6e245b9893..80084a068b 100644 --- a/Sources/TDLibKit/Generated/Models/GetRepliedMessage.swift +++ b/Sources/TDLibKit/Generated/Models/GetRepliedMessage.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/GetSavedAnimations.swift b/Sources/TDLibKit/Generated/Models/GetSavedAnimations.swift index d3bea68d2d..cda7546b49 100644 --- a/Sources/TDLibKit/Generated/Models/GetSavedAnimations.swift +++ b/Sources/TDLibKit/Generated/Models/GetSavedAnimations.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/GetSavedMessagesTags.swift b/Sources/TDLibKit/Generated/Models/GetSavedMessagesTags.swift index 9bf884eb67..4f1c334d14 100644 --- a/Sources/TDLibKit/Generated/Models/GetSavedMessagesTags.swift +++ b/Sources/TDLibKit/Generated/Models/GetSavedMessagesTags.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/GetSavedMessagesTopicHistory.swift b/Sources/TDLibKit/Generated/Models/GetSavedMessagesTopicHistory.swift index 91f091d9e0..917c01db02 100644 --- a/Sources/TDLibKit/Generated/Models/GetSavedMessagesTopicHistory.swift +++ b/Sources/TDLibKit/Generated/Models/GetSavedMessagesTopicHistory.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation @@ -16,7 +16,7 @@ public struct GetSavedMessagesTopicHistory: Codable, Equatable, Hashable { /// Identifier of the message starting from which messages must be fetched; use 0 to get results from the last message public let fromMessageId: Int64? - /// The maximum number of messages to be returned; must be positive and can't be greater than 100. If the offset is negative, the limit must be greater than or equal to -offset.//-For optimal performance, the number of returned messages is chosen by TDLib and can be smaller than the specified limit + /// The maximum number of messages to be returned; must be positive and can't be greater than 100. If the offset is negative, the limit must be greater than or equal to -offset. For optimal performance, the number of returned messages is chosen by TDLib and can be smaller than the specified limit public let limit: Int? /// Specify 0 to get results from exactly the message from_message_id or a negative offset up to 99 to get additionally some newer messages diff --git a/Sources/TDLibKit/Generated/Models/GetSavedMessagesTopicMessageByDate.swift b/Sources/TDLibKit/Generated/Models/GetSavedMessagesTopicMessageByDate.swift index 500d38878f..8249f1200b 100644 --- a/Sources/TDLibKit/Generated/Models/GetSavedMessagesTopicMessageByDate.swift +++ b/Sources/TDLibKit/Generated/Models/GetSavedMessagesTopicMessageByDate.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/GetSavedNotificationSound.swift b/Sources/TDLibKit/Generated/Models/GetSavedNotificationSound.swift index 581f5f98e5..3c2cb55d2b 100644 --- a/Sources/TDLibKit/Generated/Models/GetSavedNotificationSound.swift +++ b/Sources/TDLibKit/Generated/Models/GetSavedNotificationSound.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/GetSavedNotificationSounds.swift b/Sources/TDLibKit/Generated/Models/GetSavedNotificationSounds.swift index b849f78acd..acc46ada16 100644 --- a/Sources/TDLibKit/Generated/Models/GetSavedNotificationSounds.swift +++ b/Sources/TDLibKit/Generated/Models/GetSavedNotificationSounds.swift @@ -3,14 +3,14 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation -/// Returns list of saved notification sounds. If a sound isn't in the list, then default sound needs to be used +/// Returns the list of saved notification sounds. If a sound isn't in the list, then default sound needs to be used public struct GetSavedNotificationSounds: Codable, Equatable, Hashable { diff --git a/Sources/TDLibKit/Generated/Models/GetSavedOrderInfo.swift b/Sources/TDLibKit/Generated/Models/GetSavedOrderInfo.swift index 183a81c9aa..1661bbddf0 100644 --- a/Sources/TDLibKit/Generated/Models/GetSavedOrderInfo.swift +++ b/Sources/TDLibKit/Generated/Models/GetSavedOrderInfo.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/GetScopeNotificationSettings.swift b/Sources/TDLibKit/Generated/Models/GetScopeNotificationSettings.swift index 43045c152e..49d58be355 100644 --- a/Sources/TDLibKit/Generated/Models/GetScopeNotificationSettings.swift +++ b/Sources/TDLibKit/Generated/Models/GetScopeNotificationSettings.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/GetSecretChat.swift b/Sources/TDLibKit/Generated/Models/GetSecretChat.swift index 719a084f90..7805a45dc5 100644 --- a/Sources/TDLibKit/Generated/Models/GetSecretChat.swift +++ b/Sources/TDLibKit/Generated/Models/GetSecretChat.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/GetStatisticalGraph.swift b/Sources/TDLibKit/Generated/Models/GetStatisticalGraph.swift index c5ac532c7e..83feb7147f 100644 --- a/Sources/TDLibKit/Generated/Models/GetStatisticalGraph.swift +++ b/Sources/TDLibKit/Generated/Models/GetStatisticalGraph.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/GetStickerEmojis.swift b/Sources/TDLibKit/Generated/Models/GetStickerEmojis.swift index efb5ab3e33..f93fbe0132 100644 --- a/Sources/TDLibKit/Generated/Models/GetStickerEmojis.swift +++ b/Sources/TDLibKit/Generated/Models/GetStickerEmojis.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/GetStickerSet.swift b/Sources/TDLibKit/Generated/Models/GetStickerSet.swift index 9fdcd28b2e..edea8ea207 100644 --- a/Sources/TDLibKit/Generated/Models/GetStickerSet.swift +++ b/Sources/TDLibKit/Generated/Models/GetStickerSet.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/GetStickers.swift b/Sources/TDLibKit/Generated/Models/GetStickers.swift index d8d6f35f11..10d35e8853 100644 --- a/Sources/TDLibKit/Generated/Models/GetStickers.swift +++ b/Sources/TDLibKit/Generated/Models/GetStickers.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/GetStorageStatistics.swift b/Sources/TDLibKit/Generated/Models/GetStorageStatistics.swift index 78c4d1a253..b42edaacb1 100644 --- a/Sources/TDLibKit/Generated/Models/GetStorageStatistics.swift +++ b/Sources/TDLibKit/Generated/Models/GetStorageStatistics.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/GetStorageStatisticsFast.swift b/Sources/TDLibKit/Generated/Models/GetStorageStatisticsFast.swift index f70dcc11c8..7b2cbfe877 100644 --- a/Sources/TDLibKit/Generated/Models/GetStorageStatisticsFast.swift +++ b/Sources/TDLibKit/Generated/Models/GetStorageStatisticsFast.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/GetStory.swift b/Sources/TDLibKit/Generated/Models/GetStory.swift index f9802efdeb..101dc370b2 100644 --- a/Sources/TDLibKit/Generated/Models/GetStory.swift +++ b/Sources/TDLibKit/Generated/Models/GetStory.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/GetStoryAvailableReactions.swift b/Sources/TDLibKit/Generated/Models/GetStoryAvailableReactions.swift index 599f74efb3..b1ae3f5657 100644 --- a/Sources/TDLibKit/Generated/Models/GetStoryAvailableReactions.swift +++ b/Sources/TDLibKit/Generated/Models/GetStoryAvailableReactions.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/GetStoryInteractions.swift b/Sources/TDLibKit/Generated/Models/GetStoryInteractions.swift index 00beff3bc9..bae597d377 100644 --- a/Sources/TDLibKit/Generated/Models/GetStoryInteractions.swift +++ b/Sources/TDLibKit/Generated/Models/GetStoryInteractions.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/GetStoryNotificationSettingsExceptions.swift b/Sources/TDLibKit/Generated/Models/GetStoryNotificationSettingsExceptions.swift index 89baa4b780..6a2ddf5fb2 100644 --- a/Sources/TDLibKit/Generated/Models/GetStoryNotificationSettingsExceptions.swift +++ b/Sources/TDLibKit/Generated/Models/GetStoryNotificationSettingsExceptions.swift @@ -3,14 +3,14 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation -/// Returns list of chats with non-default notification settings for stories +/// Returns the list of chats with non-default notification settings for stories public struct GetStoryNotificationSettingsExceptions: Codable, Equatable, Hashable { diff --git a/Sources/TDLibKit/Generated/Models/GetStoryPublicForwards.swift b/Sources/TDLibKit/Generated/Models/GetStoryPublicForwards.swift index d70b68149f..6e59d4c3ae 100644 --- a/Sources/TDLibKit/Generated/Models/GetStoryPublicForwards.swift +++ b/Sources/TDLibKit/Generated/Models/GetStoryPublicForwards.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/GetStoryStatistics.swift b/Sources/TDLibKit/Generated/Models/GetStoryStatistics.swift index 813f61ae15..3608c89225 100644 --- a/Sources/TDLibKit/Generated/Models/GetStoryStatistics.swift +++ b/Sources/TDLibKit/Generated/Models/GetStoryStatistics.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/GetSuggestedFileName.swift b/Sources/TDLibKit/Generated/Models/GetSuggestedFileName.swift index ad6b4285ba..019f68d2b9 100644 --- a/Sources/TDLibKit/Generated/Models/GetSuggestedFileName.swift +++ b/Sources/TDLibKit/Generated/Models/GetSuggestedFileName.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/GetSuggestedStickerSetName.swift b/Sources/TDLibKit/Generated/Models/GetSuggestedStickerSetName.swift index bfe7c1b3f2..ec74e630ac 100644 --- a/Sources/TDLibKit/Generated/Models/GetSuggestedStickerSetName.swift +++ b/Sources/TDLibKit/Generated/Models/GetSuggestedStickerSetName.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/GetSuitableDiscussionChats.swift b/Sources/TDLibKit/Generated/Models/GetSuitableDiscussionChats.swift index 163485c966..0208fd2777 100644 --- a/Sources/TDLibKit/Generated/Models/GetSuitableDiscussionChats.swift +++ b/Sources/TDLibKit/Generated/Models/GetSuitableDiscussionChats.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/GetSuitablePersonalChats.swift b/Sources/TDLibKit/Generated/Models/GetSuitablePersonalChats.swift index e7e8d8d1e9..952394d31e 100644 --- a/Sources/TDLibKit/Generated/Models/GetSuitablePersonalChats.swift +++ b/Sources/TDLibKit/Generated/Models/GetSuitablePersonalChats.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/GetSupergroup.swift b/Sources/TDLibKit/Generated/Models/GetSupergroup.swift index 2ba48b870d..c0fd8ea3c5 100644 --- a/Sources/TDLibKit/Generated/Models/GetSupergroup.swift +++ b/Sources/TDLibKit/Generated/Models/GetSupergroup.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/GetSupergroupFullInfo.swift b/Sources/TDLibKit/Generated/Models/GetSupergroupFullInfo.swift index 4794deb2ed..57abad72d1 100644 --- a/Sources/TDLibKit/Generated/Models/GetSupergroupFullInfo.swift +++ b/Sources/TDLibKit/Generated/Models/GetSupergroupFullInfo.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/GetSupergroupMembers.swift b/Sources/TDLibKit/Generated/Models/GetSupergroupMembers.swift index 4618f476a9..a5106d6281 100644 --- a/Sources/TDLibKit/Generated/Models/GetSupergroupMembers.swift +++ b/Sources/TDLibKit/Generated/Models/GetSupergroupMembers.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/GetSupportName.swift b/Sources/TDLibKit/Generated/Models/GetSupportName.swift index 08dadf7e77..fff7190047 100644 --- a/Sources/TDLibKit/Generated/Models/GetSupportName.swift +++ b/Sources/TDLibKit/Generated/Models/GetSupportName.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/GetSupportUser.swift b/Sources/TDLibKit/Generated/Models/GetSupportUser.swift index d1fbd25539..f54d8ea66c 100644 --- a/Sources/TDLibKit/Generated/Models/GetSupportUser.swift +++ b/Sources/TDLibKit/Generated/Models/GetSupportUser.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/GetTemporaryPasswordState.swift b/Sources/TDLibKit/Generated/Models/GetTemporaryPasswordState.swift index 0f5b76dbdf..168d70a400 100644 --- a/Sources/TDLibKit/Generated/Models/GetTemporaryPasswordState.swift +++ b/Sources/TDLibKit/Generated/Models/GetTemporaryPasswordState.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/GetTextEntities.swift b/Sources/TDLibKit/Generated/Models/GetTextEntities.swift index 335cfca86b..5659c03ed2 100644 --- a/Sources/TDLibKit/Generated/Models/GetTextEntities.swift +++ b/Sources/TDLibKit/Generated/Models/GetTextEntities.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/GetThemeParametersJsonString.swift b/Sources/TDLibKit/Generated/Models/GetThemeParametersJsonString.swift index 56da705238..b199318d6f 100644 --- a/Sources/TDLibKit/Generated/Models/GetThemeParametersJsonString.swift +++ b/Sources/TDLibKit/Generated/Models/GetThemeParametersJsonString.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/GetThemedChatEmojiStatuses.swift b/Sources/TDLibKit/Generated/Models/GetThemedChatEmojiStatuses.swift index 0064e11efa..ad9452c255 100644 --- a/Sources/TDLibKit/Generated/Models/GetThemedChatEmojiStatuses.swift +++ b/Sources/TDLibKit/Generated/Models/GetThemedChatEmojiStatuses.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/GetThemedEmojiStatuses.swift b/Sources/TDLibKit/Generated/Models/GetThemedEmojiStatuses.swift index 9730222805..31b767074f 100644 --- a/Sources/TDLibKit/Generated/Models/GetThemedEmojiStatuses.swift +++ b/Sources/TDLibKit/Generated/Models/GetThemedEmojiStatuses.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/GetTimeZones.swift b/Sources/TDLibKit/Generated/Models/GetTimeZones.swift index 79c9dc541c..3d2be31086 100644 --- a/Sources/TDLibKit/Generated/Models/GetTimeZones.swift +++ b/Sources/TDLibKit/Generated/Models/GetTimeZones.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/GetTopChats.swift b/Sources/TDLibKit/Generated/Models/GetTopChats.swift index a5d46b064a..28ddc98fa7 100644 --- a/Sources/TDLibKit/Generated/Models/GetTopChats.swift +++ b/Sources/TDLibKit/Generated/Models/GetTopChats.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/GetTrendingStickerSets.swift b/Sources/TDLibKit/Generated/Models/GetTrendingStickerSets.swift index 2334224afc..528b681b3b 100644 --- a/Sources/TDLibKit/Generated/Models/GetTrendingStickerSets.swift +++ b/Sources/TDLibKit/Generated/Models/GetTrendingStickerSets.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/GetUser.swift b/Sources/TDLibKit/Generated/Models/GetUser.swift index e7b7c48725..7a952a4498 100644 --- a/Sources/TDLibKit/Generated/Models/GetUser.swift +++ b/Sources/TDLibKit/Generated/Models/GetUser.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/GetUserChatBoosts.swift b/Sources/TDLibKit/Generated/Models/GetUserChatBoosts.swift index 54d49a2799..31ba646d60 100644 --- a/Sources/TDLibKit/Generated/Models/GetUserChatBoosts.swift +++ b/Sources/TDLibKit/Generated/Models/GetUserChatBoosts.swift @@ -3,14 +3,14 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation -/// Returns list of boosts applied to a chat by a given user; requires administrator rights in the chat; for bots only +/// Returns the list of boosts applied to a chat by a given user; requires administrator rights in the chat; for bots only public struct GetUserChatBoosts: Codable, Equatable, Hashable { /// Identifier of the chat diff --git a/Sources/TDLibKit/Generated/Models/GetUserFullInfo.swift b/Sources/TDLibKit/Generated/Models/GetUserFullInfo.swift index 7d85646b7c..c8a5c374f1 100644 --- a/Sources/TDLibKit/Generated/Models/GetUserFullInfo.swift +++ b/Sources/TDLibKit/Generated/Models/GetUserFullInfo.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/GetUserLink.swift b/Sources/TDLibKit/Generated/Models/GetUserLink.swift index f8c9945ca9..0dce7bde20 100644 --- a/Sources/TDLibKit/Generated/Models/GetUserLink.swift +++ b/Sources/TDLibKit/Generated/Models/GetUserLink.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/GetUserPrivacySettingRules.swift b/Sources/TDLibKit/Generated/Models/GetUserPrivacySettingRules.swift index 4f68b2fb1d..7bb861db2b 100644 --- a/Sources/TDLibKit/Generated/Models/GetUserPrivacySettingRules.swift +++ b/Sources/TDLibKit/Generated/Models/GetUserPrivacySettingRules.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/GetUserProfilePhotos.swift b/Sources/TDLibKit/Generated/Models/GetUserProfilePhotos.swift index 8056b2bdeb..39819ddc6c 100644 --- a/Sources/TDLibKit/Generated/Models/GetUserProfilePhotos.swift +++ b/Sources/TDLibKit/Generated/Models/GetUserProfilePhotos.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/GetUserSupportInfo.swift b/Sources/TDLibKit/Generated/Models/GetUserSupportInfo.swift index b1231da449..f790c42d66 100644 --- a/Sources/TDLibKit/Generated/Models/GetUserSupportInfo.swift +++ b/Sources/TDLibKit/Generated/Models/GetUserSupportInfo.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/GetVideoChatAvailableParticipants.swift b/Sources/TDLibKit/Generated/Models/GetVideoChatAvailableParticipants.swift index 2f4ee1fde5..6f4024612f 100644 --- a/Sources/TDLibKit/Generated/Models/GetVideoChatAvailableParticipants.swift +++ b/Sources/TDLibKit/Generated/Models/GetVideoChatAvailableParticipants.swift @@ -3,14 +3,14 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation -/// Returns list of participant identifiers, on whose behalf a video chat in the chat can be joined +/// Returns the list of participant identifiers, on whose behalf a video chat in the chat can be joined public struct GetVideoChatAvailableParticipants: Codable, Equatable, Hashable { /// Chat identifier diff --git a/Sources/TDLibKit/Generated/Models/GetVideoChatRtmpUrl.swift b/Sources/TDLibKit/Generated/Models/GetVideoChatRtmpUrl.swift index d17080dec6..ba23df634d 100644 --- a/Sources/TDLibKit/Generated/Models/GetVideoChatRtmpUrl.swift +++ b/Sources/TDLibKit/Generated/Models/GetVideoChatRtmpUrl.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/GetWebAppLinkUrl.swift b/Sources/TDLibKit/Generated/Models/GetWebAppLinkUrl.swift index ecbb7b80ba..e5cc8f6f76 100644 --- a/Sources/TDLibKit/Generated/Models/GetWebAppLinkUrl.swift +++ b/Sources/TDLibKit/Generated/Models/GetWebAppLinkUrl.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/GetWebAppUrl.swift b/Sources/TDLibKit/Generated/Models/GetWebAppUrl.swift index 480e932b5c..eb4baefec2 100644 --- a/Sources/TDLibKit/Generated/Models/GetWebAppUrl.swift +++ b/Sources/TDLibKit/Generated/Models/GetWebAppUrl.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/GetWebPageInstantView.swift b/Sources/TDLibKit/Generated/Models/GetWebPageInstantView.swift index b903c8399d..216e270e1c 100644 --- a/Sources/TDLibKit/Generated/Models/GetWebPageInstantView.swift +++ b/Sources/TDLibKit/Generated/Models/GetWebPageInstantView.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/GetWebPagePreview.swift b/Sources/TDLibKit/Generated/Models/GetWebPagePreview.swift index 5b3eafb14b..b4b63910ed 100644 --- a/Sources/TDLibKit/Generated/Models/GetWebPagePreview.swift +++ b/Sources/TDLibKit/Generated/Models/GetWebPagePreview.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/GroupCall.swift b/Sources/TDLibKit/Generated/Models/GroupCall.swift index fd39ab45a5..584a38f983 100644 --- a/Sources/TDLibKit/Generated/Models/GroupCall.swift +++ b/Sources/TDLibKit/Generated/Models/GroupCall.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/GroupCallId.swift b/Sources/TDLibKit/Generated/Models/GroupCallId.swift index 7b94507b49..1733f1e4ea 100644 --- a/Sources/TDLibKit/Generated/Models/GroupCallId.swift +++ b/Sources/TDLibKit/Generated/Models/GroupCallId.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/GroupCallParticipant.swift b/Sources/TDLibKit/Generated/Models/GroupCallParticipant.swift index 9619a8e61d..5a44e09bd4 100644 --- a/Sources/TDLibKit/Generated/Models/GroupCallParticipant.swift +++ b/Sources/TDLibKit/Generated/Models/GroupCallParticipant.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/GroupCallParticipantVideoInfo.swift b/Sources/TDLibKit/Generated/Models/GroupCallParticipantVideoInfo.swift index 2a1dd08519..1312f2d682 100644 --- a/Sources/TDLibKit/Generated/Models/GroupCallParticipantVideoInfo.swift +++ b/Sources/TDLibKit/Generated/Models/GroupCallParticipantVideoInfo.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/GroupCallRecentSpeaker.swift b/Sources/TDLibKit/Generated/Models/GroupCallRecentSpeaker.swift index c58c0b5d95..f46245b4e3 100644 --- a/Sources/TDLibKit/Generated/Models/GroupCallRecentSpeaker.swift +++ b/Sources/TDLibKit/Generated/Models/GroupCallRecentSpeaker.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/GroupCallStream.swift b/Sources/TDLibKit/Generated/Models/GroupCallStream.swift index 3bb2c0d489..ad605e7e53 100644 --- a/Sources/TDLibKit/Generated/Models/GroupCallStream.swift +++ b/Sources/TDLibKit/Generated/Models/GroupCallStream.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/GroupCallStreams.swift b/Sources/TDLibKit/Generated/Models/GroupCallStreams.swift index 31c34f0c89..931001c417 100644 --- a/Sources/TDLibKit/Generated/Models/GroupCallStreams.swift +++ b/Sources/TDLibKit/Generated/Models/GroupCallStreams.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/GroupCallVideoQuality.swift b/Sources/TDLibKit/Generated/Models/GroupCallVideoQuality.swift index 62aabc91f2..d6f9e83f02 100644 --- a/Sources/TDLibKit/Generated/Models/GroupCallVideoQuality.swift +++ b/Sources/TDLibKit/Generated/Models/GroupCallVideoQuality.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/GroupCallVideoSourceGroup.swift b/Sources/TDLibKit/Generated/Models/GroupCallVideoSourceGroup.swift index d55c85825b..3f73e06d28 100644 --- a/Sources/TDLibKit/Generated/Models/GroupCallVideoSourceGroup.swift +++ b/Sources/TDLibKit/Generated/Models/GroupCallVideoSourceGroup.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/Hashtags.swift b/Sources/TDLibKit/Generated/Models/Hashtags.swift index 06ef3eb8c1..0c8cfe0aae 100644 --- a/Sources/TDLibKit/Generated/Models/Hashtags.swift +++ b/Sources/TDLibKit/Generated/Models/Hashtags.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/HideContactCloseBirthdays.swift b/Sources/TDLibKit/Generated/Models/HideContactCloseBirthdays.swift new file mode 100644 index 0000000000..cfc4e75748 --- /dev/null +++ b/Sources/TDLibKit/Generated/Models/HideContactCloseBirthdays.swift @@ -0,0 +1,19 @@ +// +// HideContactCloseBirthdays.swift +// tl2swift +// +// Generated automatically. Any changes will be lost! +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b +// + +import Foundation + + +/// Hides the list of contacts that have close birthdays for 24 hours +public struct HideContactCloseBirthdays: Codable, Equatable, Hashable { + + + public init() {} +} + diff --git a/Sources/TDLibKit/Generated/Models/HideSuggestedAction.swift b/Sources/TDLibKit/Generated/Models/HideSuggestedAction.swift index 9341a1e03f..4f6dc77b03 100644 --- a/Sources/TDLibKit/Generated/Models/HideSuggestedAction.swift +++ b/Sources/TDLibKit/Generated/Models/HideSuggestedAction.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/HttpUrl.swift b/Sources/TDLibKit/Generated/Models/HttpUrl.swift index d559eada60..6dc8df6233 100644 --- a/Sources/TDLibKit/Generated/Models/HttpUrl.swift +++ b/Sources/TDLibKit/Generated/Models/HttpUrl.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/IdentityDocument.swift b/Sources/TDLibKit/Generated/Models/IdentityDocument.swift index da318bb802..dff5927288 100644 --- a/Sources/TDLibKit/Generated/Models/IdentityDocument.swift +++ b/Sources/TDLibKit/Generated/Models/IdentityDocument.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/ImportContacts.swift b/Sources/TDLibKit/Generated/Models/ImportContacts.swift index e7303ee8de..76ac195714 100644 --- a/Sources/TDLibKit/Generated/Models/ImportContacts.swift +++ b/Sources/TDLibKit/Generated/Models/ImportContacts.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/ImportMessages.swift b/Sources/TDLibKit/Generated/Models/ImportMessages.swift index 43c3dbcdfd..872b361c20 100644 --- a/Sources/TDLibKit/Generated/Models/ImportMessages.swift +++ b/Sources/TDLibKit/Generated/Models/ImportMessages.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/ImportedContacts.swift b/Sources/TDLibKit/Generated/Models/ImportedContacts.swift index 3fb7d101e1..556db24f05 100644 --- a/Sources/TDLibKit/Generated/Models/ImportedContacts.swift +++ b/Sources/TDLibKit/Generated/Models/ImportedContacts.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/InlineKeyboardButton.swift b/Sources/TDLibKit/Generated/Models/InlineKeyboardButton.swift index 54de06afae..b7ecfffb97 100644 --- a/Sources/TDLibKit/Generated/Models/InlineKeyboardButton.swift +++ b/Sources/TDLibKit/Generated/Models/InlineKeyboardButton.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/InlineKeyboardButtonType.swift b/Sources/TDLibKit/Generated/Models/InlineKeyboardButtonType.swift index 3ddb474b87..b3ff403075 100644 --- a/Sources/TDLibKit/Generated/Models/InlineKeyboardButtonType.swift +++ b/Sources/TDLibKit/Generated/Models/InlineKeyboardButtonType.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/InlineQueryResult.swift b/Sources/TDLibKit/Generated/Models/InlineQueryResult.swift index c31b95c16a..632de8794b 100644 --- a/Sources/TDLibKit/Generated/Models/InlineQueryResult.swift +++ b/Sources/TDLibKit/Generated/Models/InlineQueryResult.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/InlineQueryResults.swift b/Sources/TDLibKit/Generated/Models/InlineQueryResults.swift index 754c35c976..ab9f431dc6 100644 --- a/Sources/TDLibKit/Generated/Models/InlineQueryResults.swift +++ b/Sources/TDLibKit/Generated/Models/InlineQueryResults.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/InlineQueryResultsButton.swift b/Sources/TDLibKit/Generated/Models/InlineQueryResultsButton.swift index 80324bbecd..c0bff921ce 100644 --- a/Sources/TDLibKit/Generated/Models/InlineQueryResultsButton.swift +++ b/Sources/TDLibKit/Generated/Models/InlineQueryResultsButton.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/InlineQueryResultsButtonType.swift b/Sources/TDLibKit/Generated/Models/InlineQueryResultsButtonType.swift index 04f3dbc578..276c88abc5 100644 --- a/Sources/TDLibKit/Generated/Models/InlineQueryResultsButtonType.swift +++ b/Sources/TDLibKit/Generated/Models/InlineQueryResultsButtonType.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/InputBackground.swift b/Sources/TDLibKit/Generated/Models/InputBackground.swift index 1b383e3c90..2ed87a73f2 100644 --- a/Sources/TDLibKit/Generated/Models/InputBackground.swift +++ b/Sources/TDLibKit/Generated/Models/InputBackground.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/InputBusinessChatLink.swift b/Sources/TDLibKit/Generated/Models/InputBusinessChatLink.swift index 35847b4097..3210fb102c 100644 --- a/Sources/TDLibKit/Generated/Models/InputBusinessChatLink.swift +++ b/Sources/TDLibKit/Generated/Models/InputBusinessChatLink.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/InputBusinessStartPage.swift b/Sources/TDLibKit/Generated/Models/InputBusinessStartPage.swift index f8528a62c7..f4c416c438 100644 --- a/Sources/TDLibKit/Generated/Models/InputBusinessStartPage.swift +++ b/Sources/TDLibKit/Generated/Models/InputBusinessStartPage.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/InputChatPhoto.swift b/Sources/TDLibKit/Generated/Models/InputChatPhoto.swift index ec52067a59..13e3e4a30b 100644 --- a/Sources/TDLibKit/Generated/Models/InputChatPhoto.swift +++ b/Sources/TDLibKit/Generated/Models/InputChatPhoto.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/InputCredentials.swift b/Sources/TDLibKit/Generated/Models/InputCredentials.swift index 7da9063bdd..00135294cf 100644 --- a/Sources/TDLibKit/Generated/Models/InputCredentials.swift +++ b/Sources/TDLibKit/Generated/Models/InputCredentials.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/InputFile.swift b/Sources/TDLibKit/Generated/Models/InputFile.swift index b73e551594..773dcdbb6b 100644 --- a/Sources/TDLibKit/Generated/Models/InputFile.swift +++ b/Sources/TDLibKit/Generated/Models/InputFile.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/InputIdentityDocument.swift b/Sources/TDLibKit/Generated/Models/InputIdentityDocument.swift index cc733639eb..f5e3b35010 100644 --- a/Sources/TDLibKit/Generated/Models/InputIdentityDocument.swift +++ b/Sources/TDLibKit/Generated/Models/InputIdentityDocument.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/InputInlineQueryResult.swift b/Sources/TDLibKit/Generated/Models/InputInlineQueryResult.swift index de6b4fade9..df71c1c1e1 100644 --- a/Sources/TDLibKit/Generated/Models/InputInlineQueryResult.swift +++ b/Sources/TDLibKit/Generated/Models/InputInlineQueryResult.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/InputInvoice.swift b/Sources/TDLibKit/Generated/Models/InputInvoice.swift index 7c406840fa..efc8457e9c 100644 --- a/Sources/TDLibKit/Generated/Models/InputInvoice.swift +++ b/Sources/TDLibKit/Generated/Models/InputInvoice.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/InputMessageContent.swift b/Sources/TDLibKit/Generated/Models/InputMessageContent.swift index 8a29348938..11139eb23a 100644 --- a/Sources/TDLibKit/Generated/Models/InputMessageContent.swift +++ b/Sources/TDLibKit/Generated/Models/InputMessageContent.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation @@ -541,7 +541,7 @@ public struct InputMessageVoiceNote: Codable, Equatable, Hashable { /// Voice note self-destruct type; may be null if none; pass null if none; private chats only public let selfDestructType: MessageSelfDestructType? - /// Voice note to be sent + /// Voice note to be sent. The voice note must be encoded with the Opus codec and stored inside an OGG container with a single audio channel, or be in MP3 or M4A format as regular audio public let voiceNote: InputFile /// Waveform representation of the voice note in 5-bit format @@ -569,7 +569,7 @@ public struct InputMessageLocation: Codable, Equatable, Hashable { /// For live locations, a direction in which the location moves, in degrees; 1-360. Pass 0 if unknown public let heading: Int - /// Period for which the location can be updated, in seconds; must be between 60 and 86400 for a live location and 0 otherwise + /// Period for which the location can be updated, in seconds; must be between 60 and 86400 for a temporary live location, 0x7FFFFFFF for permanent live location, and 0 otherwise public let livePeriod: Int /// Location to be sent @@ -737,11 +737,11 @@ public struct InputMessagePoll: Codable, Equatable, Hashable { /// Amount of time the poll will be active after creation, in seconds; for bots only public let openPeriod: Int - /// List of poll answer options, 2-10 strings 1-100 characters each - public let options: [String] + /// List of poll answer options, 2-10 strings 1-100 characters each. Only custom emoji entities are allowed to be added and only by Premium users + public let options: [FormattedText] - /// Poll question; 1-255 characters (up to 300 characters for bots) - public let question: String + /// Poll question; 1-255 characters (up to 300 characters for bots). Only custom emoji entities are allowed to be added and only by Premium users + public let question: FormattedText /// Type of the poll public let type: PollType @@ -752,8 +752,8 @@ public struct InputMessagePoll: Codable, Equatable, Hashable { isAnonymous: Bool, isClosed: Bool, openPeriod: Int, - options: [String], - question: String, + options: [FormattedText], + question: FormattedText, type: PollType ) { self.closeDate = closeDate diff --git a/Sources/TDLibKit/Generated/Models/InputMessageReplyTo.swift b/Sources/TDLibKit/Generated/Models/InputMessageReplyTo.swift index 5bcfe942be..ff31c87c46 100644 --- a/Sources/TDLibKit/Generated/Models/InputMessageReplyTo.swift +++ b/Sources/TDLibKit/Generated/Models/InputMessageReplyTo.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/InputPassportElement.swift b/Sources/TDLibKit/Generated/Models/InputPassportElement.swift index e1f6786316..04eef69e96 100644 --- a/Sources/TDLibKit/Generated/Models/InputPassportElement.swift +++ b/Sources/TDLibKit/Generated/Models/InputPassportElement.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/InputPassportElementError.swift b/Sources/TDLibKit/Generated/Models/InputPassportElementError.swift index 70fbbcc600..bc135037b0 100644 --- a/Sources/TDLibKit/Generated/Models/InputPassportElementError.swift +++ b/Sources/TDLibKit/Generated/Models/InputPassportElementError.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/InputPassportElementErrorSource.swift b/Sources/TDLibKit/Generated/Models/InputPassportElementErrorSource.swift index e5e316c0a7..1a56a831f5 100644 --- a/Sources/TDLibKit/Generated/Models/InputPassportElementErrorSource.swift +++ b/Sources/TDLibKit/Generated/Models/InputPassportElementErrorSource.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/InputPersonalDocument.swift b/Sources/TDLibKit/Generated/Models/InputPersonalDocument.swift index da09d26c90..ff2b8f60b9 100644 --- a/Sources/TDLibKit/Generated/Models/InputPersonalDocument.swift +++ b/Sources/TDLibKit/Generated/Models/InputPersonalDocument.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/InputSticker.swift b/Sources/TDLibKit/Generated/Models/InputSticker.swift index d5453a57b7..c9c3314433 100644 --- a/Sources/TDLibKit/Generated/Models/InputSticker.swift +++ b/Sources/TDLibKit/Generated/Models/InputSticker.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation @@ -25,7 +25,7 @@ public struct InputSticker: Codable, Equatable, Hashable { /// Position where the mask is placed; pass null if not specified public let maskPosition: MaskPosition? - /// File with the sticker; must fit in a 512x512 square. For WEBP stickers the file must be in WEBP or PNG format, which will be converted to WEBP server-side.//-See https://core.telegram.org/animated_stickers#technical-requirements for technical requirements + /// File with the sticker; must fit in a 512x512 square. For WEBP stickers the file must be in WEBP or PNG format, which will be converted to WEBP server-side. See https://core.telegram.org/animated_stickers#technical-requirements for technical requirements public let sticker: InputFile diff --git a/Sources/TDLibKit/Generated/Models/InputStoryArea.swift b/Sources/TDLibKit/Generated/Models/InputStoryArea.swift index ed5d3974b3..c27cdb4607 100644 --- a/Sources/TDLibKit/Generated/Models/InputStoryArea.swift +++ b/Sources/TDLibKit/Generated/Models/InputStoryArea.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/InputStoryAreaType.swift b/Sources/TDLibKit/Generated/Models/InputStoryAreaType.swift index 07623009cf..496e5f77cb 100644 --- a/Sources/TDLibKit/Generated/Models/InputStoryAreaType.swift +++ b/Sources/TDLibKit/Generated/Models/InputStoryAreaType.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/InputStoryAreas.swift b/Sources/TDLibKit/Generated/Models/InputStoryAreas.swift index b8552aab7d..51059c5d77 100644 --- a/Sources/TDLibKit/Generated/Models/InputStoryAreas.swift +++ b/Sources/TDLibKit/Generated/Models/InputStoryAreas.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation @@ -13,7 +13,7 @@ import Foundation /// Contains a list of story areas to be added public struct InputStoryAreas: Codable, Equatable, Hashable { - /// List of input story areas. Currently, a story can have//-up to 10 inputStoryAreaTypeLocation, inputStoryAreaTypeFoundVenue, and inputStoryAreaTypePreviousVenue areas,//-up to getOption("story_suggested_reaction_area_count_max") inputStoryAreaTypeSuggestedReaction areas, and up to 1 inputStoryAreaTypeMessage area + /// List of input story areas. Currently, a story can have up to 10 inputStoryAreaTypeLocation, inputStoryAreaTypeFoundVenue, and inputStoryAreaTypePreviousVenue areas, up to getOption("story_suggested_reaction_area_count_max") inputStoryAreaTypeSuggestedReaction areas, and up to 1 inputStoryAreaTypeMessage area public let areas: [InputStoryArea] diff --git a/Sources/TDLibKit/Generated/Models/InputStoryContent.swift b/Sources/TDLibKit/Generated/Models/InputStoryContent.swift index dd68c1de34..57fc665e70 100644 --- a/Sources/TDLibKit/Generated/Models/InputStoryContent.swift +++ b/Sources/TDLibKit/Generated/Models/InputStoryContent.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/InputTextQuote.swift b/Sources/TDLibKit/Generated/Models/InputTextQuote.swift index 461040238e..a6575efe5f 100644 --- a/Sources/TDLibKit/Generated/Models/InputTextQuote.swift +++ b/Sources/TDLibKit/Generated/Models/InputTextQuote.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/InputThumbnail.swift b/Sources/TDLibKit/Generated/Models/InputThumbnail.swift index 0af03b02b6..2f8fc76b60 100644 --- a/Sources/TDLibKit/Generated/Models/InputThumbnail.swift +++ b/Sources/TDLibKit/Generated/Models/InputThumbnail.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/InternalLinkType.swift b/Sources/TDLibKit/Generated/Models/InternalLinkType.swift index 2d5146e63c..3730705097 100644 --- a/Sources/TDLibKit/Generated/Models/InternalLinkType.swift +++ b/Sources/TDLibKit/Generated/Models/InternalLinkType.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation @@ -710,7 +710,7 @@ public struct InternalLinkTypePassportDataRequest: Codable, Equatable, Hashable /// User identifier of the service's bot; the corresponding user may be unknown yet public let botUserId: Int64 - /// An HTTP URL to open once the request is finished, canceled, or failed with the parameters tg_passport=success, tg_passport=cancel, or tg_passport=error&error=... respectively.//-If empty, then onActivityResult method must be used to return response on Android, or the link tgbot{bot_user_id}://passport/success or tgbot{bot_user_id}://passport/cancel must be opened otherwise + /// An HTTP URL to open once the request is finished, canceled, or failed with the parameters tg_passport=success, tg_passport=cancel, or tg_passport=error&error=... respectively. If empty, then onActivityResult method must be used to return response on Android, or the link tgbot{bot_user_id}://passport/success or tgbot{bot_user_id}://passport/cancel must be opened otherwise public let callbackUrl: String /// Unique request identifier provided by the service diff --git a/Sources/TDLibKit/Generated/Models/InviteGroupCallParticipants.swift b/Sources/TDLibKit/Generated/Models/InviteGroupCallParticipants.swift index 19e2eda6c8..d1bc851e95 100644 --- a/Sources/TDLibKit/Generated/Models/InviteGroupCallParticipants.swift +++ b/Sources/TDLibKit/Generated/Models/InviteGroupCallParticipants.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/InviteLinkChatType.swift b/Sources/TDLibKit/Generated/Models/InviteLinkChatType.swift index 7f5d81ca4d..d7327b1995 100644 --- a/Sources/TDLibKit/Generated/Models/InviteLinkChatType.swift +++ b/Sources/TDLibKit/Generated/Models/InviteLinkChatType.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/Invoice.swift b/Sources/TDLibKit/Generated/Models/Invoice.swift index d23d62af83..28d760577c 100644 --- a/Sources/TDLibKit/Generated/Models/Invoice.swift +++ b/Sources/TDLibKit/Generated/Models/Invoice.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/JoinChat.swift b/Sources/TDLibKit/Generated/Models/JoinChat.swift index 47d7f4c138..0514c30897 100644 --- a/Sources/TDLibKit/Generated/Models/JoinChat.swift +++ b/Sources/TDLibKit/Generated/Models/JoinChat.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/JoinChatByInviteLink.swift b/Sources/TDLibKit/Generated/Models/JoinChatByInviteLink.swift index 3b86119a8a..4647a66927 100644 --- a/Sources/TDLibKit/Generated/Models/JoinChatByInviteLink.swift +++ b/Sources/TDLibKit/Generated/Models/JoinChatByInviteLink.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/JoinGroupCall.swift b/Sources/TDLibKit/Generated/Models/JoinGroupCall.swift index 4a5be96126..42ef8af52f 100644 --- a/Sources/TDLibKit/Generated/Models/JoinGroupCall.swift +++ b/Sources/TDLibKit/Generated/Models/JoinGroupCall.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/JsonObjectMember.swift b/Sources/TDLibKit/Generated/Models/JsonObjectMember.swift index 823816db44..4e1e25451f 100644 --- a/Sources/TDLibKit/Generated/Models/JsonObjectMember.swift +++ b/Sources/TDLibKit/Generated/Models/JsonObjectMember.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/JsonValue.swift b/Sources/TDLibKit/Generated/Models/JsonValue.swift index 2c20381d51..e06f9513d1 100644 --- a/Sources/TDLibKit/Generated/Models/JsonValue.swift +++ b/Sources/TDLibKit/Generated/Models/JsonValue.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/KeyboardButton.swift b/Sources/TDLibKit/Generated/Models/KeyboardButton.swift index 3405ded6f7..3e2ca7ec90 100644 --- a/Sources/TDLibKit/Generated/Models/KeyboardButton.swift +++ b/Sources/TDLibKit/Generated/Models/KeyboardButton.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/KeyboardButtonType.swift b/Sources/TDLibKit/Generated/Models/KeyboardButtonType.swift index 4d57d6633b..0a88b26b41 100644 --- a/Sources/TDLibKit/Generated/Models/KeyboardButtonType.swift +++ b/Sources/TDLibKit/Generated/Models/KeyboardButtonType.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/LabeledPricePart.swift b/Sources/TDLibKit/Generated/Models/LabeledPricePart.swift index eb94139896..f94a89de67 100644 --- a/Sources/TDLibKit/Generated/Models/LabeledPricePart.swift +++ b/Sources/TDLibKit/Generated/Models/LabeledPricePart.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/LanguagePackInfo.swift b/Sources/TDLibKit/Generated/Models/LanguagePackInfo.swift index c3826fa168..55296e4a00 100644 --- a/Sources/TDLibKit/Generated/Models/LanguagePackInfo.swift +++ b/Sources/TDLibKit/Generated/Models/LanguagePackInfo.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/LanguagePackString.swift b/Sources/TDLibKit/Generated/Models/LanguagePackString.swift index 1397a6073f..08788f1f04 100644 --- a/Sources/TDLibKit/Generated/Models/LanguagePackString.swift +++ b/Sources/TDLibKit/Generated/Models/LanguagePackString.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/LanguagePackStringValue.swift b/Sources/TDLibKit/Generated/Models/LanguagePackStringValue.swift index 12255ede8f..88960b2b6e 100644 --- a/Sources/TDLibKit/Generated/Models/LanguagePackStringValue.swift +++ b/Sources/TDLibKit/Generated/Models/LanguagePackStringValue.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/LanguagePackStrings.swift b/Sources/TDLibKit/Generated/Models/LanguagePackStrings.swift index 6783152cb0..247fc38fbc 100644 --- a/Sources/TDLibKit/Generated/Models/LanguagePackStrings.swift +++ b/Sources/TDLibKit/Generated/Models/LanguagePackStrings.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/LaunchPrepaidPremiumGiveaway.swift b/Sources/TDLibKit/Generated/Models/LaunchPrepaidPremiumGiveaway.swift index 47a5ae88f2..25e9a7db47 100644 --- a/Sources/TDLibKit/Generated/Models/LaunchPrepaidPremiumGiveaway.swift +++ b/Sources/TDLibKit/Generated/Models/LaunchPrepaidPremiumGiveaway.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/LeaveChat.swift b/Sources/TDLibKit/Generated/Models/LeaveChat.swift index d1f8b77e9c..9a807393df 100644 --- a/Sources/TDLibKit/Generated/Models/LeaveChat.swift +++ b/Sources/TDLibKit/Generated/Models/LeaveChat.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/LeaveGroupCall.swift b/Sources/TDLibKit/Generated/Models/LeaveGroupCall.swift index e09b8c46d0..8a6a719fcb 100644 --- a/Sources/TDLibKit/Generated/Models/LeaveGroupCall.swift +++ b/Sources/TDLibKit/Generated/Models/LeaveGroupCall.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/LinkPreviewOptions.swift b/Sources/TDLibKit/Generated/Models/LinkPreviewOptions.swift index 30134cce74..141df2453f 100644 --- a/Sources/TDLibKit/Generated/Models/LinkPreviewOptions.swift +++ b/Sources/TDLibKit/Generated/Models/LinkPreviewOptions.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/LoadActiveStories.swift b/Sources/TDLibKit/Generated/Models/LoadActiveStories.swift index 264216c061..4fd62c3ff7 100644 --- a/Sources/TDLibKit/Generated/Models/LoadActiveStories.swift +++ b/Sources/TDLibKit/Generated/Models/LoadActiveStories.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/LoadChats.swift b/Sources/TDLibKit/Generated/Models/LoadChats.swift index b260124628..5ebffe5b67 100644 --- a/Sources/TDLibKit/Generated/Models/LoadChats.swift +++ b/Sources/TDLibKit/Generated/Models/LoadChats.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/LoadGroupCallParticipants.swift b/Sources/TDLibKit/Generated/Models/LoadGroupCallParticipants.swift index 5344d1327b..5d4766f6a4 100644 --- a/Sources/TDLibKit/Generated/Models/LoadGroupCallParticipants.swift +++ b/Sources/TDLibKit/Generated/Models/LoadGroupCallParticipants.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/LoadQuickReplyShortcutMessages.swift b/Sources/TDLibKit/Generated/Models/LoadQuickReplyShortcutMessages.swift index 3e26ae7740..f9c51677f3 100644 --- a/Sources/TDLibKit/Generated/Models/LoadQuickReplyShortcutMessages.swift +++ b/Sources/TDLibKit/Generated/Models/LoadQuickReplyShortcutMessages.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/LoadQuickReplyShortcuts.swift b/Sources/TDLibKit/Generated/Models/LoadQuickReplyShortcuts.swift index 1e20489d8a..d6ae2da717 100644 --- a/Sources/TDLibKit/Generated/Models/LoadQuickReplyShortcuts.swift +++ b/Sources/TDLibKit/Generated/Models/LoadQuickReplyShortcuts.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/LoadSavedMessagesTopics.swift b/Sources/TDLibKit/Generated/Models/LoadSavedMessagesTopics.swift index 49510b1989..d00280e75c 100644 --- a/Sources/TDLibKit/Generated/Models/LoadSavedMessagesTopics.swift +++ b/Sources/TDLibKit/Generated/Models/LoadSavedMessagesTopics.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/LocalFile.swift b/Sources/TDLibKit/Generated/Models/LocalFile.swift index f4fada4122..f8cbee3067 100644 --- a/Sources/TDLibKit/Generated/Models/LocalFile.swift +++ b/Sources/TDLibKit/Generated/Models/LocalFile.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/LocalizationTargetInfo.swift b/Sources/TDLibKit/Generated/Models/LocalizationTargetInfo.swift index a7bb9cd722..66a39710df 100644 --- a/Sources/TDLibKit/Generated/Models/LocalizationTargetInfo.swift +++ b/Sources/TDLibKit/Generated/Models/LocalizationTargetInfo.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/Location.swift b/Sources/TDLibKit/Generated/Models/Location.swift index fe1a594394..67eadfce9c 100644 --- a/Sources/TDLibKit/Generated/Models/Location.swift +++ b/Sources/TDLibKit/Generated/Models/Location.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/LogOut.swift b/Sources/TDLibKit/Generated/Models/LogOut.swift index d442e403e3..33fa39614c 100644 --- a/Sources/TDLibKit/Generated/Models/LogOut.swift +++ b/Sources/TDLibKit/Generated/Models/LogOut.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/LogStream.swift b/Sources/TDLibKit/Generated/Models/LogStream.swift index 3a277339a5..33799c6ef4 100644 --- a/Sources/TDLibKit/Generated/Models/LogStream.swift +++ b/Sources/TDLibKit/Generated/Models/LogStream.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/LogTags.swift b/Sources/TDLibKit/Generated/Models/LogTags.swift index 792dc97524..f7512834aa 100644 --- a/Sources/TDLibKit/Generated/Models/LogTags.swift +++ b/Sources/TDLibKit/Generated/Models/LogTags.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/LogVerbosityLevel.swift b/Sources/TDLibKit/Generated/Models/LogVerbosityLevel.swift index 3c9dde4297..0213e72347 100644 --- a/Sources/TDLibKit/Generated/Models/LogVerbosityLevel.swift +++ b/Sources/TDLibKit/Generated/Models/LogVerbosityLevel.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/LoginUrlInfo.swift b/Sources/TDLibKit/Generated/Models/LoginUrlInfo.swift index d6b2c6f2a2..099cf71f91 100644 --- a/Sources/TDLibKit/Generated/Models/LoginUrlInfo.swift +++ b/Sources/TDLibKit/Generated/Models/LoginUrlInfo.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/MaskPoint.swift b/Sources/TDLibKit/Generated/Models/MaskPoint.swift index b0e0fe0be4..11b6838235 100644 --- a/Sources/TDLibKit/Generated/Models/MaskPoint.swift +++ b/Sources/TDLibKit/Generated/Models/MaskPoint.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/MaskPosition.swift b/Sources/TDLibKit/Generated/Models/MaskPosition.swift index c186e1cf6a..8f5f0f60cb 100644 --- a/Sources/TDLibKit/Generated/Models/MaskPosition.swift +++ b/Sources/TDLibKit/Generated/Models/MaskPosition.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/Message.swift b/Sources/TDLibKit/Generated/Models/Message.swift index 7db0ba263b..320cc07fba 100644 --- a/Sources/TDLibKit/Generated/Models/Message.swift +++ b/Sources/TDLibKit/Generated/Models/Message.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/MessageAutoDeleteTime.swift b/Sources/TDLibKit/Generated/Models/MessageAutoDeleteTime.swift index a3f47ded89..8bee94ef66 100644 --- a/Sources/TDLibKit/Generated/Models/MessageAutoDeleteTime.swift +++ b/Sources/TDLibKit/Generated/Models/MessageAutoDeleteTime.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/MessageCalendar.swift b/Sources/TDLibKit/Generated/Models/MessageCalendar.swift index 8333ba65c2..a1aad3c88c 100644 --- a/Sources/TDLibKit/Generated/Models/MessageCalendar.swift +++ b/Sources/TDLibKit/Generated/Models/MessageCalendar.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/MessageCalendarDay.swift b/Sources/TDLibKit/Generated/Models/MessageCalendarDay.swift index 2cfcad3893..057cee4968 100644 --- a/Sources/TDLibKit/Generated/Models/MessageCalendarDay.swift +++ b/Sources/TDLibKit/Generated/Models/MessageCalendarDay.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/MessageContent.swift b/Sources/TDLibKit/Generated/Models/MessageContent.swift index ce205a9ae7..efbfff465c 100644 --- a/Sources/TDLibKit/Generated/Models/MessageContent.swift +++ b/Sources/TDLibKit/Generated/Models/MessageContent.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation @@ -918,13 +918,13 @@ public struct MessageVoiceNote: Codable, Equatable, Hashable { /// A message with a location public struct MessageLocation: Codable, Equatable, Hashable { - /// Left time for which the location can be updated, in seconds. updateMessageContent is not sent when this field changes + /// Left time for which the location can be updated, in seconds. If 0, then the location can't be updated anymore. The update updateMessageContent is not sent when this field changes public let expiresIn: Int /// For live locations, a direction in which the location moves, in degrees; 1-360. If 0 the direction is unknown public let heading: Int - /// Time relative to the message send date, for which the location can be updated, in seconds + /// Time relative to the message send date, for which the location can be updated, in seconds; if 0x7FFFFFFF, then location can be updated forever public let livePeriod: Int /// The location description @@ -998,10 +998,10 @@ public struct MessageDice: Codable, Equatable, Hashable { /// Emoji on which the dice throw animation is based public let emoji: String - /// The animated stickers with the final dice animation; may be null if unknown. updateMessageContent will be sent when the sticker became known + /// The animated stickers with the final dice animation; may be null if unknown. The update updateMessageContent will be sent when the sticker became known public let finalState: DiceStickers? - /// The animated stickers with the initial dice animation; may be null if unknown. updateMessageContent will be sent when the sticker became known + /// The animated stickers with the initial dice animation; may be null if unknown. The update updateMessageContent will be sent when the sticker became known public let initialState: DiceStickers? /// Number of frame after which a success animation like a shower of confetti needs to be shown on updateMessageSendSucceeded diff --git a/Sources/TDLibKit/Generated/Models/MessageCopyOptions.swift b/Sources/TDLibKit/Generated/Models/MessageCopyOptions.swift index 8940670f8a..78cea2e483 100644 --- a/Sources/TDLibKit/Generated/Models/MessageCopyOptions.swift +++ b/Sources/TDLibKit/Generated/Models/MessageCopyOptions.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/MessageExtendedMedia.swift b/Sources/TDLibKit/Generated/Models/MessageExtendedMedia.swift index 460d234edf..a1d37ce1b3 100644 --- a/Sources/TDLibKit/Generated/Models/MessageExtendedMedia.swift +++ b/Sources/TDLibKit/Generated/Models/MessageExtendedMedia.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/MessageFileType.swift b/Sources/TDLibKit/Generated/Models/MessageFileType.swift index d303687b0d..e3723c994e 100644 --- a/Sources/TDLibKit/Generated/Models/MessageFileType.swift +++ b/Sources/TDLibKit/Generated/Models/MessageFileType.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/MessageForwardInfo.swift b/Sources/TDLibKit/Generated/Models/MessageForwardInfo.swift index 7e4029c1d7..0588c0c8d2 100644 --- a/Sources/TDLibKit/Generated/Models/MessageForwardInfo.swift +++ b/Sources/TDLibKit/Generated/Models/MessageForwardInfo.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/MessageImportInfo.swift b/Sources/TDLibKit/Generated/Models/MessageImportInfo.swift index 42bcf15433..c1beb3ece2 100644 --- a/Sources/TDLibKit/Generated/Models/MessageImportInfo.swift +++ b/Sources/TDLibKit/Generated/Models/MessageImportInfo.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/MessageInteractionInfo.swift b/Sources/TDLibKit/Generated/Models/MessageInteractionInfo.swift index b0b8f3e00f..272ef28016 100644 --- a/Sources/TDLibKit/Generated/Models/MessageInteractionInfo.swift +++ b/Sources/TDLibKit/Generated/Models/MessageInteractionInfo.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/MessageLink.swift b/Sources/TDLibKit/Generated/Models/MessageLink.swift index 33f46bf5af..e3fb9bee4a 100644 --- a/Sources/TDLibKit/Generated/Models/MessageLink.swift +++ b/Sources/TDLibKit/Generated/Models/MessageLink.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/MessageLinkInfo.swift b/Sources/TDLibKit/Generated/Models/MessageLinkInfo.swift index fb10328c26..7fae823ba0 100644 --- a/Sources/TDLibKit/Generated/Models/MessageLinkInfo.swift +++ b/Sources/TDLibKit/Generated/Models/MessageLinkInfo.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/MessageOrigin.swift b/Sources/TDLibKit/Generated/Models/MessageOrigin.swift index dc34fa73fe..24d10bdf49 100644 --- a/Sources/TDLibKit/Generated/Models/MessageOrigin.swift +++ b/Sources/TDLibKit/Generated/Models/MessageOrigin.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/MessagePosition.swift b/Sources/TDLibKit/Generated/Models/MessagePosition.swift index 7ca49f416b..bd28d914df 100644 --- a/Sources/TDLibKit/Generated/Models/MessagePosition.swift +++ b/Sources/TDLibKit/Generated/Models/MessagePosition.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/MessagePositions.swift b/Sources/TDLibKit/Generated/Models/MessagePositions.swift index 982c1c6f63..4db53cfadc 100644 --- a/Sources/TDLibKit/Generated/Models/MessagePositions.swift +++ b/Sources/TDLibKit/Generated/Models/MessagePositions.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/MessageReaction.swift b/Sources/TDLibKit/Generated/Models/MessageReaction.swift index 6ff74dcdb1..0cd701b35c 100644 --- a/Sources/TDLibKit/Generated/Models/MessageReaction.swift +++ b/Sources/TDLibKit/Generated/Models/MessageReaction.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/MessageReactions.swift b/Sources/TDLibKit/Generated/Models/MessageReactions.swift index 10f13c3cc2..467257c151 100644 --- a/Sources/TDLibKit/Generated/Models/MessageReactions.swift +++ b/Sources/TDLibKit/Generated/Models/MessageReactions.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/MessageReadDate.swift b/Sources/TDLibKit/Generated/Models/MessageReadDate.swift index 76a6d1ee17..f06887422d 100644 --- a/Sources/TDLibKit/Generated/Models/MessageReadDate.swift +++ b/Sources/TDLibKit/Generated/Models/MessageReadDate.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/MessageReplyInfo.swift b/Sources/TDLibKit/Generated/Models/MessageReplyInfo.swift index 20737eeeed..6e569a37fe 100644 --- a/Sources/TDLibKit/Generated/Models/MessageReplyInfo.swift +++ b/Sources/TDLibKit/Generated/Models/MessageReplyInfo.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/MessageReplyTo.swift b/Sources/TDLibKit/Generated/Models/MessageReplyTo.swift index 076b16fe22..d0d82f2d70 100644 --- a/Sources/TDLibKit/Generated/Models/MessageReplyTo.swift +++ b/Sources/TDLibKit/Generated/Models/MessageReplyTo.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation @@ -57,7 +57,7 @@ public struct MessageReplyToMessage: Codable, Equatable, Hashable { /// The identifier of the chat to which the message belongs; may be 0 if the replied message is in unknown chat public let chatId: Int64 - /// Media content of the message if the message was from another chat or topic; may be null for messages from the same chat and messages without media.//-Can be only one of the following types: messageAnimation, messageAudio, messageContact, messageDice, messageDocument, messageGame, messageInvoice, messageLocation,//-messagePhoto, messagePoll, messagePremiumGiveaway, messagePremiumGiveawayWinners, messageSticker, messageStory, messageText (for link preview), messageVenue,//-messageVideo, messageVideoNote, or messageVoiceNote + /// Media content of the message if the message was from another chat or topic; may be null for messages from the same chat and messages without media. Can be only one of the following types: messageAnimation, messageAudio, messageContact, messageDice, messageDocument, messageGame, messageInvoice, messageLocation, messagePhoto, messagePoll, messagePremiumGiveaway, messagePremiumGiveawayWinners, messageSticker, messageStory, messageText (for link preview), messageVenue, messageVideo, messageVideoNote, or messageVoiceNote public let content: MessageContent? /// The identifier of the message; may be 0 if the replied message is in unknown chat diff --git a/Sources/TDLibKit/Generated/Models/MessageSchedulingState.swift b/Sources/TDLibKit/Generated/Models/MessageSchedulingState.swift index bd2e83f1eb..9e23208d1a 100644 --- a/Sources/TDLibKit/Generated/Models/MessageSchedulingState.swift +++ b/Sources/TDLibKit/Generated/Models/MessageSchedulingState.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/MessageSelfDestructType.swift b/Sources/TDLibKit/Generated/Models/MessageSelfDestructType.swift index cfd40cc130..c4ab332968 100644 --- a/Sources/TDLibKit/Generated/Models/MessageSelfDestructType.swift +++ b/Sources/TDLibKit/Generated/Models/MessageSelfDestructType.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/MessageSendOptions.swift b/Sources/TDLibKit/Generated/Models/MessageSendOptions.swift index ef212e0a40..3130cec1f9 100644 --- a/Sources/TDLibKit/Generated/Models/MessageSendOptions.swift +++ b/Sources/TDLibKit/Generated/Models/MessageSendOptions.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/MessageSender.swift b/Sources/TDLibKit/Generated/Models/MessageSender.swift index c326750e6e..b2e8caae65 100644 --- a/Sources/TDLibKit/Generated/Models/MessageSender.swift +++ b/Sources/TDLibKit/Generated/Models/MessageSender.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/MessageSenders.swift b/Sources/TDLibKit/Generated/Models/MessageSenders.swift index 98978b2dce..440ceebb73 100644 --- a/Sources/TDLibKit/Generated/Models/MessageSenders.swift +++ b/Sources/TDLibKit/Generated/Models/MessageSenders.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/MessageSendingState.swift b/Sources/TDLibKit/Generated/Models/MessageSendingState.swift index f660d5887f..89a244c80c 100644 --- a/Sources/TDLibKit/Generated/Models/MessageSendingState.swift +++ b/Sources/TDLibKit/Generated/Models/MessageSendingState.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/MessageSource.swift b/Sources/TDLibKit/Generated/Models/MessageSource.swift index c653c700fd..cf75200491 100644 --- a/Sources/TDLibKit/Generated/Models/MessageSource.swift +++ b/Sources/TDLibKit/Generated/Models/MessageSource.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/MessageSponsor.swift b/Sources/TDLibKit/Generated/Models/MessageSponsor.swift index 5670d63c9a..c0a5183e02 100644 --- a/Sources/TDLibKit/Generated/Models/MessageSponsor.swift +++ b/Sources/TDLibKit/Generated/Models/MessageSponsor.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation @@ -17,20 +17,20 @@ public struct MessageSponsor: Codable, Equatable, Hashable { public let info: String /// Photo of the sponsor; may be null if must not be shown - public let photo: ChatPhotoInfo? + public let photo: Photo? - /// Type of the sponsor - public let type: MessageSponsorType + /// URL of the sponsor to be opened when the message is clicked + public let url: String public init( info: String, - photo: ChatPhotoInfo?, - type: MessageSponsorType + photo: Photo?, + url: String ) { self.info = info self.photo = photo - self.type = type + self.url = url } } diff --git a/Sources/TDLibKit/Generated/Models/MessageStatistics.swift b/Sources/TDLibKit/Generated/Models/MessageStatistics.swift index d8cdd82fe7..898829ac8f 100644 --- a/Sources/TDLibKit/Generated/Models/MessageStatistics.swift +++ b/Sources/TDLibKit/Generated/Models/MessageStatistics.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/MessageThreadInfo.swift b/Sources/TDLibKit/Generated/Models/MessageThreadInfo.swift index b2e2dc9017..a4716b07fd 100644 --- a/Sources/TDLibKit/Generated/Models/MessageThreadInfo.swift +++ b/Sources/TDLibKit/Generated/Models/MessageThreadInfo.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/MessageViewer.swift b/Sources/TDLibKit/Generated/Models/MessageViewer.swift index 48018655ca..cf781bcd0a 100644 --- a/Sources/TDLibKit/Generated/Models/MessageViewer.swift +++ b/Sources/TDLibKit/Generated/Models/MessageViewer.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/MessageViewers.swift b/Sources/TDLibKit/Generated/Models/MessageViewers.swift index 18a90d8b06..7594982b1e 100644 --- a/Sources/TDLibKit/Generated/Models/MessageViewers.swift +++ b/Sources/TDLibKit/Generated/Models/MessageViewers.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/Messages.swift b/Sources/TDLibKit/Generated/Models/Messages.swift index 8f18e642b3..33fd91b7e7 100644 --- a/Sources/TDLibKit/Generated/Models/Messages.swift +++ b/Sources/TDLibKit/Generated/Models/Messages.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/Minithumbnail.swift b/Sources/TDLibKit/Generated/Models/Minithumbnail.swift index a938e23e15..2e8938a734 100644 --- a/Sources/TDLibKit/Generated/Models/Minithumbnail.swift +++ b/Sources/TDLibKit/Generated/Models/Minithumbnail.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/NetworkStatistics.swift b/Sources/TDLibKit/Generated/Models/NetworkStatistics.swift index 0783413eaf..b6021e5457 100644 --- a/Sources/TDLibKit/Generated/Models/NetworkStatistics.swift +++ b/Sources/TDLibKit/Generated/Models/NetworkStatistics.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/NetworkStatisticsEntry.swift b/Sources/TDLibKit/Generated/Models/NetworkStatisticsEntry.swift index 693474b6c6..c17ba33d2a 100644 --- a/Sources/TDLibKit/Generated/Models/NetworkStatisticsEntry.swift +++ b/Sources/TDLibKit/Generated/Models/NetworkStatisticsEntry.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/NetworkType.swift b/Sources/TDLibKit/Generated/Models/NetworkType.swift index 06856fa355..5bbc0ea5ba 100644 --- a/Sources/TDLibKit/Generated/Models/NetworkType.swift +++ b/Sources/TDLibKit/Generated/Models/NetworkType.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/NewChatPrivacySettings.swift b/Sources/TDLibKit/Generated/Models/NewChatPrivacySettings.swift index 4d37160a78..b616f87377 100644 --- a/Sources/TDLibKit/Generated/Models/NewChatPrivacySettings.swift +++ b/Sources/TDLibKit/Generated/Models/NewChatPrivacySettings.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/Notification.swift b/Sources/TDLibKit/Generated/Models/Notification.swift index 25f5fabcd1..23b929c920 100644 --- a/Sources/TDLibKit/Generated/Models/Notification.swift +++ b/Sources/TDLibKit/Generated/Models/Notification.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/NotificationGroup.swift b/Sources/TDLibKit/Generated/Models/NotificationGroup.swift index 60ca7f520a..71a0f0286f 100644 --- a/Sources/TDLibKit/Generated/Models/NotificationGroup.swift +++ b/Sources/TDLibKit/Generated/Models/NotificationGroup.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/NotificationGroupType.swift b/Sources/TDLibKit/Generated/Models/NotificationGroupType.swift index bb58f182c7..37d5bc8c03 100644 --- a/Sources/TDLibKit/Generated/Models/NotificationGroupType.swift +++ b/Sources/TDLibKit/Generated/Models/NotificationGroupType.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/NotificationSettingsScope.swift b/Sources/TDLibKit/Generated/Models/NotificationSettingsScope.swift index 1f3b5fda37..7f22cbeb02 100644 --- a/Sources/TDLibKit/Generated/Models/NotificationSettingsScope.swift +++ b/Sources/TDLibKit/Generated/Models/NotificationSettingsScope.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/NotificationSound.swift b/Sources/TDLibKit/Generated/Models/NotificationSound.swift index 810ad02acb..4540eedd06 100644 --- a/Sources/TDLibKit/Generated/Models/NotificationSound.swift +++ b/Sources/TDLibKit/Generated/Models/NotificationSound.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/NotificationSounds.swift b/Sources/TDLibKit/Generated/Models/NotificationSounds.swift index a2349f31fa..e20ff15bfe 100644 --- a/Sources/TDLibKit/Generated/Models/NotificationSounds.swift +++ b/Sources/TDLibKit/Generated/Models/NotificationSounds.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/NotificationType.swift b/Sources/TDLibKit/Generated/Models/NotificationType.swift index e4ac45e848..74e8d5fa9e 100644 --- a/Sources/TDLibKit/Generated/Models/NotificationType.swift +++ b/Sources/TDLibKit/Generated/Models/NotificationType.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/Ok.swift b/Sources/TDLibKit/Generated/Models/Ok.swift index 20e16d3eb9..c3908e39a8 100644 --- a/Sources/TDLibKit/Generated/Models/Ok.swift +++ b/Sources/TDLibKit/Generated/Models/Ok.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/OpenChat.swift b/Sources/TDLibKit/Generated/Models/OpenChat.swift index e5acfdba76..1141e1be13 100644 --- a/Sources/TDLibKit/Generated/Models/OpenChat.swift +++ b/Sources/TDLibKit/Generated/Models/OpenChat.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/OpenChatSimilarChat.swift b/Sources/TDLibKit/Generated/Models/OpenChatSimilarChat.swift index 7d25352d41..11f1dfd6a8 100644 --- a/Sources/TDLibKit/Generated/Models/OpenChatSimilarChat.swift +++ b/Sources/TDLibKit/Generated/Models/OpenChatSimilarChat.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/OpenMessageContent.swift b/Sources/TDLibKit/Generated/Models/OpenMessageContent.swift index aceac1444c..1ec6eb3396 100644 --- a/Sources/TDLibKit/Generated/Models/OpenMessageContent.swift +++ b/Sources/TDLibKit/Generated/Models/OpenMessageContent.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/OpenStory.swift b/Sources/TDLibKit/Generated/Models/OpenStory.swift index dc4b18f152..1ea52d0e98 100644 --- a/Sources/TDLibKit/Generated/Models/OpenStory.swift +++ b/Sources/TDLibKit/Generated/Models/OpenStory.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/OpenWebApp.swift b/Sources/TDLibKit/Generated/Models/OpenWebApp.swift index 53b50bd0f5..434d57183c 100644 --- a/Sources/TDLibKit/Generated/Models/OpenWebApp.swift +++ b/Sources/TDLibKit/Generated/Models/OpenWebApp.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/OptimizeStorage.swift b/Sources/TDLibKit/Generated/Models/OptimizeStorage.swift index 54f2b5de5f..392876fd1b 100644 --- a/Sources/TDLibKit/Generated/Models/OptimizeStorage.swift +++ b/Sources/TDLibKit/Generated/Models/OptimizeStorage.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/OptionValue.swift b/Sources/TDLibKit/Generated/Models/OptionValue.swift index faabfdd535..049783669f 100644 --- a/Sources/TDLibKit/Generated/Models/OptionValue.swift +++ b/Sources/TDLibKit/Generated/Models/OptionValue.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/OrderInfo.swift b/Sources/TDLibKit/Generated/Models/OrderInfo.swift index f9d34ade26..7a391512af 100644 --- a/Sources/TDLibKit/Generated/Models/OrderInfo.swift +++ b/Sources/TDLibKit/Generated/Models/OrderInfo.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/PageBlock.swift b/Sources/TDLibKit/Generated/Models/PageBlock.swift index 785fff5f8a..6401332857 100644 --- a/Sources/TDLibKit/Generated/Models/PageBlock.swift +++ b/Sources/TDLibKit/Generated/Models/PageBlock.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/PageBlockCaption.swift b/Sources/TDLibKit/Generated/Models/PageBlockCaption.swift index b5dbd4ee37..fe04ad79b8 100644 --- a/Sources/TDLibKit/Generated/Models/PageBlockCaption.swift +++ b/Sources/TDLibKit/Generated/Models/PageBlockCaption.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/PageBlockHorizontalAlignment.swift b/Sources/TDLibKit/Generated/Models/PageBlockHorizontalAlignment.swift index 814ff97f59..b679f928e5 100644 --- a/Sources/TDLibKit/Generated/Models/PageBlockHorizontalAlignment.swift +++ b/Sources/TDLibKit/Generated/Models/PageBlockHorizontalAlignment.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/PageBlockListItem.swift b/Sources/TDLibKit/Generated/Models/PageBlockListItem.swift index a5188eb52b..48ab663e76 100644 --- a/Sources/TDLibKit/Generated/Models/PageBlockListItem.swift +++ b/Sources/TDLibKit/Generated/Models/PageBlockListItem.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/PageBlockRelatedArticle.swift b/Sources/TDLibKit/Generated/Models/PageBlockRelatedArticle.swift index 130aff3128..c637f47301 100644 --- a/Sources/TDLibKit/Generated/Models/PageBlockRelatedArticle.swift +++ b/Sources/TDLibKit/Generated/Models/PageBlockRelatedArticle.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/PageBlockTableCell.swift b/Sources/TDLibKit/Generated/Models/PageBlockTableCell.swift index 30c34202da..8028c3e66b 100644 --- a/Sources/TDLibKit/Generated/Models/PageBlockTableCell.swift +++ b/Sources/TDLibKit/Generated/Models/PageBlockTableCell.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/PageBlockVerticalAlignment.swift b/Sources/TDLibKit/Generated/Models/PageBlockVerticalAlignment.swift index 28f767dd12..85c212c531 100644 --- a/Sources/TDLibKit/Generated/Models/PageBlockVerticalAlignment.swift +++ b/Sources/TDLibKit/Generated/Models/PageBlockVerticalAlignment.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/ParseMarkdown.swift b/Sources/TDLibKit/Generated/Models/ParseMarkdown.swift index 634b9a55bb..b6faa2ce84 100644 --- a/Sources/TDLibKit/Generated/Models/ParseMarkdown.swift +++ b/Sources/TDLibKit/Generated/Models/ParseMarkdown.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/ParseTextEntities.swift b/Sources/TDLibKit/Generated/Models/ParseTextEntities.swift index 01c3d2a162..96c30ad439 100644 --- a/Sources/TDLibKit/Generated/Models/ParseTextEntities.swift +++ b/Sources/TDLibKit/Generated/Models/ParseTextEntities.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/PassportAuthorizationForm.swift b/Sources/TDLibKit/Generated/Models/PassportAuthorizationForm.swift index 745ddbff1a..8986dfdc73 100644 --- a/Sources/TDLibKit/Generated/Models/PassportAuthorizationForm.swift +++ b/Sources/TDLibKit/Generated/Models/PassportAuthorizationForm.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/PassportElement.swift b/Sources/TDLibKit/Generated/Models/PassportElement.swift index 7493a85094..0b0462b211 100644 --- a/Sources/TDLibKit/Generated/Models/PassportElement.swift +++ b/Sources/TDLibKit/Generated/Models/PassportElement.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/PassportElementError.swift b/Sources/TDLibKit/Generated/Models/PassportElementError.swift index c54111124f..99188f6478 100644 --- a/Sources/TDLibKit/Generated/Models/PassportElementError.swift +++ b/Sources/TDLibKit/Generated/Models/PassportElementError.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/PassportElementErrorSource.swift b/Sources/TDLibKit/Generated/Models/PassportElementErrorSource.swift index f3f1a99755..6e847f4eea 100644 --- a/Sources/TDLibKit/Generated/Models/PassportElementErrorSource.swift +++ b/Sources/TDLibKit/Generated/Models/PassportElementErrorSource.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/PassportElementType.swift b/Sources/TDLibKit/Generated/Models/PassportElementType.swift index 1f0b7ee49e..c2a049f7cb 100644 --- a/Sources/TDLibKit/Generated/Models/PassportElementType.swift +++ b/Sources/TDLibKit/Generated/Models/PassportElementType.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/PassportElements.swift b/Sources/TDLibKit/Generated/Models/PassportElements.swift index 27e1938963..7a09b68eeb 100644 --- a/Sources/TDLibKit/Generated/Models/PassportElements.swift +++ b/Sources/TDLibKit/Generated/Models/PassportElements.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/PassportElementsWithErrors.swift b/Sources/TDLibKit/Generated/Models/PassportElementsWithErrors.swift index 49610a42f2..ccaf3a9acb 100644 --- a/Sources/TDLibKit/Generated/Models/PassportElementsWithErrors.swift +++ b/Sources/TDLibKit/Generated/Models/PassportElementsWithErrors.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/PassportRequiredElement.swift b/Sources/TDLibKit/Generated/Models/PassportRequiredElement.swift index ec93b1e6ac..314174c829 100644 --- a/Sources/TDLibKit/Generated/Models/PassportRequiredElement.swift +++ b/Sources/TDLibKit/Generated/Models/PassportRequiredElement.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/PassportSuitableElement.swift b/Sources/TDLibKit/Generated/Models/PassportSuitableElement.swift index 7fc335c4cc..b7e0758884 100644 --- a/Sources/TDLibKit/Generated/Models/PassportSuitableElement.swift +++ b/Sources/TDLibKit/Generated/Models/PassportSuitableElement.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/PasswordState.swift b/Sources/TDLibKit/Generated/Models/PasswordState.swift index 8609165075..8427436a9b 100644 --- a/Sources/TDLibKit/Generated/Models/PasswordState.swift +++ b/Sources/TDLibKit/Generated/Models/PasswordState.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/PaymentForm.swift b/Sources/TDLibKit/Generated/Models/PaymentForm.swift index 2f6384d74c..46208e73ab 100644 --- a/Sources/TDLibKit/Generated/Models/PaymentForm.swift +++ b/Sources/TDLibKit/Generated/Models/PaymentForm.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/PaymentOption.swift b/Sources/TDLibKit/Generated/Models/PaymentOption.swift index 27745390de..80e71529d4 100644 --- a/Sources/TDLibKit/Generated/Models/PaymentOption.swift +++ b/Sources/TDLibKit/Generated/Models/PaymentOption.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/PaymentProvider.swift b/Sources/TDLibKit/Generated/Models/PaymentProvider.swift index 04360deb67..1687fb142a 100644 --- a/Sources/TDLibKit/Generated/Models/PaymentProvider.swift +++ b/Sources/TDLibKit/Generated/Models/PaymentProvider.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/PaymentReceipt.swift b/Sources/TDLibKit/Generated/Models/PaymentReceipt.swift index 45e2458752..ddba1621d0 100644 --- a/Sources/TDLibKit/Generated/Models/PaymentReceipt.swift +++ b/Sources/TDLibKit/Generated/Models/PaymentReceipt.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/PaymentResult.swift b/Sources/TDLibKit/Generated/Models/PaymentResult.swift index 783c6e25de..d576d515d5 100644 --- a/Sources/TDLibKit/Generated/Models/PaymentResult.swift +++ b/Sources/TDLibKit/Generated/Models/PaymentResult.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/PersonalDetails.swift b/Sources/TDLibKit/Generated/Models/PersonalDetails.swift index a387f57bb8..58ea2ff8ba 100644 --- a/Sources/TDLibKit/Generated/Models/PersonalDetails.swift +++ b/Sources/TDLibKit/Generated/Models/PersonalDetails.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/PersonalDocument.swift b/Sources/TDLibKit/Generated/Models/PersonalDocument.swift index f8df38c215..73337f6d69 100644 --- a/Sources/TDLibKit/Generated/Models/PersonalDocument.swift +++ b/Sources/TDLibKit/Generated/Models/PersonalDocument.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/PhoneNumberAuthenticationSettings.swift b/Sources/TDLibKit/Generated/Models/PhoneNumberAuthenticationSettings.swift index 590eabfec2..4695557703 100644 --- a/Sources/TDLibKit/Generated/Models/PhoneNumberAuthenticationSettings.swift +++ b/Sources/TDLibKit/Generated/Models/PhoneNumberAuthenticationSettings.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation @@ -28,6 +28,9 @@ public struct PhoneNumberAuthenticationSettings: Codable, Equatable, Hashable { /// For official Android and iOS applications only; pass null otherwise. Settings for Firebase Authentication public let firebaseAuthenticationSettings: FirebaseAuthenticationSettings? + /// Pass true if there is a SIM card in the current device, but it is not possible to check whether phone number matches + public let hasUnknownPhoneNumber: Bool + /// Pass true if the authenticated phone number is used on the current device public let isCurrentPhoneNumber: Bool @@ -38,6 +41,7 @@ public struct PhoneNumberAuthenticationSettings: Codable, Equatable, Hashable { allowSmsRetrieverApi: Bool, authenticationTokens: [String], firebaseAuthenticationSettings: FirebaseAuthenticationSettings?, + hasUnknownPhoneNumber: Bool, isCurrentPhoneNumber: Bool ) { self.allowFlashCall = allowFlashCall @@ -45,6 +49,7 @@ public struct PhoneNumberAuthenticationSettings: Codable, Equatable, Hashable { self.allowSmsRetrieverApi = allowSmsRetrieverApi self.authenticationTokens = authenticationTokens self.firebaseAuthenticationSettings = firebaseAuthenticationSettings + self.hasUnknownPhoneNumber = hasUnknownPhoneNumber self.isCurrentPhoneNumber = isCurrentPhoneNumber } } diff --git a/Sources/TDLibKit/Generated/Models/PhoneNumberCodeType.swift b/Sources/TDLibKit/Generated/Models/PhoneNumberCodeType.swift index 36dcac3a4b..97a0a50693 100644 --- a/Sources/TDLibKit/Generated/Models/PhoneNumberCodeType.swift +++ b/Sources/TDLibKit/Generated/Models/PhoneNumberCodeType.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/PhoneNumberInfo.swift b/Sources/TDLibKit/Generated/Models/PhoneNumberInfo.swift index 9ce4ca0dd7..c4352709b5 100644 --- a/Sources/TDLibKit/Generated/Models/PhoneNumberInfo.swift +++ b/Sources/TDLibKit/Generated/Models/PhoneNumberInfo.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/Photo.swift b/Sources/TDLibKit/Generated/Models/Photo.swift index ff8408a1ae..5aad37ec22 100644 --- a/Sources/TDLibKit/Generated/Models/Photo.swift +++ b/Sources/TDLibKit/Generated/Models/Photo.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/PhotoSize.swift b/Sources/TDLibKit/Generated/Models/PhotoSize.swift index 87570bd16d..5e82d216e2 100644 --- a/Sources/TDLibKit/Generated/Models/PhotoSize.swift +++ b/Sources/TDLibKit/Generated/Models/PhotoSize.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/PinChatMessage.swift b/Sources/TDLibKit/Generated/Models/PinChatMessage.swift index e774e7f5b0..72f6b87f3f 100644 --- a/Sources/TDLibKit/Generated/Models/PinChatMessage.swift +++ b/Sources/TDLibKit/Generated/Models/PinChatMessage.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/PingProxy.swift b/Sources/TDLibKit/Generated/Models/PingProxy.swift index d0a7b84af1..0752b38655 100644 --- a/Sources/TDLibKit/Generated/Models/PingProxy.swift +++ b/Sources/TDLibKit/Generated/Models/PingProxy.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/Point.swift b/Sources/TDLibKit/Generated/Models/Point.swift index 51c38048c3..ce2c8b4d51 100644 --- a/Sources/TDLibKit/Generated/Models/Point.swift +++ b/Sources/TDLibKit/Generated/Models/Point.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/Poll.swift b/Sources/TDLibKit/Generated/Models/Poll.swift index afe2a24aa6..7b7f31b894 100644 --- a/Sources/TDLibKit/Generated/Models/Poll.swift +++ b/Sources/TDLibKit/Generated/Models/Poll.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation @@ -31,8 +31,8 @@ public struct Poll: Codable, Equatable, Hashable, Identifiable { /// List of poll answer options public let options: [PollOption] - /// Poll question; 1-300 characters - public let question: String + /// Poll question; 1-300 characters. Only custom emoji entities are allowed + public let question: FormattedText /// Identifiers of recent voters, if the poll is non-anonymous public let recentVoterIds: [MessageSender] @@ -51,7 +51,7 @@ public struct Poll: Codable, Equatable, Hashable, Identifiable { isClosed: Bool, openPeriod: Int, options: [PollOption], - question: String, + question: FormattedText, recentVoterIds: [MessageSender], totalVoterCount: Int, type: PollType diff --git a/Sources/TDLibKit/Generated/Models/PollOption.swift b/Sources/TDLibKit/Generated/Models/PollOption.swift index d3b35561a3..3f6aed537f 100644 --- a/Sources/TDLibKit/Generated/Models/PollOption.swift +++ b/Sources/TDLibKit/Generated/Models/PollOption.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation @@ -19,8 +19,8 @@ public struct PollOption: Codable, Equatable, Hashable { /// True, if the option was chosen by the user public let isChosen: Bool - /// Option text; 1-100 characters - public let text: String + /// Option text; 1-100 characters. Only custom emoji entities are allowed + public let text: FormattedText /// The percentage of votes for this option; 0-100 public let votePercentage: Int @@ -32,7 +32,7 @@ public struct PollOption: Codable, Equatable, Hashable { public init( isBeingChosen: Bool, isChosen: Bool, - text: String, + text: FormattedText, votePercentage: Int, voterCount: Int ) { diff --git a/Sources/TDLibKit/Generated/Models/PollType.swift b/Sources/TDLibKit/Generated/Models/PollType.swift index d4ce00cdba..d00413b51d 100644 --- a/Sources/TDLibKit/Generated/Models/PollType.swift +++ b/Sources/TDLibKit/Generated/Models/PollType.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/PreliminaryUploadFile.swift b/Sources/TDLibKit/Generated/Models/PreliminaryUploadFile.swift index 331a0f64db..7bddb901f6 100644 --- a/Sources/TDLibKit/Generated/Models/PreliminaryUploadFile.swift +++ b/Sources/TDLibKit/Generated/Models/PreliminaryUploadFile.swift @@ -3,14 +3,14 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation -/// Preliminary uploads a file to the cloud before sending it in a message, which can be useful for uploading of being recorded voice and video notes. Updates updateFile will be used to notify about upload progress and successful completion of the upload. The file will not have a persistent remote identifier until it is sent in a message +/// Preliminary uploads a file to the cloud before sending it in a message, which can be useful for uploading of being recorded voice and video notes. In all other cases there is no need to preliminary upload a file. Updates updateFile will be used to notify about upload progress. The upload will not be completed until the file is sent in a message public struct PreliminaryUploadFile: Codable, Equatable, Hashable { /// File to upload diff --git a/Sources/TDLibKit/Generated/Models/PremiumFeature.swift b/Sources/TDLibKit/Generated/Models/PremiumFeature.swift index 4ac9527bf4..2bad7f40f8 100644 --- a/Sources/TDLibKit/Generated/Models/PremiumFeature.swift +++ b/Sources/TDLibKit/Generated/Models/PremiumFeature.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/PremiumFeaturePromotionAnimation.swift b/Sources/TDLibKit/Generated/Models/PremiumFeaturePromotionAnimation.swift index 9559e0cc09..21609d0481 100644 --- a/Sources/TDLibKit/Generated/Models/PremiumFeaturePromotionAnimation.swift +++ b/Sources/TDLibKit/Generated/Models/PremiumFeaturePromotionAnimation.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/PremiumFeatures.swift b/Sources/TDLibKit/Generated/Models/PremiumFeatures.swift index a44f50c4c0..8c2d1f9131 100644 --- a/Sources/TDLibKit/Generated/Models/PremiumFeatures.swift +++ b/Sources/TDLibKit/Generated/Models/PremiumFeatures.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/PremiumGiftCodeInfo.swift b/Sources/TDLibKit/Generated/Models/PremiumGiftCodeInfo.swift index f864fc5b49..bcebb41ddc 100644 --- a/Sources/TDLibKit/Generated/Models/PremiumGiftCodeInfo.swift +++ b/Sources/TDLibKit/Generated/Models/PremiumGiftCodeInfo.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/PremiumGiftCodePaymentOption.swift b/Sources/TDLibKit/Generated/Models/PremiumGiftCodePaymentOption.swift index a4efc75418..f0f3bc0a7c 100644 --- a/Sources/TDLibKit/Generated/Models/PremiumGiftCodePaymentOption.swift +++ b/Sources/TDLibKit/Generated/Models/PremiumGiftCodePaymentOption.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/PremiumGiftCodePaymentOptions.swift b/Sources/TDLibKit/Generated/Models/PremiumGiftCodePaymentOptions.swift index ae01d6233b..448d72615b 100644 --- a/Sources/TDLibKit/Generated/Models/PremiumGiftCodePaymentOptions.swift +++ b/Sources/TDLibKit/Generated/Models/PremiumGiftCodePaymentOptions.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/PremiumGiveawayInfo.swift b/Sources/TDLibKit/Generated/Models/PremiumGiveawayInfo.swift index 8a0d943f46..e5fde44834 100644 --- a/Sources/TDLibKit/Generated/Models/PremiumGiveawayInfo.swift +++ b/Sources/TDLibKit/Generated/Models/PremiumGiveawayInfo.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/PremiumGiveawayParameters.swift b/Sources/TDLibKit/Generated/Models/PremiumGiveawayParameters.swift index 849a70a9ae..16e9f8553b 100644 --- a/Sources/TDLibKit/Generated/Models/PremiumGiveawayParameters.swift +++ b/Sources/TDLibKit/Generated/Models/PremiumGiveawayParameters.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation @@ -16,10 +16,10 @@ public struct PremiumGiveawayParameters: Codable, Equatable, Hashable { /// Identifiers of other supergroup or channel chats that must be subscribed by the users to be eligible for the giveaway. There can be up to getOption("giveaway_additional_chat_count_max") additional chats public let additionalChatIds: [Int64] - /// Identifier of the supergroup or channel chat, which will be automatically boosted by the winners of the giveaway for duration of the Premium subscription.//-If the chat is a channel, then can_post_messages right is required in the channel, otherwise, the user must be an administrator in the supergroup + /// Identifier of the supergroup or channel chat, which will be automatically boosted by the winners of the giveaway for duration of the Premium subscription. If the chat is a channel, then can_post_messages right is required in the channel, otherwise, the user must be an administrator in the supergroup public let boostedChatId: Int64 - /// The list of two-letter ISO 3166-1 alpha-2 codes of countries, users from which will be eligible for the giveaway. If empty, then all users can participate in the giveaway.//-There can be up to getOption("giveaway_country_count_max") chosen countries. Users with phone number that was bought at https://fragment.com can participate in any giveaway and the country code "FT" must not be specified in the list + /// The list of two-letter ISO 3166-1 alpha-2 codes of countries, users from which will be eligible for the giveaway. If empty, then all users can participate in the giveaway. There can be up to getOption("giveaway_country_count_max") chosen countries. Users with phone number that was bought at https://fragment.com can participate in any giveaway and the country code "FT" must not be specified in the list public let countryCodes: [String] /// True, if the list of winners of the giveaway will be available to everyone diff --git a/Sources/TDLibKit/Generated/Models/PremiumGiveawayParticipantStatus.swift b/Sources/TDLibKit/Generated/Models/PremiumGiveawayParticipantStatus.swift index 44453688da..885b1821bb 100644 --- a/Sources/TDLibKit/Generated/Models/PremiumGiveawayParticipantStatus.swift +++ b/Sources/TDLibKit/Generated/Models/PremiumGiveawayParticipantStatus.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/PremiumLimit.swift b/Sources/TDLibKit/Generated/Models/PremiumLimit.swift index ea68aca37c..82ca834a5e 100644 --- a/Sources/TDLibKit/Generated/Models/PremiumLimit.swift +++ b/Sources/TDLibKit/Generated/Models/PremiumLimit.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/PremiumLimitType.swift b/Sources/TDLibKit/Generated/Models/PremiumLimitType.swift index 815a942b8d..5bb04cc61e 100644 --- a/Sources/TDLibKit/Generated/Models/PremiumLimitType.swift +++ b/Sources/TDLibKit/Generated/Models/PremiumLimitType.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/PremiumPaymentOption.swift b/Sources/TDLibKit/Generated/Models/PremiumPaymentOption.swift index 2759f5180f..4695219ffc 100644 --- a/Sources/TDLibKit/Generated/Models/PremiumPaymentOption.swift +++ b/Sources/TDLibKit/Generated/Models/PremiumPaymentOption.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/PremiumSource.swift b/Sources/TDLibKit/Generated/Models/PremiumSource.swift index 6ea8c91894..ec8cf89c88 100644 --- a/Sources/TDLibKit/Generated/Models/PremiumSource.swift +++ b/Sources/TDLibKit/Generated/Models/PremiumSource.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/PremiumState.swift b/Sources/TDLibKit/Generated/Models/PremiumState.swift index d1fc53e98a..adac1fde03 100644 --- a/Sources/TDLibKit/Generated/Models/PremiumState.swift +++ b/Sources/TDLibKit/Generated/Models/PremiumState.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/PremiumStatePaymentOption.swift b/Sources/TDLibKit/Generated/Models/PremiumStatePaymentOption.swift index 57ca33f47f..3150879424 100644 --- a/Sources/TDLibKit/Generated/Models/PremiumStatePaymentOption.swift +++ b/Sources/TDLibKit/Generated/Models/PremiumStatePaymentOption.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/PremiumStoryFeature.swift b/Sources/TDLibKit/Generated/Models/PremiumStoryFeature.swift index 4d00ecf760..b84846423a 100644 --- a/Sources/TDLibKit/Generated/Models/PremiumStoryFeature.swift +++ b/Sources/TDLibKit/Generated/Models/PremiumStoryFeature.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/PrepaidPremiumGiveaway.swift b/Sources/TDLibKit/Generated/Models/PrepaidPremiumGiveaway.swift index 2cf35760da..8e0df4d23d 100644 --- a/Sources/TDLibKit/Generated/Models/PrepaidPremiumGiveaway.swift +++ b/Sources/TDLibKit/Generated/Models/PrepaidPremiumGiveaway.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/ProcessChatFolderNewChats.swift b/Sources/TDLibKit/Generated/Models/ProcessChatFolderNewChats.swift index 44790d1c9f..2d2b344181 100644 --- a/Sources/TDLibKit/Generated/Models/ProcessChatFolderNewChats.swift +++ b/Sources/TDLibKit/Generated/Models/ProcessChatFolderNewChats.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/ProcessChatJoinRequest.swift b/Sources/TDLibKit/Generated/Models/ProcessChatJoinRequest.swift index a15786e2b2..b70c631943 100644 --- a/Sources/TDLibKit/Generated/Models/ProcessChatJoinRequest.swift +++ b/Sources/TDLibKit/Generated/Models/ProcessChatJoinRequest.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/ProcessChatJoinRequests.swift b/Sources/TDLibKit/Generated/Models/ProcessChatJoinRequests.swift index 20a9f25b5d..007467f33b 100644 --- a/Sources/TDLibKit/Generated/Models/ProcessChatJoinRequests.swift +++ b/Sources/TDLibKit/Generated/Models/ProcessChatJoinRequests.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/ProcessPushNotification.swift b/Sources/TDLibKit/Generated/Models/ProcessPushNotification.swift index 2ab4d32469..32103e36ab 100644 --- a/Sources/TDLibKit/Generated/Models/ProcessPushNotification.swift +++ b/Sources/TDLibKit/Generated/Models/ProcessPushNotification.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/ProfileAccentColor.swift b/Sources/TDLibKit/Generated/Models/ProfileAccentColor.swift index cb61ba430d..a09f8f7d57 100644 --- a/Sources/TDLibKit/Generated/Models/ProfileAccentColor.swift +++ b/Sources/TDLibKit/Generated/Models/ProfileAccentColor.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/ProfileAccentColors.swift b/Sources/TDLibKit/Generated/Models/ProfileAccentColors.swift index b9cf0fbe4a..09cad34d2b 100644 --- a/Sources/TDLibKit/Generated/Models/ProfileAccentColors.swift +++ b/Sources/TDLibKit/Generated/Models/ProfileAccentColors.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/ProfilePhoto.swift b/Sources/TDLibKit/Generated/Models/ProfilePhoto.swift index e4b2fe8549..6879cce892 100644 --- a/Sources/TDLibKit/Generated/Models/ProfilePhoto.swift +++ b/Sources/TDLibKit/Generated/Models/ProfilePhoto.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/Proxies.swift b/Sources/TDLibKit/Generated/Models/Proxies.swift index b57b77718d..9edc3b1310 100644 --- a/Sources/TDLibKit/Generated/Models/Proxies.swift +++ b/Sources/TDLibKit/Generated/Models/Proxies.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/Proxy.swift b/Sources/TDLibKit/Generated/Models/Proxy.swift index 7e7b3b3564..6c64c1233f 100644 --- a/Sources/TDLibKit/Generated/Models/Proxy.swift +++ b/Sources/TDLibKit/Generated/Models/Proxy.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/ProxyType.swift b/Sources/TDLibKit/Generated/Models/ProxyType.swift index 07088406d4..3ca6a76715 100644 --- a/Sources/TDLibKit/Generated/Models/ProxyType.swift +++ b/Sources/TDLibKit/Generated/Models/ProxyType.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/PublicChatType.swift b/Sources/TDLibKit/Generated/Models/PublicChatType.swift index 6546aa62df..61d6b737ac 100644 --- a/Sources/TDLibKit/Generated/Models/PublicChatType.swift +++ b/Sources/TDLibKit/Generated/Models/PublicChatType.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/PublicForward.swift b/Sources/TDLibKit/Generated/Models/PublicForward.swift index 69bbb866a8..74409b878e 100644 --- a/Sources/TDLibKit/Generated/Models/PublicForward.swift +++ b/Sources/TDLibKit/Generated/Models/PublicForward.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/PublicForwards.swift b/Sources/TDLibKit/Generated/Models/PublicForwards.swift index 7320dd3b97..178335d9d9 100644 --- a/Sources/TDLibKit/Generated/Models/PublicForwards.swift +++ b/Sources/TDLibKit/Generated/Models/PublicForwards.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/PushMessageContent.swift b/Sources/TDLibKit/Generated/Models/PushMessageContent.swift index d9b3820720..9758111ad3 100644 --- a/Sources/TDLibKit/Generated/Models/PushMessageContent.swift +++ b/Sources/TDLibKit/Generated/Models/PushMessageContent.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/PushReceiverId.swift b/Sources/TDLibKit/Generated/Models/PushReceiverId.swift index ed50255f9b..06c499ea0f 100644 --- a/Sources/TDLibKit/Generated/Models/PushReceiverId.swift +++ b/Sources/TDLibKit/Generated/Models/PushReceiverId.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/QuickReplyMessage.swift b/Sources/TDLibKit/Generated/Models/QuickReplyMessage.swift index 8b84a773e0..c8788023d5 100644 --- a/Sources/TDLibKit/Generated/Models/QuickReplyMessage.swift +++ b/Sources/TDLibKit/Generated/Models/QuickReplyMessage.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/QuickReplyMessages.swift b/Sources/TDLibKit/Generated/Models/QuickReplyMessages.swift index 04b44cb8e5..5febdc3104 100644 --- a/Sources/TDLibKit/Generated/Models/QuickReplyMessages.swift +++ b/Sources/TDLibKit/Generated/Models/QuickReplyMessages.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/QuickReplyShortcut.swift b/Sources/TDLibKit/Generated/Models/QuickReplyShortcut.swift index f8bf559c0b..97d50bccd4 100644 --- a/Sources/TDLibKit/Generated/Models/QuickReplyShortcut.swift +++ b/Sources/TDLibKit/Generated/Models/QuickReplyShortcut.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/RateSpeechRecognition.swift b/Sources/TDLibKit/Generated/Models/RateSpeechRecognition.swift index e7eda82fba..185b6f1f14 100644 --- a/Sources/TDLibKit/Generated/Models/RateSpeechRecognition.swift +++ b/Sources/TDLibKit/Generated/Models/RateSpeechRecognition.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/ReactionNotificationSettings.swift b/Sources/TDLibKit/Generated/Models/ReactionNotificationSettings.swift new file mode 100644 index 0000000000..8d0640a040 --- /dev/null +++ b/Sources/TDLibKit/Generated/Models/ReactionNotificationSettings.swift @@ -0,0 +1,41 @@ +// +// ReactionNotificationSettings.swift +// tl2swift +// +// Generated automatically. Any changes will be lost! +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b +// + +import Foundation + + +/// Contains information about notification settings for reactions +public struct ReactionNotificationSettings: Codable, Equatable, Hashable { + + /// Source of message reactions for which notifications are shown + public let messageReactionSource: ReactionNotificationSource + + /// True, if reaction sender and emoji must be displayed in notifications + public let showPreview: Bool + + /// Identifier of the notification sound to be played; 0 if sound is disabled + public let soundId: TdInt64 + + /// Source of story reactions for which notifications are shown + public let storyReactionSource: ReactionNotificationSource + + + public init( + messageReactionSource: ReactionNotificationSource, + showPreview: Bool, + soundId: TdInt64, + storyReactionSource: ReactionNotificationSource + ) { + self.messageReactionSource = messageReactionSource + self.showPreview = showPreview + self.soundId = soundId + self.storyReactionSource = storyReactionSource + } +} + diff --git a/Sources/TDLibKit/Generated/Models/ReactionNotificationSource.swift b/Sources/TDLibKit/Generated/Models/ReactionNotificationSource.swift new file mode 100644 index 0000000000..c3a7096d2f --- /dev/null +++ b/Sources/TDLibKit/Generated/Models/ReactionNotificationSource.swift @@ -0,0 +1,57 @@ +// +// ReactionNotificationSource.swift +// tl2swift +// +// Generated automatically. Any changes will be lost! +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b +// + +import Foundation + + +/// Describes sources of reactions for which notifications will be shown +public indirect enum ReactionNotificationSource: Codable, Equatable, Hashable { + + /// Notifications for reactions are disabled + case reactionNotificationSourceNone + + /// Notifications for reactions are shown only for reactions from contacts + case reactionNotificationSourceContacts + + /// Notifications for reactions are shown for all reactions + case reactionNotificationSourceAll + + + private enum Kind: String, Codable { + case reactionNotificationSourceNone + case reactionNotificationSourceContacts + case reactionNotificationSourceAll + } + + public init(from decoder: Decoder) throws { + let container = try decoder.container(keyedBy: DtoCodingKeys.self) + let type = try container.decode(Kind.self, forKey: .type) + switch type { + case .reactionNotificationSourceNone: + self = .reactionNotificationSourceNone + case .reactionNotificationSourceContacts: + self = .reactionNotificationSourceContacts + case .reactionNotificationSourceAll: + self = .reactionNotificationSourceAll + } + } + + public func encode(to encoder: Encoder) throws { + var container = encoder.container(keyedBy: DtoCodingKeys.self) + switch self { + case .reactionNotificationSourceNone: + try container.encode(Kind.reactionNotificationSourceNone, forKey: .type) + case .reactionNotificationSourceContacts: + try container.encode(Kind.reactionNotificationSourceContacts, forKey: .type) + case .reactionNotificationSourceAll: + try container.encode(Kind.reactionNotificationSourceAll, forKey: .type) + } + } +} + diff --git a/Sources/TDLibKit/Generated/Models/ReactionType.swift b/Sources/TDLibKit/Generated/Models/ReactionType.swift index c8f52583d7..716c2e5ee1 100644 --- a/Sources/TDLibKit/Generated/Models/ReactionType.swift +++ b/Sources/TDLibKit/Generated/Models/ReactionType.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/ReactionUnavailabilityReason.swift b/Sources/TDLibKit/Generated/Models/ReactionUnavailabilityReason.swift index c11225f0df..3178249a41 100644 --- a/Sources/TDLibKit/Generated/Models/ReactionUnavailabilityReason.swift +++ b/Sources/TDLibKit/Generated/Models/ReactionUnavailabilityReason.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/ReadAllChatMentions.swift b/Sources/TDLibKit/Generated/Models/ReadAllChatMentions.swift index 5c7a6f804f..9b443af063 100644 --- a/Sources/TDLibKit/Generated/Models/ReadAllChatMentions.swift +++ b/Sources/TDLibKit/Generated/Models/ReadAllChatMentions.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/ReadAllChatReactions.swift b/Sources/TDLibKit/Generated/Models/ReadAllChatReactions.swift index c674feb26b..18d921d2f7 100644 --- a/Sources/TDLibKit/Generated/Models/ReadAllChatReactions.swift +++ b/Sources/TDLibKit/Generated/Models/ReadAllChatReactions.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/ReadAllMessageThreadMentions.swift b/Sources/TDLibKit/Generated/Models/ReadAllMessageThreadMentions.swift index 0e92ad7c47..18921b8022 100644 --- a/Sources/TDLibKit/Generated/Models/ReadAllMessageThreadMentions.swift +++ b/Sources/TDLibKit/Generated/Models/ReadAllMessageThreadMentions.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/ReadAllMessageThreadReactions.swift b/Sources/TDLibKit/Generated/Models/ReadAllMessageThreadReactions.swift index b387eb0687..82cdbe0fec 100644 --- a/Sources/TDLibKit/Generated/Models/ReadAllMessageThreadReactions.swift +++ b/Sources/TDLibKit/Generated/Models/ReadAllMessageThreadReactions.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/ReadChatList.swift b/Sources/TDLibKit/Generated/Models/ReadChatList.swift index d91126f2d2..5b827f1c6b 100644 --- a/Sources/TDLibKit/Generated/Models/ReadChatList.swift +++ b/Sources/TDLibKit/Generated/Models/ReadChatList.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/ReadDatePrivacySettings.swift b/Sources/TDLibKit/Generated/Models/ReadDatePrivacySettings.swift index 7590af59f9..de653358d0 100644 --- a/Sources/TDLibKit/Generated/Models/ReadDatePrivacySettings.swift +++ b/Sources/TDLibKit/Generated/Models/ReadDatePrivacySettings.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/ReadFilePart.swift b/Sources/TDLibKit/Generated/Models/ReadFilePart.swift index 862c7d6538..bf9ceca84c 100644 --- a/Sources/TDLibKit/Generated/Models/ReadFilePart.swift +++ b/Sources/TDLibKit/Generated/Models/ReadFilePart.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/ReaddQuickReplyShortcutMessages.swift b/Sources/TDLibKit/Generated/Models/ReaddQuickReplyShortcutMessages.swift index f162b53a9d..e9352e4fef 100644 --- a/Sources/TDLibKit/Generated/Models/ReaddQuickReplyShortcutMessages.swift +++ b/Sources/TDLibKit/Generated/Models/ReaddQuickReplyShortcutMessages.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/RecognizeSpeech.swift b/Sources/TDLibKit/Generated/Models/RecognizeSpeech.swift index 7b8bd45caa..012e0aa424 100644 --- a/Sources/TDLibKit/Generated/Models/RecognizeSpeech.swift +++ b/Sources/TDLibKit/Generated/Models/RecognizeSpeech.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/RecommendedChatFolder.swift b/Sources/TDLibKit/Generated/Models/RecommendedChatFolder.swift index ef04e35877..69b3729ccc 100644 --- a/Sources/TDLibKit/Generated/Models/RecommendedChatFolder.swift +++ b/Sources/TDLibKit/Generated/Models/RecommendedChatFolder.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/RecommendedChatFolders.swift b/Sources/TDLibKit/Generated/Models/RecommendedChatFolders.swift index d6c5723765..886bd19c05 100644 --- a/Sources/TDLibKit/Generated/Models/RecommendedChatFolders.swift +++ b/Sources/TDLibKit/Generated/Models/RecommendedChatFolders.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/RecoverAuthenticationPassword.swift b/Sources/TDLibKit/Generated/Models/RecoverAuthenticationPassword.swift index 28e3e26908..87da8143bd 100644 --- a/Sources/TDLibKit/Generated/Models/RecoverAuthenticationPassword.swift +++ b/Sources/TDLibKit/Generated/Models/RecoverAuthenticationPassword.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/RecoverPassword.swift b/Sources/TDLibKit/Generated/Models/RecoverPassword.swift index 0f4126b6dc..12c1883ff6 100644 --- a/Sources/TDLibKit/Generated/Models/RecoverPassword.swift +++ b/Sources/TDLibKit/Generated/Models/RecoverPassword.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/RecoveryEmailAddress.swift b/Sources/TDLibKit/Generated/Models/RecoveryEmailAddress.swift index 7132ed571f..c871040db3 100644 --- a/Sources/TDLibKit/Generated/Models/RecoveryEmailAddress.swift +++ b/Sources/TDLibKit/Generated/Models/RecoveryEmailAddress.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/RegisterDevice.swift b/Sources/TDLibKit/Generated/Models/RegisterDevice.swift index cd7774ae4f..ca76bf419c 100644 --- a/Sources/TDLibKit/Generated/Models/RegisterDevice.swift +++ b/Sources/TDLibKit/Generated/Models/RegisterDevice.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/RegisterUser.swift b/Sources/TDLibKit/Generated/Models/RegisterUser.swift index a730153aee..8a1c6f5d1f 100644 --- a/Sources/TDLibKit/Generated/Models/RegisterUser.swift +++ b/Sources/TDLibKit/Generated/Models/RegisterUser.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/RemoteFile.swift b/Sources/TDLibKit/Generated/Models/RemoteFile.swift index 4cad54f0c5..e93dbcdfa5 100644 --- a/Sources/TDLibKit/Generated/Models/RemoteFile.swift +++ b/Sources/TDLibKit/Generated/Models/RemoteFile.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation @@ -13,7 +13,7 @@ import Foundation /// Represents a remote file public struct RemoteFile: Codable, Equatable, Hashable, Identifiable { - /// Remote file identifier; may be empty. Can be used by the current user across application restarts or even from other devices. Uniquely identifies a file, but a file can have a lot of different valid identifiers.//-If the identifier starts with "http://" or "https://", it represents the HTTP URL of the file. TDLib is currently unable to download files if only their URL is known.//-If downloadFile/addFileToDownloads is called on such a file or if it is sent to a secret chat, TDLib starts a file generation process by sending updateFileGenerationStart to the application with the HTTP URL in the original_path and "#url#" as the conversion string.//-Application must generate the file by downloading it to the specified location + /// Remote file identifier; may be empty. Can be used by the current user across application restarts or even from other devices. Uniquely identifies a file, but a file can have a lot of different valid identifiers. If the identifier starts with "http://" or "https://", it represents the HTTP URL of the file. TDLib is currently unable to download files if only their URL is known. If downloadFile/addFileToDownloads is called on such a file or if it is sent to a secret chat, TDLib starts a file generation process by sending updateFileGenerationStart to the application with the HTTP URL in the original_path and "#url#" as the conversion string. Application must generate the file by downloading it to the specified location public let id: String /// True, if the file is currently being uploaded (or a remote copy is being generated by some other means) diff --git a/Sources/TDLibKit/Generated/Models/RemoveAllFilesFromDownloads.swift b/Sources/TDLibKit/Generated/Models/RemoveAllFilesFromDownloads.swift index b8a7d4dcb9..7a2c4534a2 100644 --- a/Sources/TDLibKit/Generated/Models/RemoveAllFilesFromDownloads.swift +++ b/Sources/TDLibKit/Generated/Models/RemoveAllFilesFromDownloads.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/RemoveBusinessConnectedBotFromChat.swift b/Sources/TDLibKit/Generated/Models/RemoveBusinessConnectedBotFromChat.swift index 394d5b3d2c..13552a8521 100644 --- a/Sources/TDLibKit/Generated/Models/RemoveBusinessConnectedBotFromChat.swift +++ b/Sources/TDLibKit/Generated/Models/RemoveBusinessConnectedBotFromChat.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/RemoveChatActionBar.swift b/Sources/TDLibKit/Generated/Models/RemoveChatActionBar.swift index 4302a4b7c8..9d75a5c761 100644 --- a/Sources/TDLibKit/Generated/Models/RemoveChatActionBar.swift +++ b/Sources/TDLibKit/Generated/Models/RemoveChatActionBar.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/RemoveContacts.swift b/Sources/TDLibKit/Generated/Models/RemoveContacts.swift index a77dc13d49..764108eb1d 100644 --- a/Sources/TDLibKit/Generated/Models/RemoveContacts.swift +++ b/Sources/TDLibKit/Generated/Models/RemoveContacts.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/RemoveFavoriteSticker.swift b/Sources/TDLibKit/Generated/Models/RemoveFavoriteSticker.swift index b6d0bf5af5..31b5c2ea88 100644 --- a/Sources/TDLibKit/Generated/Models/RemoveFavoriteSticker.swift +++ b/Sources/TDLibKit/Generated/Models/RemoveFavoriteSticker.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/RemoveFileFromDownloads.swift b/Sources/TDLibKit/Generated/Models/RemoveFileFromDownloads.swift index f025fa88d3..4c1da32741 100644 --- a/Sources/TDLibKit/Generated/Models/RemoveFileFromDownloads.swift +++ b/Sources/TDLibKit/Generated/Models/RemoveFileFromDownloads.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/RemoveInstalledBackground.swift b/Sources/TDLibKit/Generated/Models/RemoveInstalledBackground.swift index ea9c19d1dd..0343bc394b 100644 --- a/Sources/TDLibKit/Generated/Models/RemoveInstalledBackground.swift +++ b/Sources/TDLibKit/Generated/Models/RemoveInstalledBackground.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/RemoveMessageReaction.swift b/Sources/TDLibKit/Generated/Models/RemoveMessageReaction.swift index ada8adc11c..48daa80a82 100644 --- a/Sources/TDLibKit/Generated/Models/RemoveMessageReaction.swift +++ b/Sources/TDLibKit/Generated/Models/RemoveMessageReaction.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/RemoveNotification.swift b/Sources/TDLibKit/Generated/Models/RemoveNotification.swift index b013cc3727..934fe16e1a 100644 --- a/Sources/TDLibKit/Generated/Models/RemoveNotification.swift +++ b/Sources/TDLibKit/Generated/Models/RemoveNotification.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/RemoveNotificationGroup.swift b/Sources/TDLibKit/Generated/Models/RemoveNotificationGroup.swift index 84d59c3c94..7d4a441464 100644 --- a/Sources/TDLibKit/Generated/Models/RemoveNotificationGroup.swift +++ b/Sources/TDLibKit/Generated/Models/RemoveNotificationGroup.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/RemoveProxy.swift b/Sources/TDLibKit/Generated/Models/RemoveProxy.swift index 61c904331e..fe511b3fb8 100644 --- a/Sources/TDLibKit/Generated/Models/RemoveProxy.swift +++ b/Sources/TDLibKit/Generated/Models/RemoveProxy.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/RemoveRecentHashtag.swift b/Sources/TDLibKit/Generated/Models/RemoveRecentHashtag.swift index 79dcbcccf8..245dea4f6a 100644 --- a/Sources/TDLibKit/Generated/Models/RemoveRecentHashtag.swift +++ b/Sources/TDLibKit/Generated/Models/RemoveRecentHashtag.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/RemoveRecentSticker.swift b/Sources/TDLibKit/Generated/Models/RemoveRecentSticker.swift index d9890ca51d..52518030f5 100644 --- a/Sources/TDLibKit/Generated/Models/RemoveRecentSticker.swift +++ b/Sources/TDLibKit/Generated/Models/RemoveRecentSticker.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/RemoveRecentlyFoundChat.swift b/Sources/TDLibKit/Generated/Models/RemoveRecentlyFoundChat.swift index af63465668..4e586d8e7d 100644 --- a/Sources/TDLibKit/Generated/Models/RemoveRecentlyFoundChat.swift +++ b/Sources/TDLibKit/Generated/Models/RemoveRecentlyFoundChat.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/RemoveSavedAnimation.swift b/Sources/TDLibKit/Generated/Models/RemoveSavedAnimation.swift index 23c2d6f021..c16d8e0452 100644 --- a/Sources/TDLibKit/Generated/Models/RemoveSavedAnimation.swift +++ b/Sources/TDLibKit/Generated/Models/RemoveSavedAnimation.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/RemoveSavedNotificationSound.swift b/Sources/TDLibKit/Generated/Models/RemoveSavedNotificationSound.swift index 51d323b242..a39ad22582 100644 --- a/Sources/TDLibKit/Generated/Models/RemoveSavedNotificationSound.swift +++ b/Sources/TDLibKit/Generated/Models/RemoveSavedNotificationSound.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/RemoveStickerFromSet.swift b/Sources/TDLibKit/Generated/Models/RemoveStickerFromSet.swift index 3a03516739..d5299572be 100644 --- a/Sources/TDLibKit/Generated/Models/RemoveStickerFromSet.swift +++ b/Sources/TDLibKit/Generated/Models/RemoveStickerFromSet.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/RemoveTopChat.swift b/Sources/TDLibKit/Generated/Models/RemoveTopChat.swift index f8e4a4cdc9..90ff7457a1 100644 --- a/Sources/TDLibKit/Generated/Models/RemoveTopChat.swift +++ b/Sources/TDLibKit/Generated/Models/RemoveTopChat.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/ReorderActiveUsernames.swift b/Sources/TDLibKit/Generated/Models/ReorderActiveUsernames.swift index 0519fab1c6..38597da464 100644 --- a/Sources/TDLibKit/Generated/Models/ReorderActiveUsernames.swift +++ b/Sources/TDLibKit/Generated/Models/ReorderActiveUsernames.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/ReorderBotActiveUsernames.swift b/Sources/TDLibKit/Generated/Models/ReorderBotActiveUsernames.swift index b795ac75bc..4dff7ffd3d 100644 --- a/Sources/TDLibKit/Generated/Models/ReorderBotActiveUsernames.swift +++ b/Sources/TDLibKit/Generated/Models/ReorderBotActiveUsernames.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/ReorderChatFolders.swift b/Sources/TDLibKit/Generated/Models/ReorderChatFolders.swift index 88b234aaab..547d0cc258 100644 --- a/Sources/TDLibKit/Generated/Models/ReorderChatFolders.swift +++ b/Sources/TDLibKit/Generated/Models/ReorderChatFolders.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/ReorderInstalledStickerSets.swift b/Sources/TDLibKit/Generated/Models/ReorderInstalledStickerSets.swift index e5505ba568..3f16685e7e 100644 --- a/Sources/TDLibKit/Generated/Models/ReorderInstalledStickerSets.swift +++ b/Sources/TDLibKit/Generated/Models/ReorderInstalledStickerSets.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/ReorderQuickReplyShortcuts.swift b/Sources/TDLibKit/Generated/Models/ReorderQuickReplyShortcuts.swift index a03bfeb444..22867f37f4 100644 --- a/Sources/TDLibKit/Generated/Models/ReorderQuickReplyShortcuts.swift +++ b/Sources/TDLibKit/Generated/Models/ReorderQuickReplyShortcuts.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/ReorderSupergroupActiveUsernames.swift b/Sources/TDLibKit/Generated/Models/ReorderSupergroupActiveUsernames.swift index 0bb0c2bb2f..c0cca3bddb 100644 --- a/Sources/TDLibKit/Generated/Models/ReorderSupergroupActiveUsernames.swift +++ b/Sources/TDLibKit/Generated/Models/ReorderSupergroupActiveUsernames.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/ReplacePrimaryChatInviteLink.swift b/Sources/TDLibKit/Generated/Models/ReplacePrimaryChatInviteLink.swift index c4c1396649..143f94893c 100644 --- a/Sources/TDLibKit/Generated/Models/ReplacePrimaryChatInviteLink.swift +++ b/Sources/TDLibKit/Generated/Models/ReplacePrimaryChatInviteLink.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/ReplaceStickerInSet.swift b/Sources/TDLibKit/Generated/Models/ReplaceStickerInSet.swift index b0ac5dde56..ddfa8c4366 100644 --- a/Sources/TDLibKit/Generated/Models/ReplaceStickerInSet.swift +++ b/Sources/TDLibKit/Generated/Models/ReplaceStickerInSet.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/ReplaceVideoChatRtmpUrl.swift b/Sources/TDLibKit/Generated/Models/ReplaceVideoChatRtmpUrl.swift index efd045bd4d..0b5bf3c98b 100644 --- a/Sources/TDLibKit/Generated/Models/ReplaceVideoChatRtmpUrl.swift +++ b/Sources/TDLibKit/Generated/Models/ReplaceVideoChatRtmpUrl.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/ReplyMarkup.swift b/Sources/TDLibKit/Generated/Models/ReplyMarkup.swift index 43b551ea9d..496497d1d7 100644 --- a/Sources/TDLibKit/Generated/Models/ReplyMarkup.swift +++ b/Sources/TDLibKit/Generated/Models/ReplyMarkup.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/ReportAuthenticationCodeMissing.swift b/Sources/TDLibKit/Generated/Models/ReportAuthenticationCodeMissing.swift new file mode 100644 index 0000000000..f820fa24fb --- /dev/null +++ b/Sources/TDLibKit/Generated/Models/ReportAuthenticationCodeMissing.swift @@ -0,0 +1,24 @@ +// +// ReportAuthenticationCodeMissing.swift +// tl2swift +// +// Generated automatically. Any changes will be lost! +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b +// + +import Foundation + + +/// Reports that authentication code wasn't delivered via SMS; for official mobile apps only. Works only when the current authorization state is authorizationStateWaitCode +public struct ReportAuthenticationCodeMissing: Codable, Equatable, Hashable { + + /// Current mobile network code + public let mobileNetworkCode: String? + + + public init(mobileNetworkCode: String?) { + self.mobileNetworkCode = mobileNetworkCode + } +} + diff --git a/Sources/TDLibKit/Generated/Models/ReportChat.swift b/Sources/TDLibKit/Generated/Models/ReportChat.swift index 846291ccbf..941cb49f6a 100644 --- a/Sources/TDLibKit/Generated/Models/ReportChat.swift +++ b/Sources/TDLibKit/Generated/Models/ReportChat.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/ReportChatPhoto.swift b/Sources/TDLibKit/Generated/Models/ReportChatPhoto.swift index 68a14c7bfe..5dd5a8ce98 100644 --- a/Sources/TDLibKit/Generated/Models/ReportChatPhoto.swift +++ b/Sources/TDLibKit/Generated/Models/ReportChatPhoto.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/ReportChatSponsoredMessage.swift b/Sources/TDLibKit/Generated/Models/ReportChatSponsoredMessage.swift index 8653b79a61..5fecb160a3 100644 --- a/Sources/TDLibKit/Generated/Models/ReportChatSponsoredMessage.swift +++ b/Sources/TDLibKit/Generated/Models/ReportChatSponsoredMessage.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/ReportChatSponsoredMessageOption.swift b/Sources/TDLibKit/Generated/Models/ReportChatSponsoredMessageOption.swift index ac62946981..ec80ec5fe9 100644 --- a/Sources/TDLibKit/Generated/Models/ReportChatSponsoredMessageOption.swift +++ b/Sources/TDLibKit/Generated/Models/ReportChatSponsoredMessageOption.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/ReportChatSponsoredMessageResult.swift b/Sources/TDLibKit/Generated/Models/ReportChatSponsoredMessageResult.swift index 0e7ba60938..3b8518e11a 100644 --- a/Sources/TDLibKit/Generated/Models/ReportChatSponsoredMessageResult.swift +++ b/Sources/TDLibKit/Generated/Models/ReportChatSponsoredMessageResult.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/ReportMessageReactions.swift b/Sources/TDLibKit/Generated/Models/ReportMessageReactions.swift index 9d88460549..65a0a293ba 100644 --- a/Sources/TDLibKit/Generated/Models/ReportMessageReactions.swift +++ b/Sources/TDLibKit/Generated/Models/ReportMessageReactions.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/ReportPhoneNumberCodeMissing.swift b/Sources/TDLibKit/Generated/Models/ReportPhoneNumberCodeMissing.swift new file mode 100644 index 0000000000..cea7f2764a --- /dev/null +++ b/Sources/TDLibKit/Generated/Models/ReportPhoneNumberCodeMissing.swift @@ -0,0 +1,24 @@ +// +// ReportPhoneNumberCodeMissing.swift +// tl2swift +// +// Generated automatically. Any changes will be lost! +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b +// + +import Foundation + + +/// Reports that authentication code wasn't delivered via SMS to the specified phone number; for official mobile apps only +public struct ReportPhoneNumberCodeMissing: Codable, Equatable, Hashable { + + /// Current mobile network code + public let mobileNetworkCode: String? + + + public init(mobileNetworkCode: String?) { + self.mobileNetworkCode = mobileNetworkCode + } +} + diff --git a/Sources/TDLibKit/Generated/Models/ReportReason.swift b/Sources/TDLibKit/Generated/Models/ReportReason.swift index 4d79a683ad..cdb2a8b7ef 100644 --- a/Sources/TDLibKit/Generated/Models/ReportReason.swift +++ b/Sources/TDLibKit/Generated/Models/ReportReason.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/ReportStory.swift b/Sources/TDLibKit/Generated/Models/ReportStory.swift index d525b1462b..f9dace31ad 100644 --- a/Sources/TDLibKit/Generated/Models/ReportStory.swift +++ b/Sources/TDLibKit/Generated/Models/ReportStory.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/ReportSupergroupAntiSpamFalsePositive.swift b/Sources/TDLibKit/Generated/Models/ReportSupergroupAntiSpamFalsePositive.swift index 203930aa5f..7e71ce493d 100644 --- a/Sources/TDLibKit/Generated/Models/ReportSupergroupAntiSpamFalsePositive.swift +++ b/Sources/TDLibKit/Generated/Models/ReportSupergroupAntiSpamFalsePositive.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/ReportSupergroupSpam.swift b/Sources/TDLibKit/Generated/Models/ReportSupergroupSpam.swift index 9a62d0f794..c3e78ca207 100644 --- a/Sources/TDLibKit/Generated/Models/ReportSupergroupSpam.swift +++ b/Sources/TDLibKit/Generated/Models/ReportSupergroupSpam.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/RequestAuthenticationPasswordRecovery.swift b/Sources/TDLibKit/Generated/Models/RequestAuthenticationPasswordRecovery.swift index cdff05f60e..e00395dde2 100644 --- a/Sources/TDLibKit/Generated/Models/RequestAuthenticationPasswordRecovery.swift +++ b/Sources/TDLibKit/Generated/Models/RequestAuthenticationPasswordRecovery.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/RequestPasswordRecovery.swift b/Sources/TDLibKit/Generated/Models/RequestPasswordRecovery.swift index ea222cc5ce..6db4aec544 100644 --- a/Sources/TDLibKit/Generated/Models/RequestPasswordRecovery.swift +++ b/Sources/TDLibKit/Generated/Models/RequestPasswordRecovery.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/RequestQrCodeAuthentication.swift b/Sources/TDLibKit/Generated/Models/RequestQrCodeAuthentication.swift index a44453d7b2..8492c1c8c2 100644 --- a/Sources/TDLibKit/Generated/Models/RequestQrCodeAuthentication.swift +++ b/Sources/TDLibKit/Generated/Models/RequestQrCodeAuthentication.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/ResendAuthenticationCode.swift b/Sources/TDLibKit/Generated/Models/ResendAuthenticationCode.swift index a89ea3896d..2e0c53638e 100644 --- a/Sources/TDLibKit/Generated/Models/ResendAuthenticationCode.swift +++ b/Sources/TDLibKit/Generated/Models/ResendAuthenticationCode.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/ResendEmailAddressVerificationCode.swift b/Sources/TDLibKit/Generated/Models/ResendEmailAddressVerificationCode.swift index 0e9eb646cc..350abf9f28 100644 --- a/Sources/TDLibKit/Generated/Models/ResendEmailAddressVerificationCode.swift +++ b/Sources/TDLibKit/Generated/Models/ResendEmailAddressVerificationCode.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/ResendLoginEmailAddressCode.swift b/Sources/TDLibKit/Generated/Models/ResendLoginEmailAddressCode.swift index 0bab760d2a..094e5bd98a 100644 --- a/Sources/TDLibKit/Generated/Models/ResendLoginEmailAddressCode.swift +++ b/Sources/TDLibKit/Generated/Models/ResendLoginEmailAddressCode.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/ResendMessages.swift b/Sources/TDLibKit/Generated/Models/ResendMessages.swift index 2a0eb296aa..f89cc4c30a 100644 --- a/Sources/TDLibKit/Generated/Models/ResendMessages.swift +++ b/Sources/TDLibKit/Generated/Models/ResendMessages.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/ResendPhoneNumberCode.swift b/Sources/TDLibKit/Generated/Models/ResendPhoneNumberCode.swift index f29177a664..545743118e 100644 --- a/Sources/TDLibKit/Generated/Models/ResendPhoneNumberCode.swift +++ b/Sources/TDLibKit/Generated/Models/ResendPhoneNumberCode.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/ResendRecoveryEmailAddressCode.swift b/Sources/TDLibKit/Generated/Models/ResendRecoveryEmailAddressCode.swift index f631bdf575..a1815eff12 100644 --- a/Sources/TDLibKit/Generated/Models/ResendRecoveryEmailAddressCode.swift +++ b/Sources/TDLibKit/Generated/Models/ResendRecoveryEmailAddressCode.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/ResetAllNotificationSettings.swift b/Sources/TDLibKit/Generated/Models/ResetAllNotificationSettings.swift index fce8310e3b..84e5b4d68d 100644 --- a/Sources/TDLibKit/Generated/Models/ResetAllNotificationSettings.swift +++ b/Sources/TDLibKit/Generated/Models/ResetAllNotificationSettings.swift @@ -3,14 +3,14 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation -/// Resets all notification settings to their default values. By default, all chats are unmuted and message previews are shown +/// Resets all chat and scope notification settings to their default values. By default, all chats are unmuted and message previews are shown public struct ResetAllNotificationSettings: Codable, Equatable, Hashable { diff --git a/Sources/TDLibKit/Generated/Models/ResetAuthenticationEmailAddress.swift b/Sources/TDLibKit/Generated/Models/ResetAuthenticationEmailAddress.swift index c5b09315c7..7312bc148e 100644 --- a/Sources/TDLibKit/Generated/Models/ResetAuthenticationEmailAddress.swift +++ b/Sources/TDLibKit/Generated/Models/ResetAuthenticationEmailAddress.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/ResetInstalledBackgrounds.swift b/Sources/TDLibKit/Generated/Models/ResetInstalledBackgrounds.swift index 9f1b219017..36f32b2e9d 100644 --- a/Sources/TDLibKit/Generated/Models/ResetInstalledBackgrounds.swift +++ b/Sources/TDLibKit/Generated/Models/ResetInstalledBackgrounds.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/ResetNetworkStatistics.swift b/Sources/TDLibKit/Generated/Models/ResetNetworkStatistics.swift index c992e6b19a..dd2dc0b9ea 100644 --- a/Sources/TDLibKit/Generated/Models/ResetNetworkStatistics.swift +++ b/Sources/TDLibKit/Generated/Models/ResetNetworkStatistics.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/ResetPassword.swift b/Sources/TDLibKit/Generated/Models/ResetPassword.swift index a6b91e88f3..ad0132b96f 100644 --- a/Sources/TDLibKit/Generated/Models/ResetPassword.swift +++ b/Sources/TDLibKit/Generated/Models/ResetPassword.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/ResetPasswordResult.swift b/Sources/TDLibKit/Generated/Models/ResetPasswordResult.swift index 0e91e179c3..b4de9571bf 100644 --- a/Sources/TDLibKit/Generated/Models/ResetPasswordResult.swift +++ b/Sources/TDLibKit/Generated/Models/ResetPasswordResult.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/RevokeChatInviteLink.swift b/Sources/TDLibKit/Generated/Models/RevokeChatInviteLink.swift index 3fddae7220..0a48e0cf55 100644 --- a/Sources/TDLibKit/Generated/Models/RevokeChatInviteLink.swift +++ b/Sources/TDLibKit/Generated/Models/RevokeChatInviteLink.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/RevokeGroupCallInviteLink.swift b/Sources/TDLibKit/Generated/Models/RevokeGroupCallInviteLink.swift index 8374da2435..31556df1e9 100644 --- a/Sources/TDLibKit/Generated/Models/RevokeGroupCallInviteLink.swift +++ b/Sources/TDLibKit/Generated/Models/RevokeGroupCallInviteLink.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/RichText.swift b/Sources/TDLibKit/Generated/Models/RichText.swift index e487e3929b..07a916afb1 100644 --- a/Sources/TDLibKit/Generated/Models/RichText.swift +++ b/Sources/TDLibKit/Generated/Models/RichText.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/RtmpUrl.swift b/Sources/TDLibKit/Generated/Models/RtmpUrl.swift index 8eacef20c4..5e733bbeb4 100644 --- a/Sources/TDLibKit/Generated/Models/RtmpUrl.swift +++ b/Sources/TDLibKit/Generated/Models/RtmpUrl.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/SaveApplicationLogEvent.swift b/Sources/TDLibKit/Generated/Models/SaveApplicationLogEvent.swift index ee3a5f0845..e7f54b954a 100644 --- a/Sources/TDLibKit/Generated/Models/SaveApplicationLogEvent.swift +++ b/Sources/TDLibKit/Generated/Models/SaveApplicationLogEvent.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/SavedCredentials.swift b/Sources/TDLibKit/Generated/Models/SavedCredentials.swift index fc47fdde65..1f309f150d 100644 --- a/Sources/TDLibKit/Generated/Models/SavedCredentials.swift +++ b/Sources/TDLibKit/Generated/Models/SavedCredentials.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/SavedMessagesTag.swift b/Sources/TDLibKit/Generated/Models/SavedMessagesTag.swift index 7aa2399c7c..b45686cd43 100644 --- a/Sources/TDLibKit/Generated/Models/SavedMessagesTag.swift +++ b/Sources/TDLibKit/Generated/Models/SavedMessagesTag.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/SavedMessagesTags.swift b/Sources/TDLibKit/Generated/Models/SavedMessagesTags.swift index abc41282b8..c570fc3e10 100644 --- a/Sources/TDLibKit/Generated/Models/SavedMessagesTags.swift +++ b/Sources/TDLibKit/Generated/Models/SavedMessagesTags.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/SavedMessagesTopic.swift b/Sources/TDLibKit/Generated/Models/SavedMessagesTopic.swift index b4ece6334c..e1ff2ef7d9 100644 --- a/Sources/TDLibKit/Generated/Models/SavedMessagesTopic.swift +++ b/Sources/TDLibKit/Generated/Models/SavedMessagesTopic.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/SavedMessagesTopicType.swift b/Sources/TDLibKit/Generated/Models/SavedMessagesTopicType.swift index 39a2e8c4ec..a7663a84a8 100644 --- a/Sources/TDLibKit/Generated/Models/SavedMessagesTopicType.swift +++ b/Sources/TDLibKit/Generated/Models/SavedMessagesTopicType.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/ScopeAutosaveSettings.swift b/Sources/TDLibKit/Generated/Models/ScopeAutosaveSettings.swift index 9f576fd201..9ef0f213cc 100644 --- a/Sources/TDLibKit/Generated/Models/ScopeAutosaveSettings.swift +++ b/Sources/TDLibKit/Generated/Models/ScopeAutosaveSettings.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/ScopeNotificationSettings.swift b/Sources/TDLibKit/Generated/Models/ScopeNotificationSettings.swift index c71ba263e9..867f922cc5 100644 --- a/Sources/TDLibKit/Generated/Models/ScopeNotificationSettings.swift +++ b/Sources/TDLibKit/Generated/Models/ScopeNotificationSettings.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/SearchBackground.swift b/Sources/TDLibKit/Generated/Models/SearchBackground.swift index cb5c0c73f4..806ba2ec38 100644 --- a/Sources/TDLibKit/Generated/Models/SearchBackground.swift +++ b/Sources/TDLibKit/Generated/Models/SearchBackground.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/SearchCallMessages.swift b/Sources/TDLibKit/Generated/Models/SearchCallMessages.swift index 0e244c0c82..3670e8dbf8 100644 --- a/Sources/TDLibKit/Generated/Models/SearchCallMessages.swift +++ b/Sources/TDLibKit/Generated/Models/SearchCallMessages.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/SearchChatMembers.swift b/Sources/TDLibKit/Generated/Models/SearchChatMembers.swift index 9934446b78..7bd79391b2 100644 --- a/Sources/TDLibKit/Generated/Models/SearchChatMembers.swift +++ b/Sources/TDLibKit/Generated/Models/SearchChatMembers.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/SearchChatMessages.swift b/Sources/TDLibKit/Generated/Models/SearchChatMessages.swift index 2a4bd10072..9f01019311 100644 --- a/Sources/TDLibKit/Generated/Models/SearchChatMessages.swift +++ b/Sources/TDLibKit/Generated/Models/SearchChatMessages.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation @@ -22,7 +22,7 @@ public struct SearchChatMessages: Codable, Equatable, Hashable { /// Identifier of the message starting from which history must be fetched; use 0 to get results from the last message public let fromMessageId: Int64? - /// The maximum number of messages to be returned; must be positive and can't be greater than 100. If the offset is negative, the limit must be greater than -offset.//-For optimal performance, the number of returned messages is chosen by TDLib and can be smaller than the specified limit + /// The maximum number of messages to be returned; must be positive and can't be greater than 100. If the offset is negative, the limit must be greater than -offset. For optimal performance, the number of returned messages is chosen by TDLib and can be smaller than the specified limit public let limit: Int? /// If not 0, only messages in the specified thread will be returned; supergroups only diff --git a/Sources/TDLibKit/Generated/Models/SearchChatRecentLocationMessages.swift b/Sources/TDLibKit/Generated/Models/SearchChatRecentLocationMessages.swift index 0d9c036bfd..f93094b3db 100644 --- a/Sources/TDLibKit/Generated/Models/SearchChatRecentLocationMessages.swift +++ b/Sources/TDLibKit/Generated/Models/SearchChatRecentLocationMessages.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/SearchChats.swift b/Sources/TDLibKit/Generated/Models/SearchChats.swift index dcd8359e02..9341e93475 100644 --- a/Sources/TDLibKit/Generated/Models/SearchChats.swift +++ b/Sources/TDLibKit/Generated/Models/SearchChats.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/SearchChatsNearby.swift b/Sources/TDLibKit/Generated/Models/SearchChatsNearby.swift index c114402289..1d3f21299c 100644 --- a/Sources/TDLibKit/Generated/Models/SearchChatsNearby.swift +++ b/Sources/TDLibKit/Generated/Models/SearchChatsNearby.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/SearchChatsOnServer.swift b/Sources/TDLibKit/Generated/Models/SearchChatsOnServer.swift index 7e016d6798..f90697995d 100644 --- a/Sources/TDLibKit/Generated/Models/SearchChatsOnServer.swift +++ b/Sources/TDLibKit/Generated/Models/SearchChatsOnServer.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/SearchContacts.swift b/Sources/TDLibKit/Generated/Models/SearchContacts.swift index 73cb34b35c..6ef5e2d7af 100644 --- a/Sources/TDLibKit/Generated/Models/SearchContacts.swift +++ b/Sources/TDLibKit/Generated/Models/SearchContacts.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/SearchEmojis.swift b/Sources/TDLibKit/Generated/Models/SearchEmojis.swift index ed7aa5ea58..343176ae9e 100644 --- a/Sources/TDLibKit/Generated/Models/SearchEmojis.swift +++ b/Sources/TDLibKit/Generated/Models/SearchEmojis.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/SearchFileDownloads.swift b/Sources/TDLibKit/Generated/Models/SearchFileDownloads.swift index 48c49cb379..2894902f69 100644 --- a/Sources/TDLibKit/Generated/Models/SearchFileDownloads.swift +++ b/Sources/TDLibKit/Generated/Models/SearchFileDownloads.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/SearchHashtags.swift b/Sources/TDLibKit/Generated/Models/SearchHashtags.swift index 7d43a82ab0..648000def8 100644 --- a/Sources/TDLibKit/Generated/Models/SearchHashtags.swift +++ b/Sources/TDLibKit/Generated/Models/SearchHashtags.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/SearchInstalledStickerSets.swift b/Sources/TDLibKit/Generated/Models/SearchInstalledStickerSets.swift index d97e30b487..7b6ebb523a 100644 --- a/Sources/TDLibKit/Generated/Models/SearchInstalledStickerSets.swift +++ b/Sources/TDLibKit/Generated/Models/SearchInstalledStickerSets.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/SearchMessages.swift b/Sources/TDLibKit/Generated/Models/SearchMessages.swift index 589851ed67..0d58c8f12c 100644 --- a/Sources/TDLibKit/Generated/Models/SearchMessages.swift +++ b/Sources/TDLibKit/Generated/Models/SearchMessages.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation @@ -31,6 +31,9 @@ public struct SearchMessages: Codable, Equatable, Hashable { /// Offset of the first entry to return as received from the previous request; use empty string to get the first chunk of results public let offset: String? + /// Pass true to search only for messages in channels + public let onlyInChannels: Bool? + /// Query to search for public let query: String? @@ -42,6 +45,7 @@ public struct SearchMessages: Codable, Equatable, Hashable { maxDate: Int?, minDate: Int?, offset: String?, + onlyInChannels: Bool?, query: String? ) { self.chatList = chatList @@ -50,6 +54,7 @@ public struct SearchMessages: Codable, Equatable, Hashable { self.maxDate = maxDate self.minDate = minDate self.offset = offset + self.onlyInChannels = onlyInChannels self.query = query } } diff --git a/Sources/TDLibKit/Generated/Models/SearchMessagesFilter.swift b/Sources/TDLibKit/Generated/Models/SearchMessagesFilter.swift index 069af0d05d..be5ac2890d 100644 --- a/Sources/TDLibKit/Generated/Models/SearchMessagesFilter.swift +++ b/Sources/TDLibKit/Generated/Models/SearchMessagesFilter.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/SearchOutgoingDocumentMessages.swift b/Sources/TDLibKit/Generated/Models/SearchOutgoingDocumentMessages.swift index 39be2015ad..40f3402b6d 100644 --- a/Sources/TDLibKit/Generated/Models/SearchOutgoingDocumentMessages.swift +++ b/Sources/TDLibKit/Generated/Models/SearchOutgoingDocumentMessages.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/SearchPublicChat.swift b/Sources/TDLibKit/Generated/Models/SearchPublicChat.swift index 7bbab5d5cb..ee52b677c9 100644 --- a/Sources/TDLibKit/Generated/Models/SearchPublicChat.swift +++ b/Sources/TDLibKit/Generated/Models/SearchPublicChat.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/SearchPublicChats.swift b/Sources/TDLibKit/Generated/Models/SearchPublicChats.swift index 510a957624..45583cbcb5 100644 --- a/Sources/TDLibKit/Generated/Models/SearchPublicChats.swift +++ b/Sources/TDLibKit/Generated/Models/SearchPublicChats.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/SearchQuote.swift b/Sources/TDLibKit/Generated/Models/SearchQuote.swift index 32aa50df42..41617db7d7 100644 --- a/Sources/TDLibKit/Generated/Models/SearchQuote.swift +++ b/Sources/TDLibKit/Generated/Models/SearchQuote.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/SearchRecentlyFoundChats.swift b/Sources/TDLibKit/Generated/Models/SearchRecentlyFoundChats.swift index 5ba1d559db..0017902e57 100644 --- a/Sources/TDLibKit/Generated/Models/SearchRecentlyFoundChats.swift +++ b/Sources/TDLibKit/Generated/Models/SearchRecentlyFoundChats.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/SearchSavedMessages.swift b/Sources/TDLibKit/Generated/Models/SearchSavedMessages.swift index fe9b419a70..28b1b9f702 100644 --- a/Sources/TDLibKit/Generated/Models/SearchSavedMessages.swift +++ b/Sources/TDLibKit/Generated/Models/SearchSavedMessages.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation @@ -16,7 +16,7 @@ public struct SearchSavedMessages: Codable, Equatable, Hashable { /// Identifier of the message starting from which messages must be fetched; use 0 to get results from the last message public let fromMessageId: Int64? - /// The maximum number of messages to be returned; must be positive and can't be greater than 100. If the offset is negative, the limit must be greater than -offset.//-For optimal performance, the number of returned messages is chosen by TDLib and can be smaller than the specified limit + /// The maximum number of messages to be returned; must be positive and can't be greater than 100. If the offset is negative, the limit must be greater than -offset. For optimal performance, the number of returned messages is chosen by TDLib and can be smaller than the specified limit public let limit: Int? /// Specify 0 to get results from exactly the message from_message_id or a negative offset to get the specified message and some newer messages diff --git a/Sources/TDLibKit/Generated/Models/SearchSecretMessages.swift b/Sources/TDLibKit/Generated/Models/SearchSecretMessages.swift index a05d5827c2..ab4a48a7bb 100644 --- a/Sources/TDLibKit/Generated/Models/SearchSecretMessages.swift +++ b/Sources/TDLibKit/Generated/Models/SearchSecretMessages.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/SearchStickerSet.swift b/Sources/TDLibKit/Generated/Models/SearchStickerSet.swift index 25b4fd1316..caa171968e 100644 --- a/Sources/TDLibKit/Generated/Models/SearchStickerSet.swift +++ b/Sources/TDLibKit/Generated/Models/SearchStickerSet.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/SearchStickerSets.swift b/Sources/TDLibKit/Generated/Models/SearchStickerSets.swift index 82f0368816..503d311aa6 100644 --- a/Sources/TDLibKit/Generated/Models/SearchStickerSets.swift +++ b/Sources/TDLibKit/Generated/Models/SearchStickerSets.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/SearchStickers.swift b/Sources/TDLibKit/Generated/Models/SearchStickers.swift index d153f680e0..390a6348b0 100644 --- a/Sources/TDLibKit/Generated/Models/SearchStickers.swift +++ b/Sources/TDLibKit/Generated/Models/SearchStickers.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/SearchStringsByPrefix.swift b/Sources/TDLibKit/Generated/Models/SearchStringsByPrefix.swift index 367cedc386..1446c65129 100644 --- a/Sources/TDLibKit/Generated/Models/SearchStringsByPrefix.swift +++ b/Sources/TDLibKit/Generated/Models/SearchStringsByPrefix.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/SearchUserByPhoneNumber.swift b/Sources/TDLibKit/Generated/Models/SearchUserByPhoneNumber.swift index 2057e6195e..afe55e28b0 100644 --- a/Sources/TDLibKit/Generated/Models/SearchUserByPhoneNumber.swift +++ b/Sources/TDLibKit/Generated/Models/SearchUserByPhoneNumber.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/SearchUserByToken.swift b/Sources/TDLibKit/Generated/Models/SearchUserByToken.swift index 91bbafa669..825f3fab00 100644 --- a/Sources/TDLibKit/Generated/Models/SearchUserByToken.swift +++ b/Sources/TDLibKit/Generated/Models/SearchUserByToken.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/SearchWebApp.swift b/Sources/TDLibKit/Generated/Models/SearchWebApp.swift index 9537c96cb8..9137e814f5 100644 --- a/Sources/TDLibKit/Generated/Models/SearchWebApp.swift +++ b/Sources/TDLibKit/Generated/Models/SearchWebApp.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/Seconds.swift b/Sources/TDLibKit/Generated/Models/Seconds.swift index 49b505cc33..d4c58098a2 100644 --- a/Sources/TDLibKit/Generated/Models/Seconds.swift +++ b/Sources/TDLibKit/Generated/Models/Seconds.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/SecretChat.swift b/Sources/TDLibKit/Generated/Models/SecretChat.swift index ba21ed6673..8af4121aed 100644 --- a/Sources/TDLibKit/Generated/Models/SecretChat.swift +++ b/Sources/TDLibKit/Generated/Models/SecretChat.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation @@ -19,10 +19,10 @@ public struct SecretChat: Codable, Equatable, Hashable, Identifiable { /// True, if the chat was created by the current user; false otherwise public let isOutbound: Bool - /// Hash of the currently used key for comparison with the hash of the chat partner's key. This is a string of 36 little-endian bytes, which must be split into groups of 2 bits, each denoting a pixel of one of 4 colors FFFFFF, D5E6F3, 2D5775, and 2F99C9.//-The pixels must be used to make a 12x12 square image filled from left to right, top to bottom. Alternatively, the first 32 bytes of the hash can be converted to the hexadecimal format and printed as 32 2-digit hex numbers + /// Hash of the currently used key for comparison with the hash of the chat partner's key. This is a string of 36 little-endian bytes, which must be split into groups of 2 bits, each denoting a pixel of one of 4 colors FFFFFF, D5E6F3, 2D5775, and 2F99C9. The pixels must be used to make a 12x12 square image filled from left to right, top to bottom. Alternatively, the first 32 bytes of the hash can be converted to the hexadecimal format and printed as 32 2-digit hex numbers public let keyHash: Data - /// Secret chat layer; determines features supported by the chat partner's application. Nested text entities and underline and strikethrough entities are supported if the layer >= 101,//-files bigger than 2000MB are supported if the layer >= 143, spoiler and custom emoji text entities are supported if the layer >= 144 + /// Secret chat layer; determines features supported by the chat partner's application. Nested text entities and underline and strikethrough entities are supported if the layer >= 101, files bigger than 2000MB are supported if the layer >= 143, spoiler and custom emoji text entities are supported if the layer >= 144 public let layer: Int /// State of the secret chat diff --git a/Sources/TDLibKit/Generated/Models/SecretChatState.swift b/Sources/TDLibKit/Generated/Models/SecretChatState.swift index 4ff6ddc6f7..088a206593 100644 --- a/Sources/TDLibKit/Generated/Models/SecretChatState.swift +++ b/Sources/TDLibKit/Generated/Models/SecretChatState.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/SendAuthenticationFirebaseSms.swift b/Sources/TDLibKit/Generated/Models/SendAuthenticationFirebaseSms.swift index 93e0abff61..36c4737cca 100644 --- a/Sources/TDLibKit/Generated/Models/SendAuthenticationFirebaseSms.swift +++ b/Sources/TDLibKit/Generated/Models/SendAuthenticationFirebaseSms.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/SendBotStartMessage.swift b/Sources/TDLibKit/Generated/Models/SendBotStartMessage.swift index 35aacc6884..e0c9ee4f33 100644 --- a/Sources/TDLibKit/Generated/Models/SendBotStartMessage.swift +++ b/Sources/TDLibKit/Generated/Models/SendBotStartMessage.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/SendBusinessMessage.swift b/Sources/TDLibKit/Generated/Models/SendBusinessMessage.swift index 42e732e06e..991f212b64 100644 --- a/Sources/TDLibKit/Generated/Models/SendBusinessMessage.swift +++ b/Sources/TDLibKit/Generated/Models/SendBusinessMessage.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/SendBusinessMessageAlbum.swift b/Sources/TDLibKit/Generated/Models/SendBusinessMessageAlbum.swift index eefa292340..013362a473 100644 --- a/Sources/TDLibKit/Generated/Models/SendBusinessMessageAlbum.swift +++ b/Sources/TDLibKit/Generated/Models/SendBusinessMessageAlbum.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/SendCallDebugInformation.swift b/Sources/TDLibKit/Generated/Models/SendCallDebugInformation.swift index 7a8c019f09..35f7878e55 100644 --- a/Sources/TDLibKit/Generated/Models/SendCallDebugInformation.swift +++ b/Sources/TDLibKit/Generated/Models/SendCallDebugInformation.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/SendCallLog.swift b/Sources/TDLibKit/Generated/Models/SendCallLog.swift index dcaff14d6c..e3d4a72321 100644 --- a/Sources/TDLibKit/Generated/Models/SendCallLog.swift +++ b/Sources/TDLibKit/Generated/Models/SendCallLog.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/SendCallRating.swift b/Sources/TDLibKit/Generated/Models/SendCallRating.swift index eaf5151e6e..b1aeb4bbdc 100644 --- a/Sources/TDLibKit/Generated/Models/SendCallRating.swift +++ b/Sources/TDLibKit/Generated/Models/SendCallRating.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/SendCallSignalingData.swift b/Sources/TDLibKit/Generated/Models/SendCallSignalingData.swift index 3c04eb75aa..5686d5e5e2 100644 --- a/Sources/TDLibKit/Generated/Models/SendCallSignalingData.swift +++ b/Sources/TDLibKit/Generated/Models/SendCallSignalingData.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/SendChatAction.swift b/Sources/TDLibKit/Generated/Models/SendChatAction.swift index 0cbf93027f..a388b9428d 100644 --- a/Sources/TDLibKit/Generated/Models/SendChatAction.swift +++ b/Sources/TDLibKit/Generated/Models/SendChatAction.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/SendCustomRequest.swift b/Sources/TDLibKit/Generated/Models/SendCustomRequest.swift index 09c04614aa..07adbd1a27 100644 --- a/Sources/TDLibKit/Generated/Models/SendCustomRequest.swift +++ b/Sources/TDLibKit/Generated/Models/SendCustomRequest.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/SendEmailAddressVerificationCode.swift b/Sources/TDLibKit/Generated/Models/SendEmailAddressVerificationCode.swift index 5bd073f286..83b824941e 100644 --- a/Sources/TDLibKit/Generated/Models/SendEmailAddressVerificationCode.swift +++ b/Sources/TDLibKit/Generated/Models/SendEmailAddressVerificationCode.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/SendInlineQueryResultMessage.swift b/Sources/TDLibKit/Generated/Models/SendInlineQueryResultMessage.swift index cce9c23ae2..27e1f88ec2 100644 --- a/Sources/TDLibKit/Generated/Models/SendInlineQueryResultMessage.swift +++ b/Sources/TDLibKit/Generated/Models/SendInlineQueryResultMessage.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/SendMessage.swift b/Sources/TDLibKit/Generated/Models/SendMessage.swift index 4544b73759..f1d2624076 100644 --- a/Sources/TDLibKit/Generated/Models/SendMessage.swift +++ b/Sources/TDLibKit/Generated/Models/SendMessage.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/SendMessageAlbum.swift b/Sources/TDLibKit/Generated/Models/SendMessageAlbum.swift index 94c2102970..39176deb4c 100644 --- a/Sources/TDLibKit/Generated/Models/SendMessageAlbum.swift +++ b/Sources/TDLibKit/Generated/Models/SendMessageAlbum.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/SendPassportAuthorizationForm.swift b/Sources/TDLibKit/Generated/Models/SendPassportAuthorizationForm.swift index 4a46a13b7e..1d332c0434 100644 --- a/Sources/TDLibKit/Generated/Models/SendPassportAuthorizationForm.swift +++ b/Sources/TDLibKit/Generated/Models/SendPassportAuthorizationForm.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/SendPaymentForm.swift b/Sources/TDLibKit/Generated/Models/SendPaymentForm.swift index c8f584df4e..2b40c6dcb4 100644 --- a/Sources/TDLibKit/Generated/Models/SendPaymentForm.swift +++ b/Sources/TDLibKit/Generated/Models/SendPaymentForm.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/SendPhoneNumberCode.swift b/Sources/TDLibKit/Generated/Models/SendPhoneNumberCode.swift index a06e8521c2..9b8097ff6d 100644 --- a/Sources/TDLibKit/Generated/Models/SendPhoneNumberCode.swift +++ b/Sources/TDLibKit/Generated/Models/SendPhoneNumberCode.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/SendPhoneNumberFirebaseSms.swift b/Sources/TDLibKit/Generated/Models/SendPhoneNumberFirebaseSms.swift index c1fe27fb9d..b8a55f8b27 100644 --- a/Sources/TDLibKit/Generated/Models/SendPhoneNumberFirebaseSms.swift +++ b/Sources/TDLibKit/Generated/Models/SendPhoneNumberFirebaseSms.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/SendQuickReplyShortcutMessages.swift b/Sources/TDLibKit/Generated/Models/SendQuickReplyShortcutMessages.swift index bfa61303cc..bdf041e598 100644 --- a/Sources/TDLibKit/Generated/Models/SendQuickReplyShortcutMessages.swift +++ b/Sources/TDLibKit/Generated/Models/SendQuickReplyShortcutMessages.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/SendStory.swift b/Sources/TDLibKit/Generated/Models/SendStory.swift index df4016ba7e..0cbdae221b 100644 --- a/Sources/TDLibKit/Generated/Models/SendStory.swift +++ b/Sources/TDLibKit/Generated/Models/SendStory.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation @@ -32,7 +32,7 @@ public struct SendStory: Codable, Equatable, Hashable { public let fromStoryFullId: StoryFullId? /// Pass true to keep the story accessible after expiration - public let isPinned: Bool? + public let isPostedToChatPage: Bool? /// The privacy settings for the story; ignored for stories sent to supergroup and channel chats public let privacySettings: StoryPrivacySettings? @@ -48,7 +48,7 @@ public struct SendStory: Codable, Equatable, Hashable { chatId: Int64?, content: InputStoryContent?, fromStoryFullId: StoryFullId?, - isPinned: Bool?, + isPostedToChatPage: Bool?, privacySettings: StoryPrivacySettings?, protectContent: Bool? ) { @@ -58,7 +58,7 @@ public struct SendStory: Codable, Equatable, Hashable { self.chatId = chatId self.content = content self.fromStoryFullId = fromStoryFullId - self.isPinned = isPinned + self.isPostedToChatPage = isPostedToChatPage self.privacySettings = privacySettings self.protectContent = protectContent } diff --git a/Sources/TDLibKit/Generated/Models/SendWebAppCustomRequest.swift b/Sources/TDLibKit/Generated/Models/SendWebAppCustomRequest.swift index f98d769118..6214e64e81 100644 --- a/Sources/TDLibKit/Generated/Models/SendWebAppCustomRequest.swift +++ b/Sources/TDLibKit/Generated/Models/SendWebAppCustomRequest.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/SendWebAppData.swift b/Sources/TDLibKit/Generated/Models/SendWebAppData.swift index b218595eb6..021a705f01 100644 --- a/Sources/TDLibKit/Generated/Models/SendWebAppData.swift +++ b/Sources/TDLibKit/Generated/Models/SendWebAppData.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/SentWebAppMessage.swift b/Sources/TDLibKit/Generated/Models/SentWebAppMessage.swift index 49930b7910..8bbb1e65ae 100644 --- a/Sources/TDLibKit/Generated/Models/SentWebAppMessage.swift +++ b/Sources/TDLibKit/Generated/Models/SentWebAppMessage.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/Session.swift b/Sources/TDLibKit/Generated/Models/Session.swift index cf0c923635..3689fa3a0d 100644 --- a/Sources/TDLibKit/Generated/Models/Session.swift +++ b/Sources/TDLibKit/Generated/Models/Session.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/SessionType.swift b/Sources/TDLibKit/Generated/Models/SessionType.swift index 12db3deb65..42449cde2d 100644 --- a/Sources/TDLibKit/Generated/Models/SessionType.swift +++ b/Sources/TDLibKit/Generated/Models/SessionType.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/Sessions.swift b/Sources/TDLibKit/Generated/Models/Sessions.swift index 8c8944bc3c..e1a01c726d 100644 --- a/Sources/TDLibKit/Generated/Models/Sessions.swift +++ b/Sources/TDLibKit/Generated/Models/Sessions.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/SetAccentColor.swift b/Sources/TDLibKit/Generated/Models/SetAccentColor.swift index 7c81e5c20a..8f3e84a8b8 100644 --- a/Sources/TDLibKit/Generated/Models/SetAccentColor.swift +++ b/Sources/TDLibKit/Generated/Models/SetAccentColor.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/SetAccountTtl.swift b/Sources/TDLibKit/Generated/Models/SetAccountTtl.swift index 465f352f7c..c8ad7d2876 100644 --- a/Sources/TDLibKit/Generated/Models/SetAccountTtl.swift +++ b/Sources/TDLibKit/Generated/Models/SetAccountTtl.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/SetAlarm.swift b/Sources/TDLibKit/Generated/Models/SetAlarm.swift index 260815bc95..5b89258a2c 100644 --- a/Sources/TDLibKit/Generated/Models/SetAlarm.swift +++ b/Sources/TDLibKit/Generated/Models/SetAlarm.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/SetArchiveChatListSettings.swift b/Sources/TDLibKit/Generated/Models/SetArchiveChatListSettings.swift index 6ab1b10e31..8c32084e05 100644 --- a/Sources/TDLibKit/Generated/Models/SetArchiveChatListSettings.swift +++ b/Sources/TDLibKit/Generated/Models/SetArchiveChatListSettings.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/SetAuthenticationEmailAddress.swift b/Sources/TDLibKit/Generated/Models/SetAuthenticationEmailAddress.swift index 861155ba25..6d625ab172 100644 --- a/Sources/TDLibKit/Generated/Models/SetAuthenticationEmailAddress.swift +++ b/Sources/TDLibKit/Generated/Models/SetAuthenticationEmailAddress.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/SetAuthenticationPhoneNumber.swift b/Sources/TDLibKit/Generated/Models/SetAuthenticationPhoneNumber.swift index f5775ae584..1cd9561c2e 100644 --- a/Sources/TDLibKit/Generated/Models/SetAuthenticationPhoneNumber.swift +++ b/Sources/TDLibKit/Generated/Models/SetAuthenticationPhoneNumber.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/SetAutoDownloadSettings.swift b/Sources/TDLibKit/Generated/Models/SetAutoDownloadSettings.swift index 4f9a990d13..169487b426 100644 --- a/Sources/TDLibKit/Generated/Models/SetAutoDownloadSettings.swift +++ b/Sources/TDLibKit/Generated/Models/SetAutoDownloadSettings.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/SetAutosaveSettings.swift b/Sources/TDLibKit/Generated/Models/SetAutosaveSettings.swift index bc83da32f9..65eea57b78 100644 --- a/Sources/TDLibKit/Generated/Models/SetAutosaveSettings.swift +++ b/Sources/TDLibKit/Generated/Models/SetAutosaveSettings.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/SetBio.swift b/Sources/TDLibKit/Generated/Models/SetBio.swift index 13f3ac2832..f3830800a3 100644 --- a/Sources/TDLibKit/Generated/Models/SetBio.swift +++ b/Sources/TDLibKit/Generated/Models/SetBio.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/SetBirthdate.swift b/Sources/TDLibKit/Generated/Models/SetBirthdate.swift index 8a3de22198..62bfffdf9d 100644 --- a/Sources/TDLibKit/Generated/Models/SetBirthdate.swift +++ b/Sources/TDLibKit/Generated/Models/SetBirthdate.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/SetBotInfoDescription.swift b/Sources/TDLibKit/Generated/Models/SetBotInfoDescription.swift index edebb65ba4..032ce1b3ba 100644 --- a/Sources/TDLibKit/Generated/Models/SetBotInfoDescription.swift +++ b/Sources/TDLibKit/Generated/Models/SetBotInfoDescription.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/SetBotInfoShortDescription.swift b/Sources/TDLibKit/Generated/Models/SetBotInfoShortDescription.swift index c5468bd2dd..af21771492 100644 --- a/Sources/TDLibKit/Generated/Models/SetBotInfoShortDescription.swift +++ b/Sources/TDLibKit/Generated/Models/SetBotInfoShortDescription.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/SetBotName.swift b/Sources/TDLibKit/Generated/Models/SetBotName.swift index 5e53fac7d6..7a78a2bf7e 100644 --- a/Sources/TDLibKit/Generated/Models/SetBotName.swift +++ b/Sources/TDLibKit/Generated/Models/SetBotName.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/SetBotProfilePhoto.swift b/Sources/TDLibKit/Generated/Models/SetBotProfilePhoto.swift index 99d11aa22c..80bbb26ba2 100644 --- a/Sources/TDLibKit/Generated/Models/SetBotProfilePhoto.swift +++ b/Sources/TDLibKit/Generated/Models/SetBotProfilePhoto.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/SetBotUpdatesStatus.swift b/Sources/TDLibKit/Generated/Models/SetBotUpdatesStatus.swift index 8ac4fd2ad9..f57b3792f1 100644 --- a/Sources/TDLibKit/Generated/Models/SetBotUpdatesStatus.swift +++ b/Sources/TDLibKit/Generated/Models/SetBotUpdatesStatus.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/SetBusinessAwayMessageSettings.swift b/Sources/TDLibKit/Generated/Models/SetBusinessAwayMessageSettings.swift index 5d955d3958..e6a99f8199 100644 --- a/Sources/TDLibKit/Generated/Models/SetBusinessAwayMessageSettings.swift +++ b/Sources/TDLibKit/Generated/Models/SetBusinessAwayMessageSettings.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/SetBusinessConnectedBot.swift b/Sources/TDLibKit/Generated/Models/SetBusinessConnectedBot.swift index dc9275df6e..4d1f08a214 100644 --- a/Sources/TDLibKit/Generated/Models/SetBusinessConnectedBot.swift +++ b/Sources/TDLibKit/Generated/Models/SetBusinessConnectedBot.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/SetBusinessGreetingMessageSettings.swift b/Sources/TDLibKit/Generated/Models/SetBusinessGreetingMessageSettings.swift index be3d6c44b1..2c535b2ddf 100644 --- a/Sources/TDLibKit/Generated/Models/SetBusinessGreetingMessageSettings.swift +++ b/Sources/TDLibKit/Generated/Models/SetBusinessGreetingMessageSettings.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/SetBusinessLocation.swift b/Sources/TDLibKit/Generated/Models/SetBusinessLocation.swift index 0391422627..af327f3065 100644 --- a/Sources/TDLibKit/Generated/Models/SetBusinessLocation.swift +++ b/Sources/TDLibKit/Generated/Models/SetBusinessLocation.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/SetBusinessOpeningHours.swift b/Sources/TDLibKit/Generated/Models/SetBusinessOpeningHours.swift index b5b2f535b7..b6751c0e5e 100644 --- a/Sources/TDLibKit/Generated/Models/SetBusinessOpeningHours.swift +++ b/Sources/TDLibKit/Generated/Models/SetBusinessOpeningHours.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/SetBusinessStartPage.swift b/Sources/TDLibKit/Generated/Models/SetBusinessStartPage.swift index 8b34b84518..852ef0348a 100644 --- a/Sources/TDLibKit/Generated/Models/SetBusinessStartPage.swift +++ b/Sources/TDLibKit/Generated/Models/SetBusinessStartPage.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/SetChatAccentColor.swift b/Sources/TDLibKit/Generated/Models/SetChatAccentColor.swift index 06b0ec8aa1..4d21b78ad9 100644 --- a/Sources/TDLibKit/Generated/Models/SetChatAccentColor.swift +++ b/Sources/TDLibKit/Generated/Models/SetChatAccentColor.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/SetChatActiveStoriesList.swift b/Sources/TDLibKit/Generated/Models/SetChatActiveStoriesList.swift index d96c1e26a6..f1f184b5cc 100644 --- a/Sources/TDLibKit/Generated/Models/SetChatActiveStoriesList.swift +++ b/Sources/TDLibKit/Generated/Models/SetChatActiveStoriesList.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/SetChatAvailableReactions.swift b/Sources/TDLibKit/Generated/Models/SetChatAvailableReactions.swift index 135e09fdaa..abbfdad8d2 100644 --- a/Sources/TDLibKit/Generated/Models/SetChatAvailableReactions.swift +++ b/Sources/TDLibKit/Generated/Models/SetChatAvailableReactions.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/SetChatBackground.swift b/Sources/TDLibKit/Generated/Models/SetChatBackground.swift index bea7d5bbd7..dff8c5ccac 100644 --- a/Sources/TDLibKit/Generated/Models/SetChatBackground.swift +++ b/Sources/TDLibKit/Generated/Models/SetChatBackground.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation @@ -25,7 +25,7 @@ public struct SetChatBackground: Codable, Equatable, Hashable { /// Pass true to set background only for self; pass false to set background for all chat users. Always false for backgrounds set in boosted chats. Background can be set for both users only by Telegram Premium users and if set background isn't of the type inputBackgroundPrevious public let onlyForSelf: Bool? - /// Background type; pass null to use default background type for the chosen background; backgroundTypeChatTheme isn't supported for private and secret chats.//-Use chatBoostLevelFeatures.chat_theme_background_count and chatBoostLevelFeatures.can_set_custom_background to check whether the background type can be set in the boosted chat + /// Background type; pass null to use default background type for the chosen background; backgroundTypeChatTheme isn't supported for private and secret chats. Use chatBoostLevelFeatures.chat_theme_background_count and chatBoostLevelFeatures.can_set_custom_background to check whether the background type can be set in the boosted chat public let type: BackgroundType? diff --git a/Sources/TDLibKit/Generated/Models/SetChatClientData.swift b/Sources/TDLibKit/Generated/Models/SetChatClientData.swift index 7d603bc3ae..e980ea25a7 100644 --- a/Sources/TDLibKit/Generated/Models/SetChatClientData.swift +++ b/Sources/TDLibKit/Generated/Models/SetChatClientData.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/SetChatDescription.swift b/Sources/TDLibKit/Generated/Models/SetChatDescription.swift index 7aa0412ac8..32464a4474 100644 --- a/Sources/TDLibKit/Generated/Models/SetChatDescription.swift +++ b/Sources/TDLibKit/Generated/Models/SetChatDescription.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/SetChatDiscussionGroup.swift b/Sources/TDLibKit/Generated/Models/SetChatDiscussionGroup.swift index 4994d1ef06..0eed7fdee1 100644 --- a/Sources/TDLibKit/Generated/Models/SetChatDiscussionGroup.swift +++ b/Sources/TDLibKit/Generated/Models/SetChatDiscussionGroup.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation @@ -16,7 +16,7 @@ public struct SetChatDiscussionGroup: Codable, Equatable, Hashable { /// Identifier of the channel chat. Pass 0 to remove a link from the supergroup passed in the second argument to a linked channel chat (requires can_pin_messages member right in the supergroup) public let chatId: Int64? - /// Identifier of a new channel's discussion group. Use 0 to remove the discussion group. Use the method getSuitableDiscussionChats to find all suitable groups.//-Basic group chats must be first upgraded to supergroup chats. If new chat members don't have access to old messages in the supergroup, then toggleSupergroupIsAllHistoryAvailable must be used first to change that + /// Identifier of a new channel's discussion group. Use 0 to remove the discussion group. Use the method getSuitableDiscussionChats to find all suitable groups. Basic group chats must be first upgraded to supergroup chats. If new chat members don't have access to old messages in the supergroup, then toggleSupergroupIsAllHistoryAvailable must be used first to change that public let discussionChatId: Int64? diff --git a/Sources/TDLibKit/Generated/Models/SetChatDraftMessage.swift b/Sources/TDLibKit/Generated/Models/SetChatDraftMessage.swift index 68580c40e7..5179358c5c 100644 --- a/Sources/TDLibKit/Generated/Models/SetChatDraftMessage.swift +++ b/Sources/TDLibKit/Generated/Models/SetChatDraftMessage.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/SetChatEmojiStatus.swift b/Sources/TDLibKit/Generated/Models/SetChatEmojiStatus.swift index f3bb724286..1537928831 100644 --- a/Sources/TDLibKit/Generated/Models/SetChatEmojiStatus.swift +++ b/Sources/TDLibKit/Generated/Models/SetChatEmojiStatus.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/SetChatLocation.swift b/Sources/TDLibKit/Generated/Models/SetChatLocation.swift index ac7813fedb..abe9e9fcc9 100644 --- a/Sources/TDLibKit/Generated/Models/SetChatLocation.swift +++ b/Sources/TDLibKit/Generated/Models/SetChatLocation.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/SetChatMemberStatus.swift b/Sources/TDLibKit/Generated/Models/SetChatMemberStatus.swift index a5e686f140..33deaa7517 100644 --- a/Sources/TDLibKit/Generated/Models/SetChatMemberStatus.swift +++ b/Sources/TDLibKit/Generated/Models/SetChatMemberStatus.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/SetChatMessageAutoDeleteTime.swift b/Sources/TDLibKit/Generated/Models/SetChatMessageAutoDeleteTime.swift index 9024a9577f..367984f2bb 100644 --- a/Sources/TDLibKit/Generated/Models/SetChatMessageAutoDeleteTime.swift +++ b/Sources/TDLibKit/Generated/Models/SetChatMessageAutoDeleteTime.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/SetChatMessageSender.swift b/Sources/TDLibKit/Generated/Models/SetChatMessageSender.swift index 25f7e7a2a9..183726ba64 100644 --- a/Sources/TDLibKit/Generated/Models/SetChatMessageSender.swift +++ b/Sources/TDLibKit/Generated/Models/SetChatMessageSender.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/SetChatNotificationSettings.swift b/Sources/TDLibKit/Generated/Models/SetChatNotificationSettings.swift index fe8d7c0624..a882c001d5 100644 --- a/Sources/TDLibKit/Generated/Models/SetChatNotificationSettings.swift +++ b/Sources/TDLibKit/Generated/Models/SetChatNotificationSettings.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/SetChatPermissions.swift b/Sources/TDLibKit/Generated/Models/SetChatPermissions.swift index 24e3093209..6293c5a14f 100644 --- a/Sources/TDLibKit/Generated/Models/SetChatPermissions.swift +++ b/Sources/TDLibKit/Generated/Models/SetChatPermissions.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/SetChatPhoto.swift b/Sources/TDLibKit/Generated/Models/SetChatPhoto.swift index e988206da5..8f08eb312a 100644 --- a/Sources/TDLibKit/Generated/Models/SetChatPhoto.swift +++ b/Sources/TDLibKit/Generated/Models/SetChatPhoto.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/SetChatPinnedStories.swift b/Sources/TDLibKit/Generated/Models/SetChatPinnedStories.swift new file mode 100644 index 0000000000..7381781f50 --- /dev/null +++ b/Sources/TDLibKit/Generated/Models/SetChatPinnedStories.swift @@ -0,0 +1,31 @@ +// +// SetChatPinnedStories.swift +// tl2swift +// +// Generated automatically. Any changes will be lost! +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b +// + +import Foundation + + +/// Changes the list of pinned stories on a chat page; requires can_edit_stories right in the chat +public struct SetChatPinnedStories: Codable, Equatable, Hashable { + + /// Identifier of the chat that posted the stories + public let chatId: Int64? + + /// New list of pinned stories. All stories must be posted to the chat page first. There can be up to getOption("pinned_story_count_max") pinned stories on a chat page + public let storyIds: [Int]? + + + public init( + chatId: Int64?, + storyIds: [Int]? + ) { + self.chatId = chatId + self.storyIds = storyIds + } +} + diff --git a/Sources/TDLibKit/Generated/Models/SetChatProfileAccentColor.swift b/Sources/TDLibKit/Generated/Models/SetChatProfileAccentColor.swift index 7d663a0de9..86b3e68d63 100644 --- a/Sources/TDLibKit/Generated/Models/SetChatProfileAccentColor.swift +++ b/Sources/TDLibKit/Generated/Models/SetChatProfileAccentColor.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation @@ -16,7 +16,7 @@ public struct SetChatProfileAccentColor: Codable, Equatable, Hashable { /// Chat identifier public let chatId: Int64? - /// Identifier of the accent color to use for profile; pass -1 if none. The chat must have at least profileAccentColor.min_supergroup_chat_boost_level for supergroups//-or profileAccentColor.min_channel_chat_boost_level for channels boost level to pass the corresponding color + /// Identifier of the accent color to use for profile; pass -1 if none. The chat must have at least profileAccentColor.min_supergroup_chat_boost_level for supergroups or profileAccentColor.min_channel_chat_boost_level for channels boost level to pass the corresponding color public let profileAccentColorId: Int? /// 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 diff --git a/Sources/TDLibKit/Generated/Models/SetChatSlowModeDelay.swift b/Sources/TDLibKit/Generated/Models/SetChatSlowModeDelay.swift index 95a5029b1a..ae46394df5 100644 --- a/Sources/TDLibKit/Generated/Models/SetChatSlowModeDelay.swift +++ b/Sources/TDLibKit/Generated/Models/SetChatSlowModeDelay.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/SetChatTheme.swift b/Sources/TDLibKit/Generated/Models/SetChatTheme.swift index 6fcc379c30..2e8c4375f9 100644 --- a/Sources/TDLibKit/Generated/Models/SetChatTheme.swift +++ b/Sources/TDLibKit/Generated/Models/SetChatTheme.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/SetChatTitle.swift b/Sources/TDLibKit/Generated/Models/SetChatTitle.swift index 439410f5b3..fa37ae9b07 100644 --- a/Sources/TDLibKit/Generated/Models/SetChatTitle.swift +++ b/Sources/TDLibKit/Generated/Models/SetChatTitle.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/SetCloseFriends.swift b/Sources/TDLibKit/Generated/Models/SetCloseFriends.swift index de29e22784..ec3d64c802 100644 --- a/Sources/TDLibKit/Generated/Models/SetCloseFriends.swift +++ b/Sources/TDLibKit/Generated/Models/SetCloseFriends.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/SetCommands.swift b/Sources/TDLibKit/Generated/Models/SetCommands.swift index 0177865040..aa6785258f 100644 --- a/Sources/TDLibKit/Generated/Models/SetCommands.swift +++ b/Sources/TDLibKit/Generated/Models/SetCommands.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/SetCustomEmojiStickerSetThumbnail.swift b/Sources/TDLibKit/Generated/Models/SetCustomEmojiStickerSetThumbnail.swift index 03edb1502f..3ed1f60df9 100644 --- a/Sources/TDLibKit/Generated/Models/SetCustomEmojiStickerSetThumbnail.swift +++ b/Sources/TDLibKit/Generated/Models/SetCustomEmojiStickerSetThumbnail.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/SetCustomLanguagePack.swift b/Sources/TDLibKit/Generated/Models/SetCustomLanguagePack.swift index 2c8c9ae8c7..dbda9d2f7d 100644 --- a/Sources/TDLibKit/Generated/Models/SetCustomLanguagePack.swift +++ b/Sources/TDLibKit/Generated/Models/SetCustomLanguagePack.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/SetCustomLanguagePackString.swift b/Sources/TDLibKit/Generated/Models/SetCustomLanguagePackString.swift index c5de0798d7..3920483b40 100644 --- a/Sources/TDLibKit/Generated/Models/SetCustomLanguagePackString.swift +++ b/Sources/TDLibKit/Generated/Models/SetCustomLanguagePackString.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/SetDatabaseEncryptionKey.swift b/Sources/TDLibKit/Generated/Models/SetDatabaseEncryptionKey.swift index 81b606a29c..91184f56ea 100644 --- a/Sources/TDLibKit/Generated/Models/SetDatabaseEncryptionKey.swift +++ b/Sources/TDLibKit/Generated/Models/SetDatabaseEncryptionKey.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/SetDefaultBackground.swift b/Sources/TDLibKit/Generated/Models/SetDefaultBackground.swift index 2236baf996..6bf45cd0a2 100644 --- a/Sources/TDLibKit/Generated/Models/SetDefaultBackground.swift +++ b/Sources/TDLibKit/Generated/Models/SetDefaultBackground.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/SetDefaultChannelAdministratorRights.swift b/Sources/TDLibKit/Generated/Models/SetDefaultChannelAdministratorRights.swift index 5498373d9b..ffc958860a 100644 --- a/Sources/TDLibKit/Generated/Models/SetDefaultChannelAdministratorRights.swift +++ b/Sources/TDLibKit/Generated/Models/SetDefaultChannelAdministratorRights.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/SetDefaultGroupAdministratorRights.swift b/Sources/TDLibKit/Generated/Models/SetDefaultGroupAdministratorRights.swift index be6706c504..f07c5b6d4e 100644 --- a/Sources/TDLibKit/Generated/Models/SetDefaultGroupAdministratorRights.swift +++ b/Sources/TDLibKit/Generated/Models/SetDefaultGroupAdministratorRights.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/SetDefaultMessageAutoDeleteTime.swift b/Sources/TDLibKit/Generated/Models/SetDefaultMessageAutoDeleteTime.swift index 01715a3fa6..e80a5dfce9 100644 --- a/Sources/TDLibKit/Generated/Models/SetDefaultMessageAutoDeleteTime.swift +++ b/Sources/TDLibKit/Generated/Models/SetDefaultMessageAutoDeleteTime.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/SetDefaultReactionType.swift b/Sources/TDLibKit/Generated/Models/SetDefaultReactionType.swift index 5dbfdaa508..245dfb0b96 100644 --- a/Sources/TDLibKit/Generated/Models/SetDefaultReactionType.swift +++ b/Sources/TDLibKit/Generated/Models/SetDefaultReactionType.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/SetEmojiStatus.swift b/Sources/TDLibKit/Generated/Models/SetEmojiStatus.swift index 062700e0b6..823519805f 100644 --- a/Sources/TDLibKit/Generated/Models/SetEmojiStatus.swift +++ b/Sources/TDLibKit/Generated/Models/SetEmojiStatus.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/SetFileGenerationProgress.swift b/Sources/TDLibKit/Generated/Models/SetFileGenerationProgress.swift index cb0a676b4c..1bd38113f2 100644 --- a/Sources/TDLibKit/Generated/Models/SetFileGenerationProgress.swift +++ b/Sources/TDLibKit/Generated/Models/SetFileGenerationProgress.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/SetForumTopicNotificationSettings.swift b/Sources/TDLibKit/Generated/Models/SetForumTopicNotificationSettings.swift index 2ed1fddc52..c78fd9ef17 100644 --- a/Sources/TDLibKit/Generated/Models/SetForumTopicNotificationSettings.swift +++ b/Sources/TDLibKit/Generated/Models/SetForumTopicNotificationSettings.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/SetGameScore.swift b/Sources/TDLibKit/Generated/Models/SetGameScore.swift index e1f18b80e7..1dfdc08d17 100644 --- a/Sources/TDLibKit/Generated/Models/SetGameScore.swift +++ b/Sources/TDLibKit/Generated/Models/SetGameScore.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/SetGroupCallParticipantIsSpeaking.swift b/Sources/TDLibKit/Generated/Models/SetGroupCallParticipantIsSpeaking.swift index afc9c766dd..ea8394bcab 100644 --- a/Sources/TDLibKit/Generated/Models/SetGroupCallParticipantIsSpeaking.swift +++ b/Sources/TDLibKit/Generated/Models/SetGroupCallParticipantIsSpeaking.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/SetGroupCallParticipantVolumeLevel.swift b/Sources/TDLibKit/Generated/Models/SetGroupCallParticipantVolumeLevel.swift index afe8083d49..6b37635a67 100644 --- a/Sources/TDLibKit/Generated/Models/SetGroupCallParticipantVolumeLevel.swift +++ b/Sources/TDLibKit/Generated/Models/SetGroupCallParticipantVolumeLevel.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/SetGroupCallTitle.swift b/Sources/TDLibKit/Generated/Models/SetGroupCallTitle.swift index 3adb0e9ac0..07d3141b98 100644 --- a/Sources/TDLibKit/Generated/Models/SetGroupCallTitle.swift +++ b/Sources/TDLibKit/Generated/Models/SetGroupCallTitle.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/SetInactiveSessionTtl.swift b/Sources/TDLibKit/Generated/Models/SetInactiveSessionTtl.swift index 89d4c6d1d0..24fe47ea56 100644 --- a/Sources/TDLibKit/Generated/Models/SetInactiveSessionTtl.swift +++ b/Sources/TDLibKit/Generated/Models/SetInactiveSessionTtl.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/SetInlineGameScore.swift b/Sources/TDLibKit/Generated/Models/SetInlineGameScore.swift index 99ab2ec553..debef3b168 100644 --- a/Sources/TDLibKit/Generated/Models/SetInlineGameScore.swift +++ b/Sources/TDLibKit/Generated/Models/SetInlineGameScore.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/SetLocation.swift b/Sources/TDLibKit/Generated/Models/SetLocation.swift index 6657c48ac4..2bd90b927e 100644 --- a/Sources/TDLibKit/Generated/Models/SetLocation.swift +++ b/Sources/TDLibKit/Generated/Models/SetLocation.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/SetLogStream.swift b/Sources/TDLibKit/Generated/Models/SetLogStream.swift index 8516368513..d284a8228f 100644 --- a/Sources/TDLibKit/Generated/Models/SetLogStream.swift +++ b/Sources/TDLibKit/Generated/Models/SetLogStream.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/SetLogTagVerbosityLevel.swift b/Sources/TDLibKit/Generated/Models/SetLogTagVerbosityLevel.swift index a0b8a66bea..bc23137b49 100644 --- a/Sources/TDLibKit/Generated/Models/SetLogTagVerbosityLevel.swift +++ b/Sources/TDLibKit/Generated/Models/SetLogTagVerbosityLevel.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/SetLogVerbosityLevel.swift b/Sources/TDLibKit/Generated/Models/SetLogVerbosityLevel.swift index 4f5bb83afa..0eabb17a57 100644 --- a/Sources/TDLibKit/Generated/Models/SetLogVerbosityLevel.swift +++ b/Sources/TDLibKit/Generated/Models/SetLogVerbosityLevel.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation @@ -13,7 +13,7 @@ import Foundation /// Sets the verbosity level of the internal logging of TDLib. Can be called synchronously public struct SetLogVerbosityLevel: Codable, Equatable, Hashable { - /// New value of the verbosity level for logging. Value 0 corresponds to fatal errors, value 1 corresponds to errors, value 2 corresponds to warnings and debug warnings,//-value 3 corresponds to informational, value 4 corresponds to debug, value 5 corresponds to verbose debug, value greater than 5 and up to 1023 can be used to enable even more logging + /// New value of the verbosity level for logging. Value 0 corresponds to fatal errors, value 1 corresponds to errors, value 2 corresponds to warnings and debug warnings, value 3 corresponds to informational, value 4 corresponds to debug, value 5 corresponds to verbose debug, value greater than 5 and up to 1023 can be used to enable even more logging public let newVerbosityLevel: Int? diff --git a/Sources/TDLibKit/Generated/Models/SetLoginEmailAddress.swift b/Sources/TDLibKit/Generated/Models/SetLoginEmailAddress.swift index 90899c2845..cc5ed8d121 100644 --- a/Sources/TDLibKit/Generated/Models/SetLoginEmailAddress.swift +++ b/Sources/TDLibKit/Generated/Models/SetLoginEmailAddress.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/SetMenuButton.swift b/Sources/TDLibKit/Generated/Models/SetMenuButton.swift index 785f8a0412..77c673120c 100644 --- a/Sources/TDLibKit/Generated/Models/SetMenuButton.swift +++ b/Sources/TDLibKit/Generated/Models/SetMenuButton.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/SetMessageReactions.swift b/Sources/TDLibKit/Generated/Models/SetMessageReactions.swift index 34eeda6b37..7d1ae8dbf8 100644 --- a/Sources/TDLibKit/Generated/Models/SetMessageReactions.swift +++ b/Sources/TDLibKit/Generated/Models/SetMessageReactions.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/SetMessageSenderBlockList.swift b/Sources/TDLibKit/Generated/Models/SetMessageSenderBlockList.swift index 7709543316..1a35cf9529 100644 --- a/Sources/TDLibKit/Generated/Models/SetMessageSenderBlockList.swift +++ b/Sources/TDLibKit/Generated/Models/SetMessageSenderBlockList.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/SetName.swift b/Sources/TDLibKit/Generated/Models/SetName.swift index 02b94fe9e1..874aa5dbfa 100644 --- a/Sources/TDLibKit/Generated/Models/SetName.swift +++ b/Sources/TDLibKit/Generated/Models/SetName.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/SetNetworkType.swift b/Sources/TDLibKit/Generated/Models/SetNetworkType.swift index 3a8b02cd03..6022943339 100644 --- a/Sources/TDLibKit/Generated/Models/SetNetworkType.swift +++ b/Sources/TDLibKit/Generated/Models/SetNetworkType.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/SetNewChatPrivacySettings.swift b/Sources/TDLibKit/Generated/Models/SetNewChatPrivacySettings.swift index 0aaa316842..afbcdf80ba 100644 --- a/Sources/TDLibKit/Generated/Models/SetNewChatPrivacySettings.swift +++ b/Sources/TDLibKit/Generated/Models/SetNewChatPrivacySettings.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/SetOption.swift b/Sources/TDLibKit/Generated/Models/SetOption.swift index 1569f3abc2..c10eb92f90 100644 --- a/Sources/TDLibKit/Generated/Models/SetOption.swift +++ b/Sources/TDLibKit/Generated/Models/SetOption.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/SetPassportElement.swift b/Sources/TDLibKit/Generated/Models/SetPassportElement.swift index 2f25b1f90f..69d2c8b266 100644 --- a/Sources/TDLibKit/Generated/Models/SetPassportElement.swift +++ b/Sources/TDLibKit/Generated/Models/SetPassportElement.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/SetPassportElementErrors.swift b/Sources/TDLibKit/Generated/Models/SetPassportElementErrors.swift index a2e8e46be0..c1d772d5ab 100644 --- a/Sources/TDLibKit/Generated/Models/SetPassportElementErrors.swift +++ b/Sources/TDLibKit/Generated/Models/SetPassportElementErrors.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/SetPassword.swift b/Sources/TDLibKit/Generated/Models/SetPassword.swift index 3d14ead3a4..489a2a74a7 100644 --- a/Sources/TDLibKit/Generated/Models/SetPassword.swift +++ b/Sources/TDLibKit/Generated/Models/SetPassword.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/SetPersonalChat.swift b/Sources/TDLibKit/Generated/Models/SetPersonalChat.swift index 9adb8da389..7da38bfecd 100644 --- a/Sources/TDLibKit/Generated/Models/SetPersonalChat.swift +++ b/Sources/TDLibKit/Generated/Models/SetPersonalChat.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/SetPinnedChats.swift b/Sources/TDLibKit/Generated/Models/SetPinnedChats.swift index a547440a6c..8f6288f603 100644 --- a/Sources/TDLibKit/Generated/Models/SetPinnedChats.swift +++ b/Sources/TDLibKit/Generated/Models/SetPinnedChats.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/SetPinnedForumTopics.swift b/Sources/TDLibKit/Generated/Models/SetPinnedForumTopics.swift index 1f6bff124f..cfd27b1920 100644 --- a/Sources/TDLibKit/Generated/Models/SetPinnedForumTopics.swift +++ b/Sources/TDLibKit/Generated/Models/SetPinnedForumTopics.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/SetPinnedSavedMessagesTopics.swift b/Sources/TDLibKit/Generated/Models/SetPinnedSavedMessagesTopics.swift index 09426d862a..b240ba171b 100644 --- a/Sources/TDLibKit/Generated/Models/SetPinnedSavedMessagesTopics.swift +++ b/Sources/TDLibKit/Generated/Models/SetPinnedSavedMessagesTopics.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/SetPollAnswer.swift b/Sources/TDLibKit/Generated/Models/SetPollAnswer.swift index 1aa26b6be3..e52af8c28e 100644 --- a/Sources/TDLibKit/Generated/Models/SetPollAnswer.swift +++ b/Sources/TDLibKit/Generated/Models/SetPollAnswer.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/SetProfileAccentColor.swift b/Sources/TDLibKit/Generated/Models/SetProfileAccentColor.swift index c79e768c7d..60f9f79764 100644 --- a/Sources/TDLibKit/Generated/Models/SetProfileAccentColor.swift +++ b/Sources/TDLibKit/Generated/Models/SetProfileAccentColor.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/SetProfilePhoto.swift b/Sources/TDLibKit/Generated/Models/SetProfilePhoto.swift index e1555704cd..bbd7fd905a 100644 --- a/Sources/TDLibKit/Generated/Models/SetProfilePhoto.swift +++ b/Sources/TDLibKit/Generated/Models/SetProfilePhoto.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/SetQuickReplyShortcutName.swift b/Sources/TDLibKit/Generated/Models/SetQuickReplyShortcutName.swift index 51910b366c..85df4eddd6 100644 --- a/Sources/TDLibKit/Generated/Models/SetQuickReplyShortcutName.swift +++ b/Sources/TDLibKit/Generated/Models/SetQuickReplyShortcutName.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/SetReactionNotificationSettings.swift b/Sources/TDLibKit/Generated/Models/SetReactionNotificationSettings.swift new file mode 100644 index 0000000000..be11569e3f --- /dev/null +++ b/Sources/TDLibKit/Generated/Models/SetReactionNotificationSettings.swift @@ -0,0 +1,24 @@ +// +// SetReactionNotificationSettings.swift +// tl2swift +// +// Generated automatically. Any changes will be lost! +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b +// + +import Foundation + + +/// Changes notification settings for reactions +public struct SetReactionNotificationSettings: Codable, Equatable, Hashable { + + /// The new notification settings for reactions + public let notificationSettings: ReactionNotificationSettings? + + + public init(notificationSettings: ReactionNotificationSettings?) { + self.notificationSettings = notificationSettings + } +} + diff --git a/Sources/TDLibKit/Generated/Models/SetReadDatePrivacySettings.swift b/Sources/TDLibKit/Generated/Models/SetReadDatePrivacySettings.swift index 800b6fff71..b9368067b6 100644 --- a/Sources/TDLibKit/Generated/Models/SetReadDatePrivacySettings.swift +++ b/Sources/TDLibKit/Generated/Models/SetReadDatePrivacySettings.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/SetRecoveryEmailAddress.swift b/Sources/TDLibKit/Generated/Models/SetRecoveryEmailAddress.swift index 82eefd0a77..e4fc8cf270 100644 --- a/Sources/TDLibKit/Generated/Models/SetRecoveryEmailAddress.swift +++ b/Sources/TDLibKit/Generated/Models/SetRecoveryEmailAddress.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/SetSavedMessagesTagLabel.swift b/Sources/TDLibKit/Generated/Models/SetSavedMessagesTagLabel.swift index d97a70f904..3d62fa9983 100644 --- a/Sources/TDLibKit/Generated/Models/SetSavedMessagesTagLabel.swift +++ b/Sources/TDLibKit/Generated/Models/SetSavedMessagesTagLabel.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/SetScopeNotificationSettings.swift b/Sources/TDLibKit/Generated/Models/SetScopeNotificationSettings.swift index 3e5a6fbd2f..59e0ea3e2b 100644 --- a/Sources/TDLibKit/Generated/Models/SetScopeNotificationSettings.swift +++ b/Sources/TDLibKit/Generated/Models/SetScopeNotificationSettings.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/SetStickerEmojis.swift b/Sources/TDLibKit/Generated/Models/SetStickerEmojis.swift index 3fd42f2fca..7fa6b6ed66 100644 --- a/Sources/TDLibKit/Generated/Models/SetStickerEmojis.swift +++ b/Sources/TDLibKit/Generated/Models/SetStickerEmojis.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/SetStickerKeywords.swift b/Sources/TDLibKit/Generated/Models/SetStickerKeywords.swift index 22ca994aaa..d7e49b3371 100644 --- a/Sources/TDLibKit/Generated/Models/SetStickerKeywords.swift +++ b/Sources/TDLibKit/Generated/Models/SetStickerKeywords.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/SetStickerMaskPosition.swift b/Sources/TDLibKit/Generated/Models/SetStickerMaskPosition.swift index a4864f93a7..4d45419fb6 100644 --- a/Sources/TDLibKit/Generated/Models/SetStickerMaskPosition.swift +++ b/Sources/TDLibKit/Generated/Models/SetStickerMaskPosition.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/SetStickerPositionInSet.swift b/Sources/TDLibKit/Generated/Models/SetStickerPositionInSet.swift index 3f857b3d83..d0b32254c6 100644 --- a/Sources/TDLibKit/Generated/Models/SetStickerPositionInSet.swift +++ b/Sources/TDLibKit/Generated/Models/SetStickerPositionInSet.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/SetStickerSetThumbnail.swift b/Sources/TDLibKit/Generated/Models/SetStickerSetThumbnail.swift index 83b91d75c5..9242b690f9 100644 --- a/Sources/TDLibKit/Generated/Models/SetStickerSetThumbnail.swift +++ b/Sources/TDLibKit/Generated/Models/SetStickerSetThumbnail.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/SetStickerSetTitle.swift b/Sources/TDLibKit/Generated/Models/SetStickerSetTitle.swift index b1e9638fbe..012b52c9bb 100644 --- a/Sources/TDLibKit/Generated/Models/SetStickerSetTitle.swift +++ b/Sources/TDLibKit/Generated/Models/SetStickerSetTitle.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/SetStoryPrivacySettings.swift b/Sources/TDLibKit/Generated/Models/SetStoryPrivacySettings.swift index 84dfa613f7..1a135c805c 100644 --- a/Sources/TDLibKit/Generated/Models/SetStoryPrivacySettings.swift +++ b/Sources/TDLibKit/Generated/Models/SetStoryPrivacySettings.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/SetStoryReaction.swift b/Sources/TDLibKit/Generated/Models/SetStoryReaction.swift index ae5860a0f8..de53afcfff 100644 --- a/Sources/TDLibKit/Generated/Models/SetStoryReaction.swift +++ b/Sources/TDLibKit/Generated/Models/SetStoryReaction.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/SetSupergroupCustomEmojiStickerSet.swift b/Sources/TDLibKit/Generated/Models/SetSupergroupCustomEmojiStickerSet.swift index 71ad3627d1..b3fbea76aa 100644 --- a/Sources/TDLibKit/Generated/Models/SetSupergroupCustomEmojiStickerSet.swift +++ b/Sources/TDLibKit/Generated/Models/SetSupergroupCustomEmojiStickerSet.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/SetSupergroupStickerSet.swift b/Sources/TDLibKit/Generated/Models/SetSupergroupStickerSet.swift index 626ad523f7..cee58d0a82 100644 --- a/Sources/TDLibKit/Generated/Models/SetSupergroupStickerSet.swift +++ b/Sources/TDLibKit/Generated/Models/SetSupergroupStickerSet.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/SetSupergroupUnrestrictBoostCount.swift b/Sources/TDLibKit/Generated/Models/SetSupergroupUnrestrictBoostCount.swift index c781587ac3..f854eaccfb 100644 --- a/Sources/TDLibKit/Generated/Models/SetSupergroupUnrestrictBoostCount.swift +++ b/Sources/TDLibKit/Generated/Models/SetSupergroupUnrestrictBoostCount.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/SetSupergroupUsername.swift b/Sources/TDLibKit/Generated/Models/SetSupergroupUsername.swift index df245af2fc..e942cd8955 100644 --- a/Sources/TDLibKit/Generated/Models/SetSupergroupUsername.swift +++ b/Sources/TDLibKit/Generated/Models/SetSupergroupUsername.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/SetTdlibParameters.swift b/Sources/TDLibKit/Generated/Models/SetTdlibParameters.swift index 30e0e137f9..73b7e9e53f 100644 --- a/Sources/TDLibKit/Generated/Models/SetTdlibParameters.swift +++ b/Sources/TDLibKit/Generated/Models/SetTdlibParameters.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/SetUserPersonalProfilePhoto.swift b/Sources/TDLibKit/Generated/Models/SetUserPersonalProfilePhoto.swift index fb8ae174eb..bfdf533a22 100644 --- a/Sources/TDLibKit/Generated/Models/SetUserPersonalProfilePhoto.swift +++ b/Sources/TDLibKit/Generated/Models/SetUserPersonalProfilePhoto.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/SetUserPrivacySettingRules.swift b/Sources/TDLibKit/Generated/Models/SetUserPrivacySettingRules.swift index f785064bbe..6ca3072f09 100644 --- a/Sources/TDLibKit/Generated/Models/SetUserPrivacySettingRules.swift +++ b/Sources/TDLibKit/Generated/Models/SetUserPrivacySettingRules.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/SetUserSupportInfo.swift b/Sources/TDLibKit/Generated/Models/SetUserSupportInfo.swift index d19efeee4b..620d6ff40d 100644 --- a/Sources/TDLibKit/Generated/Models/SetUserSupportInfo.swift +++ b/Sources/TDLibKit/Generated/Models/SetUserSupportInfo.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/SetUsername.swift b/Sources/TDLibKit/Generated/Models/SetUsername.swift index c6e620c055..4ca06a947c 100644 --- a/Sources/TDLibKit/Generated/Models/SetUsername.swift +++ b/Sources/TDLibKit/Generated/Models/SetUsername.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/SetVideoChatDefaultParticipant.swift b/Sources/TDLibKit/Generated/Models/SetVideoChatDefaultParticipant.swift index 75aab661ce..3662d90653 100644 --- a/Sources/TDLibKit/Generated/Models/SetVideoChatDefaultParticipant.swift +++ b/Sources/TDLibKit/Generated/Models/SetVideoChatDefaultParticipant.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/ShareChatWithBot.swift b/Sources/TDLibKit/Generated/Models/ShareChatWithBot.swift index b79a23a103..93c40ff4a4 100644 --- a/Sources/TDLibKit/Generated/Models/ShareChatWithBot.swift +++ b/Sources/TDLibKit/Generated/Models/ShareChatWithBot.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation @@ -22,7 +22,7 @@ public struct ShareChatWithBot: Codable, Equatable, Hashable { /// Identifier of the message with the button public let messageId: Int64? - /// Pass true to check that the chat can be shared by the button instead of actually sharing it. Doesn't check bot_is_member and bot_administrator_rights restrictions.//-If the bot must be a member, then all chats from getGroupsInCommon and all chats, where the user can add the bot, are suitable. In the latter case the bot will be automatically added to the chat.//-If the bot must be an administrator, then all chats, where the bot already has requested rights or can be added to administrators by the user, are suitable. In the latter case the bot will be automatically granted requested rights + /// Pass true to check that the chat can be shared by the button instead of actually sharing it. Doesn't check bot_is_member and bot_administrator_rights restrictions. If the bot must be a member, then all chats from getGroupsInCommon and all chats, where the user can add the bot, are suitable. In the latter case the bot will be automatically added to the chat. If the bot must be an administrator, then all chats, where the bot already has requested rights or can be added to administrators by the user, are suitable. In the latter case the bot will be automatically granted requested rights public let onlyCheck: Bool? /// Identifier of the shared chat diff --git a/Sources/TDLibKit/Generated/Models/SharePhoneNumber.swift b/Sources/TDLibKit/Generated/Models/SharePhoneNumber.swift index 32f8862ccb..bbc7bc6430 100644 --- a/Sources/TDLibKit/Generated/Models/SharePhoneNumber.swift +++ b/Sources/TDLibKit/Generated/Models/SharePhoneNumber.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/ShareUsersWithBot.swift b/Sources/TDLibKit/Generated/Models/ShareUsersWithBot.swift index b82e9e8083..107c859b93 100644 --- a/Sources/TDLibKit/Generated/Models/ShareUsersWithBot.swift +++ b/Sources/TDLibKit/Generated/Models/ShareUsersWithBot.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/SharedChat.swift b/Sources/TDLibKit/Generated/Models/SharedChat.swift index 26248adc67..1203ab477f 100644 --- a/Sources/TDLibKit/Generated/Models/SharedChat.swift +++ b/Sources/TDLibKit/Generated/Models/SharedChat.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/SharedUser.swift b/Sources/TDLibKit/Generated/Models/SharedUser.swift index cc88342449..cae47785ee 100644 --- a/Sources/TDLibKit/Generated/Models/SharedUser.swift +++ b/Sources/TDLibKit/Generated/Models/SharedUser.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/ShippingOption.swift b/Sources/TDLibKit/Generated/Models/ShippingOption.swift index ac5e72a033..39181731a2 100644 --- a/Sources/TDLibKit/Generated/Models/ShippingOption.swift +++ b/Sources/TDLibKit/Generated/Models/ShippingOption.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/SpeechRecognitionResult.swift b/Sources/TDLibKit/Generated/Models/SpeechRecognitionResult.swift index 5d59f149e3..b78ee7fe48 100644 --- a/Sources/TDLibKit/Generated/Models/SpeechRecognitionResult.swift +++ b/Sources/TDLibKit/Generated/Models/SpeechRecognitionResult.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/SponsoredMessage.swift b/Sources/TDLibKit/Generated/Models/SponsoredMessage.swift index 7be98b44c2..a3d15efcb3 100644 --- a/Sources/TDLibKit/Generated/Models/SponsoredMessage.swift +++ b/Sources/TDLibKit/Generated/Models/SponsoredMessage.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation @@ -13,10 +13,16 @@ import Foundation /// Describes a sponsored message public struct SponsoredMessage: Codable, Equatable, Hashable { + /// Identifier of the accent color for title, button text and message background + public let accentColorId: Int + /// If non-empty, additional information about the sponsored message to be shown along with the message public let additionalInfo: String - /// If non-empty, text for the message action button + /// Identifier of a custom emoji to be shown on the message background; 0 if none + public let backgroundCustomEmojiId: TdInt64 + + /// Text for the message action button public let buttonText: String /// True, if the message can be reported to Telegram moderators through reportChatSponsoredMessage @@ -34,23 +40,32 @@ public struct SponsoredMessage: Codable, Equatable, Hashable { /// Information about the sponsor of the message public let sponsor: MessageSponsor + /// Title of the sponsored message + public let title: String + public init( + accentColorId: Int, additionalInfo: String, + backgroundCustomEmojiId: TdInt64, buttonText: String, canBeReported: Bool, content: MessageContent, isRecommended: Bool, messageId: Int64, - sponsor: MessageSponsor + sponsor: MessageSponsor, + title: String ) { + self.accentColorId = accentColorId self.additionalInfo = additionalInfo + self.backgroundCustomEmojiId = backgroundCustomEmojiId self.buttonText = buttonText self.canBeReported = canBeReported self.content = content self.isRecommended = isRecommended self.messageId = messageId self.sponsor = sponsor + self.title = title } } diff --git a/Sources/TDLibKit/Generated/Models/SponsoredMessages.swift b/Sources/TDLibKit/Generated/Models/SponsoredMessages.swift index cb3dfe29f3..8b50813fec 100644 --- a/Sources/TDLibKit/Generated/Models/SponsoredMessages.swift +++ b/Sources/TDLibKit/Generated/Models/SponsoredMessages.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/StartGroupCallRecording.swift b/Sources/TDLibKit/Generated/Models/StartGroupCallRecording.swift index 179d29e62f..a32a0b2e3c 100644 --- a/Sources/TDLibKit/Generated/Models/StartGroupCallRecording.swift +++ b/Sources/TDLibKit/Generated/Models/StartGroupCallRecording.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/StartGroupCallScreenSharing.swift b/Sources/TDLibKit/Generated/Models/StartGroupCallScreenSharing.swift index 6dcbda5888..3efaa497e8 100644 --- a/Sources/TDLibKit/Generated/Models/StartGroupCallScreenSharing.swift +++ b/Sources/TDLibKit/Generated/Models/StartGroupCallScreenSharing.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/StartScheduledGroupCall.swift b/Sources/TDLibKit/Generated/Models/StartScheduledGroupCall.swift index 62815b139d..dcb42c8a55 100644 --- a/Sources/TDLibKit/Generated/Models/StartScheduledGroupCall.swift +++ b/Sources/TDLibKit/Generated/Models/StartScheduledGroupCall.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/StatisticalGraph.swift b/Sources/TDLibKit/Generated/Models/StatisticalGraph.swift index 629ce2712f..0ba19078ec 100644 --- a/Sources/TDLibKit/Generated/Models/StatisticalGraph.swift +++ b/Sources/TDLibKit/Generated/Models/StatisticalGraph.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/StatisticalValue.swift b/Sources/TDLibKit/Generated/Models/StatisticalValue.swift index fc82527b09..0ee436e503 100644 --- a/Sources/TDLibKit/Generated/Models/StatisticalValue.swift +++ b/Sources/TDLibKit/Generated/Models/StatisticalValue.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/Sticker.swift b/Sources/TDLibKit/Generated/Models/Sticker.swift index 54e50468bd..4d3f66898e 100644 --- a/Sources/TDLibKit/Generated/Models/Sticker.swift +++ b/Sources/TDLibKit/Generated/Models/Sticker.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/StickerFormat.swift b/Sources/TDLibKit/Generated/Models/StickerFormat.swift index 42d2298135..c93bc4c3e9 100644 --- a/Sources/TDLibKit/Generated/Models/StickerFormat.swift +++ b/Sources/TDLibKit/Generated/Models/StickerFormat.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/StickerFullType.swift b/Sources/TDLibKit/Generated/Models/StickerFullType.swift index aeb214a287..0bc6c8695e 100644 --- a/Sources/TDLibKit/Generated/Models/StickerFullType.swift +++ b/Sources/TDLibKit/Generated/Models/StickerFullType.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/StickerSet.swift b/Sources/TDLibKit/Generated/Models/StickerSet.swift index 19e5ded511..1a55c3d942 100644 --- a/Sources/TDLibKit/Generated/Models/StickerSet.swift +++ b/Sources/TDLibKit/Generated/Models/StickerSet.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/StickerSetInfo.swift b/Sources/TDLibKit/Generated/Models/StickerSetInfo.swift index ba5ee24e4f..5622795650 100644 --- a/Sources/TDLibKit/Generated/Models/StickerSetInfo.swift +++ b/Sources/TDLibKit/Generated/Models/StickerSetInfo.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/StickerSets.swift b/Sources/TDLibKit/Generated/Models/StickerSets.swift index 5a0cd475c4..220c809a3a 100644 --- a/Sources/TDLibKit/Generated/Models/StickerSets.swift +++ b/Sources/TDLibKit/Generated/Models/StickerSets.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/StickerType.swift b/Sources/TDLibKit/Generated/Models/StickerType.swift index 1df90f2b2c..e822e2c578 100644 --- a/Sources/TDLibKit/Generated/Models/StickerType.swift +++ b/Sources/TDLibKit/Generated/Models/StickerType.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/Stickers.swift b/Sources/TDLibKit/Generated/Models/Stickers.swift index 345ef234d4..722806b5c8 100644 --- a/Sources/TDLibKit/Generated/Models/Stickers.swift +++ b/Sources/TDLibKit/Generated/Models/Stickers.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/StopPoll.swift b/Sources/TDLibKit/Generated/Models/StopPoll.swift index 3af3d5bf78..7474a8a4f7 100644 --- a/Sources/TDLibKit/Generated/Models/StopPoll.swift +++ b/Sources/TDLibKit/Generated/Models/StopPoll.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/StorageStatistics.swift b/Sources/TDLibKit/Generated/Models/StorageStatistics.swift index c64e3000a3..eb01ca79f0 100644 --- a/Sources/TDLibKit/Generated/Models/StorageStatistics.swift +++ b/Sources/TDLibKit/Generated/Models/StorageStatistics.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/StorageStatisticsByChat.swift b/Sources/TDLibKit/Generated/Models/StorageStatisticsByChat.swift index 5cd7886921..000b283926 100644 --- a/Sources/TDLibKit/Generated/Models/StorageStatisticsByChat.swift +++ b/Sources/TDLibKit/Generated/Models/StorageStatisticsByChat.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/StorageStatisticsByFileType.swift b/Sources/TDLibKit/Generated/Models/StorageStatisticsByFileType.swift index 9f82ef2819..2d4d1ef7f4 100644 --- a/Sources/TDLibKit/Generated/Models/StorageStatisticsByFileType.swift +++ b/Sources/TDLibKit/Generated/Models/StorageStatisticsByFileType.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/StorageStatisticsFast.swift b/Sources/TDLibKit/Generated/Models/StorageStatisticsFast.swift index 46687de4b4..ecc4647e27 100644 --- a/Sources/TDLibKit/Generated/Models/StorageStatisticsFast.swift +++ b/Sources/TDLibKit/Generated/Models/StorageStatisticsFast.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/StorePaymentPurpose.swift b/Sources/TDLibKit/Generated/Models/StorePaymentPurpose.swift index b71f00f02e..ecb245fc7c 100644 --- a/Sources/TDLibKit/Generated/Models/StorePaymentPurpose.swift +++ b/Sources/TDLibKit/Generated/Models/StorePaymentPurpose.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/Stories.swift b/Sources/TDLibKit/Generated/Models/Stories.swift index 37b73848cd..b760e9e270 100644 --- a/Sources/TDLibKit/Generated/Models/Stories.swift +++ b/Sources/TDLibKit/Generated/Models/Stories.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation @@ -13,6 +13,9 @@ import Foundation /// Represents a list of stories public struct Stories: Codable, Equatable, Hashable { + /// Identifiers of the pinned stories; returned only in getChatPostedToChatPageStories with from_story_id == 0 + public let pinnedStoryIds: [Int] + /// The list of stories public let stories: [Story] @@ -21,9 +24,11 @@ public struct Stories: Codable, Equatable, Hashable { public init( + pinnedStoryIds: [Int], stories: [Story], totalCount: Int ) { + self.pinnedStoryIds = pinnedStoryIds self.stories = stories self.totalCount = totalCount } diff --git a/Sources/TDLibKit/Generated/Models/Story.swift b/Sources/TDLibKit/Generated/Models/Story.swift index f989383280..f9b32eb1ee 100644 --- a/Sources/TDLibKit/Generated/Models/Story.swift +++ b/Sources/TDLibKit/Generated/Models/Story.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation @@ -34,8 +34,8 @@ public struct Story: Codable, Equatable, Hashable, Identifiable { /// True, if the story statistics are available through getStoryStatistics public let canGetStatistics: Bool - /// True, if the story's is_pinned value can be changed - public let canToggleIsPinned: Bool + /// True, if the story's is_posted_to_chat_page value can be changed + public let canToggleIsPostedToChatPage: Bool /// Caption of the story public let caption: FormattedText @@ -68,7 +68,7 @@ public struct Story: Codable, Equatable, Hashable, Identifiable { public let isEdited: Bool /// True, if the story is saved in the sender's profile and will be available there after expiration - public let isPinned: Bool + public let isPostedToChatPage: Bool /// True, if the story is visible only for the current user public let isVisibleOnlyForSelf: Bool @@ -94,7 +94,7 @@ public struct Story: Codable, Equatable, Hashable, Identifiable { canBeReplied: Bool, canGetInteractions: Bool, canGetStatistics: Bool, - canToggleIsPinned: Bool, + canToggleIsPostedToChatPage: Bool, caption: FormattedText, chosenReactionType: ReactionType?, content: StoryContent, @@ -105,7 +105,7 @@ public struct Story: Codable, Equatable, Hashable, Identifiable { isBeingEdited: Bool, isBeingSent: Bool, isEdited: Bool, - isPinned: Bool, + isPostedToChatPage: Bool, isVisibleOnlyForSelf: Bool, privacySettings: StoryPrivacySettings, repostInfo: StoryRepostInfo?, @@ -119,7 +119,7 @@ public struct Story: Codable, Equatable, Hashable, Identifiable { self.canBeReplied = canBeReplied self.canGetInteractions = canGetInteractions self.canGetStatistics = canGetStatistics - self.canToggleIsPinned = canToggleIsPinned + self.canToggleIsPostedToChatPage = canToggleIsPostedToChatPage self.caption = caption self.chosenReactionType = chosenReactionType self.content = content @@ -130,7 +130,7 @@ public struct Story: Codable, Equatable, Hashable, Identifiable { self.isBeingEdited = isBeingEdited self.isBeingSent = isBeingSent self.isEdited = isEdited - self.isPinned = isPinned + self.isPostedToChatPage = isPostedToChatPage self.isVisibleOnlyForSelf = isVisibleOnlyForSelf self.privacySettings = privacySettings self.repostInfo = repostInfo diff --git a/Sources/TDLibKit/Generated/Models/StoryArea.swift b/Sources/TDLibKit/Generated/Models/StoryArea.swift index 018cac8a32..0008a3a324 100644 --- a/Sources/TDLibKit/Generated/Models/StoryArea.swift +++ b/Sources/TDLibKit/Generated/Models/StoryArea.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/StoryAreaPosition.swift b/Sources/TDLibKit/Generated/Models/StoryAreaPosition.swift index 0916cc1e0f..39a3e28fc0 100644 --- a/Sources/TDLibKit/Generated/Models/StoryAreaPosition.swift +++ b/Sources/TDLibKit/Generated/Models/StoryAreaPosition.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/StoryAreaType.swift b/Sources/TDLibKit/Generated/Models/StoryAreaType.swift index 0cdc91c17c..a84baab5eb 100644 --- a/Sources/TDLibKit/Generated/Models/StoryAreaType.swift +++ b/Sources/TDLibKit/Generated/Models/StoryAreaType.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/StoryContent.swift b/Sources/TDLibKit/Generated/Models/StoryContent.swift index bb808b754e..5a8b921f95 100644 --- a/Sources/TDLibKit/Generated/Models/StoryContent.swift +++ b/Sources/TDLibKit/Generated/Models/StoryContent.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/StoryFullId.swift b/Sources/TDLibKit/Generated/Models/StoryFullId.swift index f4fa4e5459..8033934c21 100644 --- a/Sources/TDLibKit/Generated/Models/StoryFullId.swift +++ b/Sources/TDLibKit/Generated/Models/StoryFullId.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/StoryInfo.swift b/Sources/TDLibKit/Generated/Models/StoryInfo.swift index 3f59ff603b..273e9685f3 100644 --- a/Sources/TDLibKit/Generated/Models/StoryInfo.swift +++ b/Sources/TDLibKit/Generated/Models/StoryInfo.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/StoryInteraction.swift b/Sources/TDLibKit/Generated/Models/StoryInteraction.swift index b2595adca4..5c2cc29ed5 100644 --- a/Sources/TDLibKit/Generated/Models/StoryInteraction.swift +++ b/Sources/TDLibKit/Generated/Models/StoryInteraction.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/StoryInteractionInfo.swift b/Sources/TDLibKit/Generated/Models/StoryInteractionInfo.swift index 04f2021955..22dd95dbb1 100644 --- a/Sources/TDLibKit/Generated/Models/StoryInteractionInfo.swift +++ b/Sources/TDLibKit/Generated/Models/StoryInteractionInfo.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/StoryInteractionType.swift b/Sources/TDLibKit/Generated/Models/StoryInteractionType.swift index d18009970f..915c257108 100644 --- a/Sources/TDLibKit/Generated/Models/StoryInteractionType.swift +++ b/Sources/TDLibKit/Generated/Models/StoryInteractionType.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/StoryInteractions.swift b/Sources/TDLibKit/Generated/Models/StoryInteractions.swift index adb49848ba..f1477a77fe 100644 --- a/Sources/TDLibKit/Generated/Models/StoryInteractions.swift +++ b/Sources/TDLibKit/Generated/Models/StoryInteractions.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/StoryList.swift b/Sources/TDLibKit/Generated/Models/StoryList.swift index 86f40a00ca..9c0b58abff 100644 --- a/Sources/TDLibKit/Generated/Models/StoryList.swift +++ b/Sources/TDLibKit/Generated/Models/StoryList.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/StoryOrigin.swift b/Sources/TDLibKit/Generated/Models/StoryOrigin.swift index 0f6ea1e186..888d84466f 100644 --- a/Sources/TDLibKit/Generated/Models/StoryOrigin.swift +++ b/Sources/TDLibKit/Generated/Models/StoryOrigin.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/StoryPrivacySettings.swift b/Sources/TDLibKit/Generated/Models/StoryPrivacySettings.swift index e6a99f08ab..06f765db2c 100644 --- a/Sources/TDLibKit/Generated/Models/StoryPrivacySettings.swift +++ b/Sources/TDLibKit/Generated/Models/StoryPrivacySettings.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/StoryRepostInfo.swift b/Sources/TDLibKit/Generated/Models/StoryRepostInfo.swift index 3de44241f9..1d4e44fe15 100644 --- a/Sources/TDLibKit/Generated/Models/StoryRepostInfo.swift +++ b/Sources/TDLibKit/Generated/Models/StoryRepostInfo.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/StoryStatistics.swift b/Sources/TDLibKit/Generated/Models/StoryStatistics.swift index 3fe52af9c0..08aa1f187b 100644 --- a/Sources/TDLibKit/Generated/Models/StoryStatistics.swift +++ b/Sources/TDLibKit/Generated/Models/StoryStatistics.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/StoryVideo.swift b/Sources/TDLibKit/Generated/Models/StoryVideo.swift index 682f0d4f10..ba7ac9f935 100644 --- a/Sources/TDLibKit/Generated/Models/StoryVideo.swift +++ b/Sources/TDLibKit/Generated/Models/StoryVideo.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/SuggestUserProfilePhoto.swift b/Sources/TDLibKit/Generated/Models/SuggestUserProfilePhoto.swift index ebcced98ed..f741e0af78 100644 --- a/Sources/TDLibKit/Generated/Models/SuggestUserProfilePhoto.swift +++ b/Sources/TDLibKit/Generated/Models/SuggestUserProfilePhoto.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/SuggestedAction.swift b/Sources/TDLibKit/Generated/Models/SuggestedAction.swift index 852aa5470d..ef8da8afdf 100644 --- a/Sources/TDLibKit/Generated/Models/SuggestedAction.swift +++ b/Sources/TDLibKit/Generated/Models/SuggestedAction.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation @@ -46,6 +46,9 @@ public indirect enum SuggestedAction: Codable, Equatable, Hashable { /// Suggests the user to set birthdate case suggestedActionSetBirthdate + /// Suggests the user to extend their expiring Telegram Premium subscription + case suggestedActionExtendPremium(SuggestedActionExtendPremium) + private enum Kind: String, Codable { case suggestedActionEnableArchiveAndMuteNewChats @@ -59,6 +62,7 @@ public indirect enum SuggestedAction: Codable, Equatable, Hashable { case suggestedActionSubscribeToAnnualPremium case suggestedActionGiftPremiumForChristmas case suggestedActionSetBirthdate + case suggestedActionExtendPremium } public init(from decoder: Decoder) throws { @@ -89,6 +93,9 @@ public indirect enum SuggestedAction: Codable, Equatable, Hashable { self = .suggestedActionGiftPremiumForChristmas case .suggestedActionSetBirthdate: self = .suggestedActionSetBirthdate + case .suggestedActionExtendPremium: + let value = try SuggestedActionExtendPremium(from: decoder) + self = .suggestedActionExtendPremium(value) } } @@ -119,6 +126,9 @@ public indirect enum SuggestedAction: Codable, Equatable, Hashable { try container.encode(Kind.suggestedActionGiftPremiumForChristmas, forKey: .type) case .suggestedActionSetBirthdate: try container.encode(Kind.suggestedActionSetBirthdate, forKey: .type) + case .suggestedActionExtendPremium(let value): + try container.encode(Kind.suggestedActionExtendPremium, forKey: .type) + try value.encode(to: encoder) } } } @@ -147,3 +157,15 @@ public struct SuggestedActionSetPassword: Codable, Equatable, Hashable { } } +/// Suggests the user to extend their expiring Telegram Premium subscription +public struct SuggestedActionExtendPremium: Codable, Equatable, Hashable { + + /// A URL for managing Telegram Premium subscription + public let managePremiumSubscriptionUrl: String + + + public init(managePremiumSubscriptionUrl: String) { + self.managePremiumSubscriptionUrl = managePremiumSubscriptionUrl + } +} + diff --git a/Sources/TDLibKit/Generated/Models/Supergroup.swift b/Sources/TDLibKit/Generated/Models/Supergroup.swift index 2ecbc8bbc3..7a4bf376e8 100644 --- a/Sources/TDLibKit/Generated/Models/Supergroup.swift +++ b/Sources/TDLibKit/Generated/Models/Supergroup.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation @@ -61,7 +61,7 @@ public struct Supergroup: Codable, Equatable, Hashable, Identifiable { /// True, if users need to join the supergroup before they can send messages. Always true for channels and non-discussion supergroups public let joinToSendMessages: Bool - /// 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//-getChatSimilarChats, getChatsToSendStories, getCreatedPublicChats, getGroupsInCommon, getInactiveSupergroupChats, getSuitableDiscussionChats, getUserPrivacySettingRules, getVideoChatAvailableParticipants,//-searchChatsNearby, searchPublicChats, or in chatFolderInviteLinkInfo.missing_chat_ids, or for public chats in which where sent messages and posted stories from publicForwards,//-or for public chats in which where sent messages from getMessagePublicForwards response + /// 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 getChatSimilarChats, getChatsToSendStories, getCreatedPublicChats, getGroupsInCommon, getInactiveSupergroupChats, getSuitableDiscussionChats, getUserPrivacySettingRules, getVideoChatAvailableParticipants, searchChatsNearby, searchPublicChats, or in chatFolderInviteLinkInfo.missing_chat_ids, or for public chats in which where sent messages and posted stories from publicForwards, or for public chats in which where sent messages from getMessagePublicForwards response public let memberCount: Int /// If non-empty, contains a human-readable description of the reason why access to this supergroup or channel must be restricted diff --git a/Sources/TDLibKit/Generated/Models/SupergroupFullInfo.swift b/Sources/TDLibKit/Generated/Models/SupergroupFullInfo.swift index 0d50a52fa2..6889f3dbab 100644 --- a/Sources/TDLibKit/Generated/Models/SupergroupFullInfo.swift +++ b/Sources/TDLibKit/Generated/Models/SupergroupFullInfo.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation @@ -63,7 +63,7 @@ public struct SupergroupFullInfo: Codable, Equatable, Hashable { /// Primary invite link for the chat; may be null. For chat administrators with can_invite_users right only public let inviteLink: ChatInviteLink? - /// True, if new chat members will have access to old messages. In public, discussion, of forum groups and all channels, old messages are always available,//-so this option affects only private non-forum supergroups without a linked chat. The value of this field is only available to chat administrators + /// True, if new chat members will have access to old messages. In public, discussion, of forum groups and all channels, old messages are always available, so this option affects only private non-forum supergroups without a linked chat. The value of this field is only available to chat administrators public let isAllHistoryAvailable: Bool /// Chat identifier of a discussion group for the channel, or a channel, for which the supergroup is the designated discussion group; 0 if none or unknown diff --git a/Sources/TDLibKit/Generated/Models/SupergroupMembersFilter.swift b/Sources/TDLibKit/Generated/Models/SupergroupMembersFilter.swift index c364283977..841e306a05 100644 --- a/Sources/TDLibKit/Generated/Models/SupergroupMembersFilter.swift +++ b/Sources/TDLibKit/Generated/Models/SupergroupMembersFilter.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/SynchronizeLanguagePack.swift b/Sources/TDLibKit/Generated/Models/SynchronizeLanguagePack.swift index 73090cab45..5c9847802c 100644 --- a/Sources/TDLibKit/Generated/Models/SynchronizeLanguagePack.swift +++ b/Sources/TDLibKit/Generated/Models/SynchronizeLanguagePack.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/TMeUrl.swift b/Sources/TDLibKit/Generated/Models/TMeUrl.swift index 689c04953e..2689e12f24 100644 --- a/Sources/TDLibKit/Generated/Models/TMeUrl.swift +++ b/Sources/TDLibKit/Generated/Models/TMeUrl.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/TMeUrlType.swift b/Sources/TDLibKit/Generated/Models/TMeUrlType.swift index 40dd8e4c2f..3949dd1377 100644 --- a/Sources/TDLibKit/Generated/Models/TMeUrlType.swift +++ b/Sources/TDLibKit/Generated/Models/TMeUrlType.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/TMeUrls.swift b/Sources/TDLibKit/Generated/Models/TMeUrls.swift index 468472d151..c4a6a2541a 100644 --- a/Sources/TDLibKit/Generated/Models/TMeUrls.swift +++ b/Sources/TDLibKit/Generated/Models/TMeUrls.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/TargetChat.swift b/Sources/TDLibKit/Generated/Models/TargetChat.swift index 315974d63e..a5e398b0e7 100644 --- a/Sources/TDLibKit/Generated/Models/TargetChat.swift +++ b/Sources/TDLibKit/Generated/Models/TargetChat.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/TelegramPaymentPurpose.swift b/Sources/TDLibKit/Generated/Models/TelegramPaymentPurpose.swift index fbf2aa7007..9feb228cf7 100644 --- a/Sources/TDLibKit/Generated/Models/TelegramPaymentPurpose.swift +++ b/Sources/TDLibKit/Generated/Models/TelegramPaymentPurpose.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/TemporaryPasswordState.swift b/Sources/TDLibKit/Generated/Models/TemporaryPasswordState.swift index 482f92bf51..0f78fafe84 100644 --- a/Sources/TDLibKit/Generated/Models/TemporaryPasswordState.swift +++ b/Sources/TDLibKit/Generated/Models/TemporaryPasswordState.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/TerminateAllOtherSessions.swift b/Sources/TDLibKit/Generated/Models/TerminateAllOtherSessions.swift index 29a2903f3c..e0c20af3d9 100644 --- a/Sources/TDLibKit/Generated/Models/TerminateAllOtherSessions.swift +++ b/Sources/TDLibKit/Generated/Models/TerminateAllOtherSessions.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/TerminateSession.swift b/Sources/TDLibKit/Generated/Models/TerminateSession.swift index cfadf8c368..7d57d14de9 100644 --- a/Sources/TDLibKit/Generated/Models/TerminateSession.swift +++ b/Sources/TDLibKit/Generated/Models/TerminateSession.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/TermsOfService.swift b/Sources/TDLibKit/Generated/Models/TermsOfService.swift index 22ba22b6a3..dbee62a99a 100644 --- a/Sources/TDLibKit/Generated/Models/TermsOfService.swift +++ b/Sources/TDLibKit/Generated/Models/TermsOfService.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/TestBytes.swift b/Sources/TDLibKit/Generated/Models/TestBytes.swift index 93b215984f..6ced6e64cc 100644 --- a/Sources/TDLibKit/Generated/Models/TestBytes.swift +++ b/Sources/TDLibKit/Generated/Models/TestBytes.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/TestCallBytes.swift b/Sources/TDLibKit/Generated/Models/TestCallBytes.swift index 05f6aed77b..c0544e8481 100644 --- a/Sources/TDLibKit/Generated/Models/TestCallBytes.swift +++ b/Sources/TDLibKit/Generated/Models/TestCallBytes.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/TestCallEmpty.swift b/Sources/TDLibKit/Generated/Models/TestCallEmpty.swift index 23743a0dbe..6ff2c62f0e 100644 --- a/Sources/TDLibKit/Generated/Models/TestCallEmpty.swift +++ b/Sources/TDLibKit/Generated/Models/TestCallEmpty.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/TestCallString.swift b/Sources/TDLibKit/Generated/Models/TestCallString.swift index c0a4beb3ad..9bb6bcb01b 100644 --- a/Sources/TDLibKit/Generated/Models/TestCallString.swift +++ b/Sources/TDLibKit/Generated/Models/TestCallString.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/TestCallVectorInt.swift b/Sources/TDLibKit/Generated/Models/TestCallVectorInt.swift index 4f66409eba..655e81e1e9 100644 --- a/Sources/TDLibKit/Generated/Models/TestCallVectorInt.swift +++ b/Sources/TDLibKit/Generated/Models/TestCallVectorInt.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/TestCallVectorIntObject.swift b/Sources/TDLibKit/Generated/Models/TestCallVectorIntObject.swift index cbd6b8a32f..0b44e398fe 100644 --- a/Sources/TDLibKit/Generated/Models/TestCallVectorIntObject.swift +++ b/Sources/TDLibKit/Generated/Models/TestCallVectorIntObject.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/TestCallVectorString.swift b/Sources/TDLibKit/Generated/Models/TestCallVectorString.swift index a7c692e23d..8a9202cc98 100644 --- a/Sources/TDLibKit/Generated/Models/TestCallVectorString.swift +++ b/Sources/TDLibKit/Generated/Models/TestCallVectorString.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/TestCallVectorStringObject.swift b/Sources/TDLibKit/Generated/Models/TestCallVectorStringObject.swift index 2b19d7d511..400f3d6abf 100644 --- a/Sources/TDLibKit/Generated/Models/TestCallVectorStringObject.swift +++ b/Sources/TDLibKit/Generated/Models/TestCallVectorStringObject.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/TestGetDifference.swift b/Sources/TDLibKit/Generated/Models/TestGetDifference.swift index 4b27ed0d42..4410d53d71 100644 --- a/Sources/TDLibKit/Generated/Models/TestGetDifference.swift +++ b/Sources/TDLibKit/Generated/Models/TestGetDifference.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/TestInt.swift b/Sources/TDLibKit/Generated/Models/TestInt.swift index a5cbf7e528..bcd58cd815 100644 --- a/Sources/TDLibKit/Generated/Models/TestInt.swift +++ b/Sources/TDLibKit/Generated/Models/TestInt.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/TestNetwork.swift b/Sources/TDLibKit/Generated/Models/TestNetwork.swift index 48cf0a57e3..3c34741d8d 100644 --- a/Sources/TDLibKit/Generated/Models/TestNetwork.swift +++ b/Sources/TDLibKit/Generated/Models/TestNetwork.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/TestProxy.swift b/Sources/TDLibKit/Generated/Models/TestProxy.swift index f614cec466..0dde94db28 100644 --- a/Sources/TDLibKit/Generated/Models/TestProxy.swift +++ b/Sources/TDLibKit/Generated/Models/TestProxy.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/TestReturnError.swift b/Sources/TDLibKit/Generated/Models/TestReturnError.swift index f2ba6197ab..82ff016aa2 100644 --- a/Sources/TDLibKit/Generated/Models/TestReturnError.swift +++ b/Sources/TDLibKit/Generated/Models/TestReturnError.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/TestSquareInt.swift b/Sources/TDLibKit/Generated/Models/TestSquareInt.swift index 94bc1d2a0e..5f83107383 100644 --- a/Sources/TDLibKit/Generated/Models/TestSquareInt.swift +++ b/Sources/TDLibKit/Generated/Models/TestSquareInt.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/TestString.swift b/Sources/TDLibKit/Generated/Models/TestString.swift index a17e227684..81b9f76a52 100644 --- a/Sources/TDLibKit/Generated/Models/TestString.swift +++ b/Sources/TDLibKit/Generated/Models/TestString.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/TestUseUpdate.swift b/Sources/TDLibKit/Generated/Models/TestUseUpdate.swift index 91699ed990..bb45dc6c4d 100644 --- a/Sources/TDLibKit/Generated/Models/TestUseUpdate.swift +++ b/Sources/TDLibKit/Generated/Models/TestUseUpdate.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/TestVectorInt.swift b/Sources/TDLibKit/Generated/Models/TestVectorInt.swift index ae9ba4dfcc..cebdbf596f 100644 --- a/Sources/TDLibKit/Generated/Models/TestVectorInt.swift +++ b/Sources/TDLibKit/Generated/Models/TestVectorInt.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/TestVectorIntObject.swift b/Sources/TDLibKit/Generated/Models/TestVectorIntObject.swift index f650b31e0a..2b065ef3fb 100644 --- a/Sources/TDLibKit/Generated/Models/TestVectorIntObject.swift +++ b/Sources/TDLibKit/Generated/Models/TestVectorIntObject.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/TestVectorString.swift b/Sources/TDLibKit/Generated/Models/TestVectorString.swift index 663e49cf3a..7957c73f89 100644 --- a/Sources/TDLibKit/Generated/Models/TestVectorString.swift +++ b/Sources/TDLibKit/Generated/Models/TestVectorString.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/TestVectorStringObject.swift b/Sources/TDLibKit/Generated/Models/TestVectorStringObject.swift index 4b7693ccd4..5caaedb31a 100644 --- a/Sources/TDLibKit/Generated/Models/TestVectorStringObject.swift +++ b/Sources/TDLibKit/Generated/Models/TestVectorStringObject.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/Text.swift b/Sources/TDLibKit/Generated/Models/Text.swift index 9d05f7f48f..6a4db4a059 100644 --- a/Sources/TDLibKit/Generated/Models/Text.swift +++ b/Sources/TDLibKit/Generated/Models/Text.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/TextEntities.swift b/Sources/TDLibKit/Generated/Models/TextEntities.swift index ce973bb170..75a34875f4 100644 --- a/Sources/TDLibKit/Generated/Models/TextEntities.swift +++ b/Sources/TDLibKit/Generated/Models/TextEntities.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/TextEntity.swift b/Sources/TDLibKit/Generated/Models/TextEntity.swift index e6ac7c934f..4e1d822ba3 100644 --- a/Sources/TDLibKit/Generated/Models/TextEntity.swift +++ b/Sources/TDLibKit/Generated/Models/TextEntity.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/TextEntityType.swift b/Sources/TDLibKit/Generated/Models/TextEntityType.swift index 99309ac8ea..343cb536ff 100644 --- a/Sources/TDLibKit/Generated/Models/TextEntityType.swift +++ b/Sources/TDLibKit/Generated/Models/TextEntityType.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/TextParseMode.swift b/Sources/TDLibKit/Generated/Models/TextParseMode.swift index 9067cbfedf..54a6fe15a3 100644 --- a/Sources/TDLibKit/Generated/Models/TextParseMode.swift +++ b/Sources/TDLibKit/Generated/Models/TextParseMode.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/TextQuote.swift b/Sources/TDLibKit/Generated/Models/TextQuote.swift index 431bc3e948..f84f5d8b3f 100644 --- a/Sources/TDLibKit/Generated/Models/TextQuote.swift +++ b/Sources/TDLibKit/Generated/Models/TextQuote.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/ThemeParameters.swift b/Sources/TDLibKit/Generated/Models/ThemeParameters.swift index bf09a6ca8a..370737941b 100644 --- a/Sources/TDLibKit/Generated/Models/ThemeParameters.swift +++ b/Sources/TDLibKit/Generated/Models/ThemeParameters.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/ThemeSettings.swift b/Sources/TDLibKit/Generated/Models/ThemeSettings.swift index 409a9e13bb..8e6f633bb7 100644 --- a/Sources/TDLibKit/Generated/Models/ThemeSettings.swift +++ b/Sources/TDLibKit/Generated/Models/ThemeSettings.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/Thumbnail.swift b/Sources/TDLibKit/Generated/Models/Thumbnail.swift index 09e217c3b5..05fd47742e 100644 --- a/Sources/TDLibKit/Generated/Models/Thumbnail.swift +++ b/Sources/TDLibKit/Generated/Models/Thumbnail.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/ThumbnailFormat.swift b/Sources/TDLibKit/Generated/Models/ThumbnailFormat.swift index 58ee4869f1..0e9a39f9b4 100644 --- a/Sources/TDLibKit/Generated/Models/ThumbnailFormat.swift +++ b/Sources/TDLibKit/Generated/Models/ThumbnailFormat.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/TimeZone.swift b/Sources/TDLibKit/Generated/Models/TimeZone.swift index 8e1c6bd4aa..daa51c2934 100644 --- a/Sources/TDLibKit/Generated/Models/TimeZone.swift +++ b/Sources/TDLibKit/Generated/Models/TimeZone.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/TimeZones.swift b/Sources/TDLibKit/Generated/Models/TimeZones.swift index 7afe139cc6..731ccae9b1 100644 --- a/Sources/TDLibKit/Generated/Models/TimeZones.swift +++ b/Sources/TDLibKit/Generated/Models/TimeZones.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/ToggleAllDownloadsArePaused.swift b/Sources/TDLibKit/Generated/Models/ToggleAllDownloadsArePaused.swift index 973912f1b3..79f3026476 100644 --- a/Sources/TDLibKit/Generated/Models/ToggleAllDownloadsArePaused.swift +++ b/Sources/TDLibKit/Generated/Models/ToggleAllDownloadsArePaused.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/ToggleBotIsAddedToAttachmentMenu.swift b/Sources/TDLibKit/Generated/Models/ToggleBotIsAddedToAttachmentMenu.swift index 0c4f33eab8..162e1e6a30 100644 --- a/Sources/TDLibKit/Generated/Models/ToggleBotIsAddedToAttachmentMenu.swift +++ b/Sources/TDLibKit/Generated/Models/ToggleBotIsAddedToAttachmentMenu.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/ToggleBotUsernameIsActive.swift b/Sources/TDLibKit/Generated/Models/ToggleBotUsernameIsActive.swift index 1ad188ebb6..97bc0e64a6 100644 --- a/Sources/TDLibKit/Generated/Models/ToggleBotUsernameIsActive.swift +++ b/Sources/TDLibKit/Generated/Models/ToggleBotUsernameIsActive.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/ToggleBusinessConnectedBotChatIsPaused.swift b/Sources/TDLibKit/Generated/Models/ToggleBusinessConnectedBotChatIsPaused.swift index 76b66b6900..7d141928e8 100644 --- a/Sources/TDLibKit/Generated/Models/ToggleBusinessConnectedBotChatIsPaused.swift +++ b/Sources/TDLibKit/Generated/Models/ToggleBusinessConnectedBotChatIsPaused.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/ToggleChatDefaultDisableNotification.swift b/Sources/TDLibKit/Generated/Models/ToggleChatDefaultDisableNotification.swift index bbf94b4c72..3fe83b35fa 100644 --- a/Sources/TDLibKit/Generated/Models/ToggleChatDefaultDisableNotification.swift +++ b/Sources/TDLibKit/Generated/Models/ToggleChatDefaultDisableNotification.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/ToggleChatFolderTags.swift b/Sources/TDLibKit/Generated/Models/ToggleChatFolderTags.swift index e4e27ef852..e7c21c894e 100644 --- a/Sources/TDLibKit/Generated/Models/ToggleChatFolderTags.swift +++ b/Sources/TDLibKit/Generated/Models/ToggleChatFolderTags.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/ToggleChatHasProtectedContent.swift b/Sources/TDLibKit/Generated/Models/ToggleChatHasProtectedContent.swift index 8d1f14b965..80fb21f238 100644 --- a/Sources/TDLibKit/Generated/Models/ToggleChatHasProtectedContent.swift +++ b/Sources/TDLibKit/Generated/Models/ToggleChatHasProtectedContent.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/ToggleChatIsMarkedAsUnread.swift b/Sources/TDLibKit/Generated/Models/ToggleChatIsMarkedAsUnread.swift index cf01afc12a..54ae65e9f1 100644 --- a/Sources/TDLibKit/Generated/Models/ToggleChatIsMarkedAsUnread.swift +++ b/Sources/TDLibKit/Generated/Models/ToggleChatIsMarkedAsUnread.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/ToggleChatIsPinned.swift b/Sources/TDLibKit/Generated/Models/ToggleChatIsPinned.swift index bad421ad86..606c7cf5dd 100644 --- a/Sources/TDLibKit/Generated/Models/ToggleChatIsPinned.swift +++ b/Sources/TDLibKit/Generated/Models/ToggleChatIsPinned.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/ToggleChatIsTranslatable.swift b/Sources/TDLibKit/Generated/Models/ToggleChatIsTranslatable.swift index 99f598f657..6cb0c1fa38 100644 --- a/Sources/TDLibKit/Generated/Models/ToggleChatIsTranslatable.swift +++ b/Sources/TDLibKit/Generated/Models/ToggleChatIsTranslatable.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/ToggleChatViewAsTopics.swift b/Sources/TDLibKit/Generated/Models/ToggleChatViewAsTopics.swift index 5047190986..52f4bdfbd0 100644 --- a/Sources/TDLibKit/Generated/Models/ToggleChatViewAsTopics.swift +++ b/Sources/TDLibKit/Generated/Models/ToggleChatViewAsTopics.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/ToggleDownloadIsPaused.swift b/Sources/TDLibKit/Generated/Models/ToggleDownloadIsPaused.swift index 645acbe791..c6fc2da96a 100644 --- a/Sources/TDLibKit/Generated/Models/ToggleDownloadIsPaused.swift +++ b/Sources/TDLibKit/Generated/Models/ToggleDownloadIsPaused.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/ToggleForumTopicIsClosed.swift b/Sources/TDLibKit/Generated/Models/ToggleForumTopicIsClosed.swift index b953343985..dcd1bc253b 100644 --- a/Sources/TDLibKit/Generated/Models/ToggleForumTopicIsClosed.swift +++ b/Sources/TDLibKit/Generated/Models/ToggleForumTopicIsClosed.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/ToggleForumTopicIsPinned.swift b/Sources/TDLibKit/Generated/Models/ToggleForumTopicIsPinned.swift index 2e77d96b59..5e5f060277 100644 --- a/Sources/TDLibKit/Generated/Models/ToggleForumTopicIsPinned.swift +++ b/Sources/TDLibKit/Generated/Models/ToggleForumTopicIsPinned.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/ToggleGeneralForumTopicIsHidden.swift b/Sources/TDLibKit/Generated/Models/ToggleGeneralForumTopicIsHidden.swift index 863ad4ea4a..7a0867b538 100644 --- a/Sources/TDLibKit/Generated/Models/ToggleGeneralForumTopicIsHidden.swift +++ b/Sources/TDLibKit/Generated/Models/ToggleGeneralForumTopicIsHidden.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/ToggleGroupCallEnabledStartNotification.swift b/Sources/TDLibKit/Generated/Models/ToggleGroupCallEnabledStartNotification.swift index e5e574f9b3..4edf9f2301 100644 --- a/Sources/TDLibKit/Generated/Models/ToggleGroupCallEnabledStartNotification.swift +++ b/Sources/TDLibKit/Generated/Models/ToggleGroupCallEnabledStartNotification.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/ToggleGroupCallIsMyVideoEnabled.swift b/Sources/TDLibKit/Generated/Models/ToggleGroupCallIsMyVideoEnabled.swift index 438288b7f3..720eb3a786 100644 --- a/Sources/TDLibKit/Generated/Models/ToggleGroupCallIsMyVideoEnabled.swift +++ b/Sources/TDLibKit/Generated/Models/ToggleGroupCallIsMyVideoEnabled.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/ToggleGroupCallIsMyVideoPaused.swift b/Sources/TDLibKit/Generated/Models/ToggleGroupCallIsMyVideoPaused.swift index 9fad1a6aac..580fdcf007 100644 --- a/Sources/TDLibKit/Generated/Models/ToggleGroupCallIsMyVideoPaused.swift +++ b/Sources/TDLibKit/Generated/Models/ToggleGroupCallIsMyVideoPaused.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/ToggleGroupCallMuteNewParticipants.swift b/Sources/TDLibKit/Generated/Models/ToggleGroupCallMuteNewParticipants.swift index c836e6253f..4ac5f3c6a1 100644 --- a/Sources/TDLibKit/Generated/Models/ToggleGroupCallMuteNewParticipants.swift +++ b/Sources/TDLibKit/Generated/Models/ToggleGroupCallMuteNewParticipants.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/ToggleGroupCallParticipantIsHandRaised.swift b/Sources/TDLibKit/Generated/Models/ToggleGroupCallParticipantIsHandRaised.swift index e686011034..f0583e232a 100644 --- a/Sources/TDLibKit/Generated/Models/ToggleGroupCallParticipantIsHandRaised.swift +++ b/Sources/TDLibKit/Generated/Models/ToggleGroupCallParticipantIsHandRaised.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/ToggleGroupCallParticipantIsMuted.swift b/Sources/TDLibKit/Generated/Models/ToggleGroupCallParticipantIsMuted.swift index d7d59d0026..a432c04b02 100644 --- a/Sources/TDLibKit/Generated/Models/ToggleGroupCallParticipantIsMuted.swift +++ b/Sources/TDLibKit/Generated/Models/ToggleGroupCallParticipantIsMuted.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/ToggleGroupCallScreenSharingIsPaused.swift b/Sources/TDLibKit/Generated/Models/ToggleGroupCallScreenSharingIsPaused.swift index 8d86eb8723..7efeda634d 100644 --- a/Sources/TDLibKit/Generated/Models/ToggleGroupCallScreenSharingIsPaused.swift +++ b/Sources/TDLibKit/Generated/Models/ToggleGroupCallScreenSharingIsPaused.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/ToggleHasSponsoredMessagesEnabled.swift b/Sources/TDLibKit/Generated/Models/ToggleHasSponsoredMessagesEnabled.swift new file mode 100644 index 0000000000..67d901028e --- /dev/null +++ b/Sources/TDLibKit/Generated/Models/ToggleHasSponsoredMessagesEnabled.swift @@ -0,0 +1,24 @@ +// +// ToggleHasSponsoredMessagesEnabled.swift +// tl2swift +// +// Generated automatically. Any changes will be lost! +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b +// + +import Foundation + + +/// Toggles whether the current user has sponsored messages enabled. The setting has no effect for users without Telegram Premium for which sponsored messages are always enabled +public struct ToggleHasSponsoredMessagesEnabled: Codable, Equatable, Hashable { + + /// Pass true to enable sponsored messages for the current user; false to disable them + public let hasSponsoredMessagesEnabled: Bool? + + + public init(hasSponsoredMessagesEnabled: Bool?) { + self.hasSponsoredMessagesEnabled = hasSponsoredMessagesEnabled + } +} + diff --git a/Sources/TDLibKit/Generated/Models/ToggleSavedMessagesTopicIsPinned.swift b/Sources/TDLibKit/Generated/Models/ToggleSavedMessagesTopicIsPinned.swift index 09f9877e6c..252114dcef 100644 --- a/Sources/TDLibKit/Generated/Models/ToggleSavedMessagesTopicIsPinned.swift +++ b/Sources/TDLibKit/Generated/Models/ToggleSavedMessagesTopicIsPinned.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/ToggleSessionCanAcceptCalls.swift b/Sources/TDLibKit/Generated/Models/ToggleSessionCanAcceptCalls.swift index 0eaaaf442c..1e001c9b4e 100644 --- a/Sources/TDLibKit/Generated/Models/ToggleSessionCanAcceptCalls.swift +++ b/Sources/TDLibKit/Generated/Models/ToggleSessionCanAcceptCalls.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/ToggleSessionCanAcceptSecretChats.swift b/Sources/TDLibKit/Generated/Models/ToggleSessionCanAcceptSecretChats.swift index 8c189194f7..97d1b66b44 100644 --- a/Sources/TDLibKit/Generated/Models/ToggleSessionCanAcceptSecretChats.swift +++ b/Sources/TDLibKit/Generated/Models/ToggleSessionCanAcceptSecretChats.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/ToggleStoryIsPostedToChatPage.swift b/Sources/TDLibKit/Generated/Models/ToggleStoryIsPostedToChatPage.swift new file mode 100644 index 0000000000..57275f1a09 --- /dev/null +++ b/Sources/TDLibKit/Generated/Models/ToggleStoryIsPostedToChatPage.swift @@ -0,0 +1,36 @@ +// +// ToggleStoryIsPostedToChatPage.swift +// tl2swift +// +// Generated automatically. Any changes will be lost! +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b +// + +import Foundation + + +/// Toggles whether a story is accessible after expiration. Can be called only if story.can_toggle_is_posted_to_chat_page == true +public struct ToggleStoryIsPostedToChatPage: Codable, Equatable, Hashable { + + /// Pass true to make the story accessible after expiration; pass false to make it private + public let isPostedToChatPage: Bool? + + /// Identifier of the story + public let storyId: Int? + + /// Identifier of the chat that posted the story + public let storySenderChatId: Int64? + + + public init( + isPostedToChatPage: Bool?, + storyId: Int?, + storySenderChatId: Int64? + ) { + self.isPostedToChatPage = isPostedToChatPage + self.storyId = storyId + self.storySenderChatId = storySenderChatId + } +} + diff --git a/Sources/TDLibKit/Generated/Models/ToggleSupergroupCanHaveSponsoredMessages.swift b/Sources/TDLibKit/Generated/Models/ToggleSupergroupCanHaveSponsoredMessages.swift index 335ebb51e0..029745d130 100644 --- a/Sources/TDLibKit/Generated/Models/ToggleSupergroupCanHaveSponsoredMessages.swift +++ b/Sources/TDLibKit/Generated/Models/ToggleSupergroupCanHaveSponsoredMessages.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/ToggleSupergroupHasAggressiveAntiSpamEnabled.swift b/Sources/TDLibKit/Generated/Models/ToggleSupergroupHasAggressiveAntiSpamEnabled.swift index 012caa49b8..f4f01c331b 100644 --- a/Sources/TDLibKit/Generated/Models/ToggleSupergroupHasAggressiveAntiSpamEnabled.swift +++ b/Sources/TDLibKit/Generated/Models/ToggleSupergroupHasAggressiveAntiSpamEnabled.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/ToggleSupergroupHasHiddenMembers.swift b/Sources/TDLibKit/Generated/Models/ToggleSupergroupHasHiddenMembers.swift index 84336ebfd4..b9e279f389 100644 --- a/Sources/TDLibKit/Generated/Models/ToggleSupergroupHasHiddenMembers.swift +++ b/Sources/TDLibKit/Generated/Models/ToggleSupergroupHasHiddenMembers.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/ToggleSupergroupIsAllHistoryAvailable.swift b/Sources/TDLibKit/Generated/Models/ToggleSupergroupIsAllHistoryAvailable.swift index 780e8b0b78..e4656cc9c0 100644 --- a/Sources/TDLibKit/Generated/Models/ToggleSupergroupIsAllHistoryAvailable.swift +++ b/Sources/TDLibKit/Generated/Models/ToggleSupergroupIsAllHistoryAvailable.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/ToggleSupergroupIsBroadcastGroup.swift b/Sources/TDLibKit/Generated/Models/ToggleSupergroupIsBroadcastGroup.swift index 458e8dda16..3d34cc98d6 100644 --- a/Sources/TDLibKit/Generated/Models/ToggleSupergroupIsBroadcastGroup.swift +++ b/Sources/TDLibKit/Generated/Models/ToggleSupergroupIsBroadcastGroup.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/ToggleSupergroupIsForum.swift b/Sources/TDLibKit/Generated/Models/ToggleSupergroupIsForum.swift index 8a15b004a3..52625908fa 100644 --- a/Sources/TDLibKit/Generated/Models/ToggleSupergroupIsForum.swift +++ b/Sources/TDLibKit/Generated/Models/ToggleSupergroupIsForum.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/ToggleSupergroupJoinByRequest.swift b/Sources/TDLibKit/Generated/Models/ToggleSupergroupJoinByRequest.swift index 97725610d6..d28f54f4d7 100644 --- a/Sources/TDLibKit/Generated/Models/ToggleSupergroupJoinByRequest.swift +++ b/Sources/TDLibKit/Generated/Models/ToggleSupergroupJoinByRequest.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/ToggleSupergroupJoinToSendMessages.swift b/Sources/TDLibKit/Generated/Models/ToggleSupergroupJoinToSendMessages.swift index 75849f7a0b..ab2200ef0a 100644 --- a/Sources/TDLibKit/Generated/Models/ToggleSupergroupJoinToSendMessages.swift +++ b/Sources/TDLibKit/Generated/Models/ToggleSupergroupJoinToSendMessages.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/ToggleSupergroupSignMessages.swift b/Sources/TDLibKit/Generated/Models/ToggleSupergroupSignMessages.swift index 33469a5953..b160394ade 100644 --- a/Sources/TDLibKit/Generated/Models/ToggleSupergroupSignMessages.swift +++ b/Sources/TDLibKit/Generated/Models/ToggleSupergroupSignMessages.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/ToggleSupergroupUsernameIsActive.swift b/Sources/TDLibKit/Generated/Models/ToggleSupergroupUsernameIsActive.swift index cf2ba49bc9..20e4f3b33b 100644 --- a/Sources/TDLibKit/Generated/Models/ToggleSupergroupUsernameIsActive.swift +++ b/Sources/TDLibKit/Generated/Models/ToggleSupergroupUsernameIsActive.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/ToggleUsernameIsActive.swift b/Sources/TDLibKit/Generated/Models/ToggleUsernameIsActive.swift index 87d2babae3..464b5b1967 100644 --- a/Sources/TDLibKit/Generated/Models/ToggleUsernameIsActive.swift +++ b/Sources/TDLibKit/Generated/Models/ToggleUsernameIsActive.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/TopChatCategory.swift b/Sources/TDLibKit/Generated/Models/TopChatCategory.swift index e3561cf30b..20181d4a3b 100644 --- a/Sources/TDLibKit/Generated/Models/TopChatCategory.swift +++ b/Sources/TDLibKit/Generated/Models/TopChatCategory.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/TransferChatOwnership.swift b/Sources/TDLibKit/Generated/Models/TransferChatOwnership.swift index becd98cffb..40949b6f4a 100644 --- a/Sources/TDLibKit/Generated/Models/TransferChatOwnership.swift +++ b/Sources/TDLibKit/Generated/Models/TransferChatOwnership.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/TranslateMessageText.swift b/Sources/TDLibKit/Generated/Models/TranslateMessageText.swift index db132ea2c7..bd913f1994 100644 --- a/Sources/TDLibKit/Generated/Models/TranslateMessageText.swift +++ b/Sources/TDLibKit/Generated/Models/TranslateMessageText.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation @@ -19,7 +19,7 @@ public struct TranslateMessageText: Codable, Equatable, Hashable { /// Identifier of the message public let messageId: Int64? - /// Language code of the language to which the message is translated. Must be one of//-"af", "sq", "am", "ar", "hy", "az", "eu", "be", "bn", "bs", "bg", "ca", "ceb", "zh-CN", "zh", "zh-Hans", "zh-TW", "zh-Hant", "co", "hr", "cs", "da", "nl", "en", "eo", "et",//-"fi", "fr", "fy", "gl", "ka", "de", "el", "gu", "ht", "ha", "haw", "he", "iw", "hi", "hmn", "hu", "is", "ig", "id", "in", "ga", "it", "ja", "jv", "kn", "kk", "km", "rw", "ko",//-"ku", "ky", "lo", "la", "lv", "lt", "lb", "mk", "mg", "ms", "ml", "mt", "mi", "mr", "mn", "my", "ne", "no", "ny", "or", "ps", "fa", "pl", "pt", "pa", "ro", "ru", "sm", "gd", "sr",//-"st", "sn", "sd", "si", "sk", "sl", "so", "es", "su", "sw", "sv", "tl", "tg", "ta", "tt", "te", "th", "tr", "tk", "uk", "ur", "ug", "uz", "vi", "cy", "xh", "yi", "ji", "yo", "zu" + /// Language code of the language to which the message is translated. Must be one of "af", "sq", "am", "ar", "hy", "az", "eu", "be", "bn", "bs", "bg", "ca", "ceb", "zh-CN", "zh", "zh-Hans", "zh-TW", "zh-Hant", "co", "hr", "cs", "da", "nl", "en", "eo", "et", "fi", "fr", "fy", "gl", "ka", "de", "el", "gu", "ht", "ha", "haw", "he", "iw", "hi", "hmn", "hu", "is", "ig", "id", "in", "ga", "it", "ja", "jv", "kn", "kk", "km", "rw", "ko", "ku", "ky", "lo", "la", "lv", "lt", "lb", "mk", "mg", "ms", "ml", "mt", "mi", "mr", "mn", "my", "ne", "no", "ny", "or", "ps", "fa", "pl", "pt", "pa", "ro", "ru", "sm", "gd", "sr", "st", "sn", "sd", "si", "sk", "sl", "so", "es", "su", "sw", "sv", "tl", "tg", "ta", "tt", "te", "th", "tr", "tk", "uk", "ur", "ug", "uz", "vi", "cy", "xh", "yi", "ji", "yo", "zu" public let toLanguageCode: String? diff --git a/Sources/TDLibKit/Generated/Models/TranslateText.swift b/Sources/TDLibKit/Generated/Models/TranslateText.swift index e78be550f1..e82918064f 100644 --- a/Sources/TDLibKit/Generated/Models/TranslateText.swift +++ b/Sources/TDLibKit/Generated/Models/TranslateText.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation @@ -16,7 +16,7 @@ public struct TranslateText: Codable, Equatable, Hashable { /// Text to translate public let text: FormattedText? - /// Language code of the language to which the message is translated. Must be one of//-"af", "sq", "am", "ar", "hy", "az", "eu", "be", "bn", "bs", "bg", "ca", "ceb", "zh-CN", "zh", "zh-Hans", "zh-TW", "zh-Hant", "co", "hr", "cs", "da", "nl", "en", "eo", "et",//-"fi", "fr", "fy", "gl", "ka", "de", "el", "gu", "ht", "ha", "haw", "he", "iw", "hi", "hmn", "hu", "is", "ig", "id", "in", "ga", "it", "ja", "jv", "kn", "kk", "km", "rw", "ko",//-"ku", "ky", "lo", "la", "lv", "lt", "lb", "mk", "mg", "ms", "ml", "mt", "mi", "mr", "mn", "my", "ne", "no", "ny", "or", "ps", "fa", "pl", "pt", "pa", "ro", "ru", "sm", "gd", "sr",//-"st", "sn", "sd", "si", "sk", "sl", "so", "es", "su", "sw", "sv", "tl", "tg", "ta", "tt", "te", "th", "tr", "tk", "uk", "ur", "ug", "uz", "vi", "cy", "xh", "yi", "ji", "yo", "zu" + /// Language code of the language to which the message is translated. Must be one of "af", "sq", "am", "ar", "hy", "az", "eu", "be", "bn", "bs", "bg", "ca", "ceb", "zh-CN", "zh", "zh-Hans", "zh-TW", "zh-Hant", "co", "hr", "cs", "da", "nl", "en", "eo", "et", "fi", "fr", "fy", "gl", "ka", "de", "el", "gu", "ht", "ha", "haw", "he", "iw", "hi", "hmn", "hu", "is", "ig", "id", "in", "ga", "it", "ja", "jv", "kn", "kk", "km", "rw", "ko", "ku", "ky", "lo", "la", "lv", "lt", "lb", "mk", "mg", "ms", "ml", "mt", "mi", "mr", "mn", "my", "ne", "no", "ny", "or", "ps", "fa", "pl", "pt", "pa", "ro", "ru", "sm", "gd", "sr", "st", "sn", "sd", "si", "sk", "sl", "so", "es", "su", "sw", "sv", "tl", "tg", "ta", "tt", "te", "th", "tr", "tk", "uk", "ur", "ug", "uz", "vi", "cy", "xh", "yi", "ji", "yo", "zu" public let toLanguageCode: String? diff --git a/Sources/TDLibKit/Generated/Models/TrendingStickerSets.swift b/Sources/TDLibKit/Generated/Models/TrendingStickerSets.swift index 15f02fa687..dae0c44b24 100644 --- a/Sources/TDLibKit/Generated/Models/TrendingStickerSets.swift +++ b/Sources/TDLibKit/Generated/Models/TrendingStickerSets.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/UnconfirmedSession.swift b/Sources/TDLibKit/Generated/Models/UnconfirmedSession.swift index 890d208c4a..eb8f9e4745 100644 --- a/Sources/TDLibKit/Generated/Models/UnconfirmedSession.swift +++ b/Sources/TDLibKit/Generated/Models/UnconfirmedSession.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/UnpinAllChatMessages.swift b/Sources/TDLibKit/Generated/Models/UnpinAllChatMessages.swift index 7d428fb506..e185575c3c 100644 --- a/Sources/TDLibKit/Generated/Models/UnpinAllChatMessages.swift +++ b/Sources/TDLibKit/Generated/Models/UnpinAllChatMessages.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/UnpinAllMessageThreadMessages.swift b/Sources/TDLibKit/Generated/Models/UnpinAllMessageThreadMessages.swift index f0c1fe5999..e4010978da 100644 --- a/Sources/TDLibKit/Generated/Models/UnpinAllMessageThreadMessages.swift +++ b/Sources/TDLibKit/Generated/Models/UnpinAllMessageThreadMessages.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/UnpinChatMessage.swift b/Sources/TDLibKit/Generated/Models/UnpinChatMessage.swift index 33c539a28e..659d3f6907 100644 --- a/Sources/TDLibKit/Generated/Models/UnpinChatMessage.swift +++ b/Sources/TDLibKit/Generated/Models/UnpinChatMessage.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/UnreadReaction.swift b/Sources/TDLibKit/Generated/Models/UnreadReaction.swift index 47175376de..fb211e6a25 100644 --- a/Sources/TDLibKit/Generated/Models/UnreadReaction.swift +++ b/Sources/TDLibKit/Generated/Models/UnreadReaction.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/Update.swift b/Sources/TDLibKit/Generated/Models/Update.swift index bc0aa349e8..f7de1ecfad 100644 --- a/Sources/TDLibKit/Generated/Models/Update.swift +++ b/Sources/TDLibKit/Generated/Models/Update.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation @@ -181,6 +181,9 @@ public indirect enum Update: Codable, Equatable, Hashable { /// Notification settings for some type of chats were updated case updateScopeNotificationSettings(UpdateScopeNotificationSettings) + /// Notification settings for reactions were updated + case updateReactionNotificationSettings(UpdateReactionNotificationSettings) + /// A notification was changed case updateNotification(UpdateNotification) @@ -355,6 +358,9 @@ public indirect enum Update: Codable, Equatable, Hashable { /// Tags used in Saved Messages or a Saved Messages topic have changed case updateSavedMessagesTags(UpdateSavedMessagesTags) + /// The revenue earned from sponsored messages in a chat has changed. If chat revenue screen is opened, then getChatRevenueTransactions may be called to fetch new transactions + case updateChatRevenueAmount + /// The parameters of speech recognition without Telegram Premium subscription has changed case updateSpeechRecognitionTrial(UpdateSpeechRecognitionTrial) @@ -494,6 +500,7 @@ public indirect enum Update: Codable, Equatable, Hashable { case updateQuickReplyShortcutMessages case updateForumTopicInfo case updateScopeNotificationSettings + case updateReactionNotificationSettings case updateNotification case updateNotificationGroup case updateActiveNotifications @@ -552,6 +559,7 @@ public indirect enum Update: Codable, Equatable, Hashable { case updateActiveEmojiReactions case updateDefaultReactionType case updateSavedMessagesTags + case updateChatRevenueAmount case updateSpeechRecognitionTrial case updateDiceEmojis case updateAnimatedEmojiMessageClicked @@ -753,6 +761,9 @@ public indirect enum Update: Codable, Equatable, Hashable { case .updateScopeNotificationSettings: let value = try UpdateScopeNotificationSettings(from: decoder) self = .updateScopeNotificationSettings(value) + case .updateReactionNotificationSettings: + let value = try UpdateReactionNotificationSettings(from: decoder) + self = .updateReactionNotificationSettings(value) case .updateNotification: let value = try UpdateNotification(from: decoder) self = .updateNotification(value) @@ -927,6 +938,8 @@ public indirect enum Update: Codable, Equatable, Hashable { case .updateSavedMessagesTags: let value = try UpdateSavedMessagesTags(from: decoder) self = .updateSavedMessagesTags(value) + case .updateChatRevenueAmount: + self = .updateChatRevenueAmount case .updateSpeechRecognitionTrial: let value = try UpdateSpeechRecognitionTrial(from: decoder) self = .updateSpeechRecognitionTrial(value) @@ -1182,6 +1195,9 @@ public indirect enum Update: Codable, Equatable, Hashable { case .updateScopeNotificationSettings(let value): try container.encode(Kind.updateScopeNotificationSettings, forKey: .type) try value.encode(to: encoder) + case .updateReactionNotificationSettings(let value): + try container.encode(Kind.updateReactionNotificationSettings, forKey: .type) + try value.encode(to: encoder) case .updateNotification(let value): try container.encode(Kind.updateNotification, forKey: .type) try value.encode(to: encoder) @@ -1356,6 +1372,8 @@ public indirect enum Update: Codable, Equatable, Hashable { case .updateSavedMessagesTags(let value): try container.encode(Kind.updateSavedMessagesTags, forKey: .type) try value.encode(to: encoder) + case .updateChatRevenueAmount: + try container.encode(Kind.updateChatRevenueAmount, forKey: .type) case .updateSpeechRecognitionTrial(let value): try container.encode(Kind.updateSpeechRecognitionTrial, forKey: .type) try value.encode(to: encoder) @@ -2529,6 +2547,18 @@ public struct UpdateScopeNotificationSettings: Codable, Equatable, Hashable { } } +/// Notification settings for reactions were updated +public struct UpdateReactionNotificationSettings: Codable, Equatable, Hashable { + + /// The new notification settings + public let notificationSettings: ReactionNotificationSettings + + + public init(notificationSettings: ReactionNotificationSettings) { + self.notificationSettings = notificationSettings + } +} + /// A notification was changed public struct UpdateNotification: Codable, Equatable, Hashable { @@ -3402,7 +3432,7 @@ public struct UpdateAccentColors: Codable, Equatable, Hashable { /// The list of accent color identifiers, which can be set through setAccentColor and setChatAccentColor. The colors must be shown in the specififed order public let availableAccentColorIds: [Int] - /// Information about supported colors; colors with identifiers 0 (red), 1 (orange), 2 (purple/violet), 3 (green), 4 (cyan), 5 (blue), 6 (pink) must always be supported//-and aren't included in the list. The exact colors for the accent colors with identifiers 0-6 must be taken from the app theme + /// Information about supported colors; colors with identifiers 0 (red), 1 (orange), 2 (purple/violet), 3 (green), 4 (cyan), 5 (blue), 6 (pink) must always be supported and aren't included in the list. The exact colors for the accent colors with identifiers 0-6 must be taken from the app theme public let colors: [AccentColor] @@ -4115,6 +4145,9 @@ public struct UpdateChatMember: Codable, Equatable, Hashable { /// True, if the user has joined the chat using an invite link for a chat folder public let viaChatFolderInviteLink: Bool + /// True, if the user has joined the chat after sending a join request and being approved by an administrator + public let viaJoinRequest: Bool + public init( actorUserId: Int64, @@ -4123,7 +4156,8 @@ public struct UpdateChatMember: Codable, Equatable, Hashable { inviteLink: ChatInviteLink?, newChatMember: ChatMember, oldChatMember: ChatMember, - viaChatFolderInviteLink: Bool + viaChatFolderInviteLink: Bool, + viaJoinRequest: Bool ) { self.actorUserId = actorUserId self.chatId = chatId @@ -4132,6 +4166,7 @@ public struct UpdateChatMember: Codable, Equatable, Hashable { self.newChatMember = newChatMember self.oldChatMember = oldChatMember self.viaChatFolderInviteLink = viaChatFolderInviteLink + self.viaJoinRequest = viaJoinRequest } } diff --git a/Sources/TDLibKit/Generated/Models/Updates.swift b/Sources/TDLibKit/Generated/Models/Updates.swift index 4bcc9cd4a5..a5ac37df65 100644 --- a/Sources/TDLibKit/Generated/Models/Updates.swift +++ b/Sources/TDLibKit/Generated/Models/Updates.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/UpgradeBasicGroupChatToSupergroupChat.swift b/Sources/TDLibKit/Generated/Models/UpgradeBasicGroupChatToSupergroupChat.swift index fdfa2b4fef..255cef4126 100644 --- a/Sources/TDLibKit/Generated/Models/UpgradeBasicGroupChatToSupergroupChat.swift +++ b/Sources/TDLibKit/Generated/Models/UpgradeBasicGroupChatToSupergroupChat.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/UploadStickerFile.swift b/Sources/TDLibKit/Generated/Models/UploadStickerFile.swift index 15cc23e3ad..39d3bf44ae 100644 --- a/Sources/TDLibKit/Generated/Models/UploadStickerFile.swift +++ b/Sources/TDLibKit/Generated/Models/UploadStickerFile.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation @@ -13,7 +13,7 @@ import Foundation /// Uploads a file with a sticker; returns the uploaded file public struct UploadStickerFile: Codable, Equatable, Hashable { - /// File file to upload; must fit in a 512x512 square. For WEBP stickers the file must be in WEBP or PNG format, which will be converted to WEBP server-side.//-See https://core.telegram.org/animated_stickers#technical-requirements for technical requirements + /// File file to upload; must fit in a 512x512 square. For WEBP stickers the file must be in WEBP or PNG format, which will be converted to WEBP server-side. See https://core.telegram.org/animated_stickers#technical-requirements for technical requirements public let sticker: InputFile? /// Sticker format diff --git a/Sources/TDLibKit/Generated/Models/User.swift b/Sources/TDLibKit/Generated/Models/User.swift index d09ac2deb9..39de7f6cc7 100644 --- a/Sources/TDLibKit/Generated/Models/User.swift +++ b/Sources/TDLibKit/Generated/Models/User.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/UserFullInfo.swift b/Sources/TDLibKit/Generated/Models/UserFullInfo.swift index b2322b6d66..386b3af37e 100644 --- a/Sources/TDLibKit/Generated/Models/UserFullInfo.swift +++ b/Sources/TDLibKit/Generated/Models/UserFullInfo.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation @@ -34,8 +34,8 @@ public struct UserFullInfo: Codable, Equatable, Hashable { /// Number of group chats where both the other user and the current user are a member; 0 for the current user public let groupInCommonCount: Int - /// True, if the user has pinned stories - public let hasPinnedStories: Bool + /// True, if the user has posted to profile stories + public let hasPostedToProfileStories: Bool /// True, if the user can't be called due to their privacy settings public let hasPrivateCalls: Bool @@ -46,22 +46,25 @@ public struct UserFullInfo: Codable, Equatable, Hashable { /// True, if voice and video notes can't be sent or forwarded to the user public let hasRestrictedVoiceAndVideoNoteMessages: Bool + /// True, if the user always enabled sponsored messages; known only for the current user + public let hasSponsoredMessagesEnabled: Bool + /// True, if the current user needs to explicitly allow to share their phone number with the user when the method addContact is used public let needPhoneNumberPrivacyException: Bool /// Identifier of the personal chat of the user; 0 if none public let personalChatId: Int64 - /// User profile photo set by the current user for the contact; may be null. If null and user.profile_photo is null, then the photo is empty; otherwise, it is unknown.//-If non-null, then it is the same photo as in user.profile_photo and chat.photo. This photo isn't returned in the list of user photos + /// User profile photo set by the current user for the contact; may be null. If null and user.profile_photo is null, then the photo is empty; otherwise, it is unknown. If non-null, then it is the same photo as in user.profile_photo and chat.photo. This photo isn't returned in the list of user photos public let personalPhoto: ChatPhoto? - /// User profile photo; may be null. If null and user.profile_photo is null, then the photo is empty; otherwise, it is unknown.//-If non-null and personal_photo is null, then it is the same photo as in user.profile_photo and chat.photo + /// User profile photo; may be null. If null and user.profile_photo is null, then the photo is empty; otherwise, it is unknown. If non-null and personal_photo is null, then it is the same photo as in user.profile_photo and chat.photo public let photo: ChatPhoto? /// The list of available options for gifting Telegram Premium to the user public let premiumGiftOptions: [PremiumPaymentOption] - /// User profile photo visible if the main photo is hidden by privacy settings; may be null. If null and user.profile_photo is null, then the photo is empty; otherwise, it is unknown.//-If non-null and both photo and personal_photo are null, then it is the same photo as in user.profile_photo and chat.photo. This photo isn't returned in the list of user photos + /// User profile photo visible if the main photo is hidden by privacy settings; may be null. If null and user.profile_photo is null, then the photo is empty; otherwise, it is unknown. If non-null and both photo and personal_photo are null, then it is the same photo as in user.profile_photo and chat.photo. This photo isn't returned in the list of user photos public let publicPhoto: ChatPhoto? /// True, if the user set chat background for both chat users and it wasn't reverted yet @@ -79,10 +82,11 @@ public struct UserFullInfo: Codable, Equatable, Hashable { businessInfo: BusinessInfo?, canBeCalled: Bool, groupInCommonCount: Int, - hasPinnedStories: Bool, + hasPostedToProfileStories: Bool, hasPrivateCalls: Bool, hasPrivateForwards: Bool, hasRestrictedVoiceAndVideoNoteMessages: Bool, + hasSponsoredMessagesEnabled: Bool, needPhoneNumberPrivacyException: Bool, personalChatId: Int64, personalPhoto: ChatPhoto?, @@ -99,10 +103,11 @@ public struct UserFullInfo: Codable, Equatable, Hashable { self.businessInfo = businessInfo self.canBeCalled = canBeCalled self.groupInCommonCount = groupInCommonCount - self.hasPinnedStories = hasPinnedStories + self.hasPostedToProfileStories = hasPostedToProfileStories self.hasPrivateCalls = hasPrivateCalls self.hasPrivateForwards = hasPrivateForwards self.hasRestrictedVoiceAndVideoNoteMessages = hasRestrictedVoiceAndVideoNoteMessages + self.hasSponsoredMessagesEnabled = hasSponsoredMessagesEnabled self.needPhoneNumberPrivacyException = needPhoneNumberPrivacyException self.personalChatId = personalChatId self.personalPhoto = personalPhoto diff --git a/Sources/TDLibKit/Generated/Models/UserLink.swift b/Sources/TDLibKit/Generated/Models/UserLink.swift index 82a894cb5e..40b7546fdc 100644 --- a/Sources/TDLibKit/Generated/Models/UserLink.swift +++ b/Sources/TDLibKit/Generated/Models/UserLink.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/UserPrivacySetting.swift b/Sources/TDLibKit/Generated/Models/UserPrivacySetting.swift index 60a4a3b77f..8adf75c45d 100644 --- a/Sources/TDLibKit/Generated/Models/UserPrivacySetting.swift +++ b/Sources/TDLibKit/Generated/Models/UserPrivacySetting.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/UserPrivacySettingRule.swift b/Sources/TDLibKit/Generated/Models/UserPrivacySettingRule.swift index 48b6fdbeb6..0e680d40c6 100644 --- a/Sources/TDLibKit/Generated/Models/UserPrivacySettingRule.swift +++ b/Sources/TDLibKit/Generated/Models/UserPrivacySettingRule.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/UserPrivacySettingRules.swift b/Sources/TDLibKit/Generated/Models/UserPrivacySettingRules.swift index 342b8e290c..29a296c9f2 100644 --- a/Sources/TDLibKit/Generated/Models/UserPrivacySettingRules.swift +++ b/Sources/TDLibKit/Generated/Models/UserPrivacySettingRules.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/UserStatus.swift b/Sources/TDLibKit/Generated/Models/UserStatus.swift index cdfef4e5a7..896d618dce 100644 --- a/Sources/TDLibKit/Generated/Models/UserStatus.swift +++ b/Sources/TDLibKit/Generated/Models/UserStatus.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/UserSupportInfo.swift b/Sources/TDLibKit/Generated/Models/UserSupportInfo.swift index 2f97da4e28..a5e818671e 100644 --- a/Sources/TDLibKit/Generated/Models/UserSupportInfo.swift +++ b/Sources/TDLibKit/Generated/Models/UserSupportInfo.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/UserType.swift b/Sources/TDLibKit/Generated/Models/UserType.swift index 7970e124a1..2b1c0ab762 100644 --- a/Sources/TDLibKit/Generated/Models/UserType.swift +++ b/Sources/TDLibKit/Generated/Models/UserType.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/Usernames.swift b/Sources/TDLibKit/Generated/Models/Usernames.swift index b013c84b7e..f516fae7b8 100644 --- a/Sources/TDLibKit/Generated/Models/Usernames.swift +++ b/Sources/TDLibKit/Generated/Models/Usernames.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/Users.swift b/Sources/TDLibKit/Generated/Models/Users.swift index cbbec7ec63..9f3d84e699 100644 --- a/Sources/TDLibKit/Generated/Models/Users.swift +++ b/Sources/TDLibKit/Generated/Models/Users.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/ValidateOrderInfo.swift b/Sources/TDLibKit/Generated/Models/ValidateOrderInfo.swift index 5556a8f4a4..c2a0ce451c 100644 --- a/Sources/TDLibKit/Generated/Models/ValidateOrderInfo.swift +++ b/Sources/TDLibKit/Generated/Models/ValidateOrderInfo.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/ValidatedOrderInfo.swift b/Sources/TDLibKit/Generated/Models/ValidatedOrderInfo.swift index bb321152a8..1df77968d6 100644 --- a/Sources/TDLibKit/Generated/Models/ValidatedOrderInfo.swift +++ b/Sources/TDLibKit/Generated/Models/ValidatedOrderInfo.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/VectorPathCommand.swift b/Sources/TDLibKit/Generated/Models/VectorPathCommand.swift index f2c331a069..12645da081 100644 --- a/Sources/TDLibKit/Generated/Models/VectorPathCommand.swift +++ b/Sources/TDLibKit/Generated/Models/VectorPathCommand.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/Venue.swift b/Sources/TDLibKit/Generated/Models/Venue.swift index c288e8ae45..f2918828f9 100644 --- a/Sources/TDLibKit/Generated/Models/Venue.swift +++ b/Sources/TDLibKit/Generated/Models/Venue.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/Video.swift b/Sources/TDLibKit/Generated/Models/Video.swift index 654fe021dd..67fd63eb4a 100644 --- a/Sources/TDLibKit/Generated/Models/Video.swift +++ b/Sources/TDLibKit/Generated/Models/Video.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/VideoChat.swift b/Sources/TDLibKit/Generated/Models/VideoChat.swift index ffd7712063..4e9a3f9ac1 100644 --- a/Sources/TDLibKit/Generated/Models/VideoChat.swift +++ b/Sources/TDLibKit/Generated/Models/VideoChat.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/VideoNote.swift b/Sources/TDLibKit/Generated/Models/VideoNote.swift index 68c93bac3d..33f51184c6 100644 --- a/Sources/TDLibKit/Generated/Models/VideoNote.swift +++ b/Sources/TDLibKit/Generated/Models/VideoNote.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/ViewMessages.swift b/Sources/TDLibKit/Generated/Models/ViewMessages.swift index 06d0d40e88..a5de9c075d 100644 --- a/Sources/TDLibKit/Generated/Models/ViewMessages.swift +++ b/Sources/TDLibKit/Generated/Models/ViewMessages.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/ViewPremiumFeature.swift b/Sources/TDLibKit/Generated/Models/ViewPremiumFeature.swift index ad0973c33b..0116ac5d92 100644 --- a/Sources/TDLibKit/Generated/Models/ViewPremiumFeature.swift +++ b/Sources/TDLibKit/Generated/Models/ViewPremiumFeature.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/ViewTrendingStickerSets.swift b/Sources/TDLibKit/Generated/Models/ViewTrendingStickerSets.swift index f90ca45c88..8552a3c428 100644 --- a/Sources/TDLibKit/Generated/Models/ViewTrendingStickerSets.swift +++ b/Sources/TDLibKit/Generated/Models/ViewTrendingStickerSets.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/VoiceNote.swift b/Sources/TDLibKit/Generated/Models/VoiceNote.swift index 8e8a0742be..d299db5326 100644 --- a/Sources/TDLibKit/Generated/Models/VoiceNote.swift +++ b/Sources/TDLibKit/Generated/Models/VoiceNote.swift @@ -3,20 +3,20 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation -/// Describes a voice note. The voice note must be encoded with the Opus codec, and stored inside an OGG container. Voice notes can have only a single audio channel +/// Describes a voice note public struct VoiceNote: Codable, Equatable, Hashable { /// Duration of the voice note, in seconds; as defined by the sender public let duration: Int - /// MIME type of the file; as defined by the sender + /// MIME type of the file; as defined by the sender. Usually, one of "audio/ogg" for Opus in an OGG container, "audio/mpeg" for an MP3 audio, or "audio/mp4" for an M4A audio public let mimeType: String /// Result of speech recognition in the voice note; may be null diff --git a/Sources/TDLibKit/Generated/Models/WebApp.swift b/Sources/TDLibKit/Generated/Models/WebApp.swift index 057722a4bf..c90ddb647c 100644 --- a/Sources/TDLibKit/Generated/Models/WebApp.swift +++ b/Sources/TDLibKit/Generated/Models/WebApp.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/WebAppInfo.swift b/Sources/TDLibKit/Generated/Models/WebAppInfo.swift index ef1ed99e8c..1526dccc7c 100644 --- a/Sources/TDLibKit/Generated/Models/WebAppInfo.swift +++ b/Sources/TDLibKit/Generated/Models/WebAppInfo.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/WebPage.swift b/Sources/TDLibKit/Generated/Models/WebPage.swift index d340178f47..d72faf33d4 100644 --- a/Sources/TDLibKit/Generated/Models/WebPage.swift +++ b/Sources/TDLibKit/Generated/Models/WebPage.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation @@ -69,6 +69,9 @@ public struct WebPage: Codable, Equatable, Hashable { /// Preview of the content as a sticker for small WEBP files, if available; may be null public let sticker: Sticker? + /// Up to 4 stickers from the sticker set available via the link + public let stickers: [Sticker] + /// The identifier of the previewed story; 0 if none public let storyId: Int @@ -114,6 +117,7 @@ public struct WebPage: Codable, Equatable, Hashable { siteName: String, skipConfirmation: Bool, sticker: Sticker?, + stickers: [Sticker], storyId: Int, storySenderChatId: Int64, title: String, @@ -142,6 +146,7 @@ public struct WebPage: Codable, Equatable, Hashable { self.siteName = siteName self.skipConfirmation = skipConfirmation self.sticker = sticker + self.stickers = stickers self.storyId = storyId self.storySenderChatId = storySenderChatId self.title = title diff --git a/Sources/TDLibKit/Generated/Models/WebPageInstantView.swift b/Sources/TDLibKit/Generated/Models/WebPageInstantView.swift index f3df99f515..58ebc0797c 100644 --- a/Sources/TDLibKit/Generated/Models/WebPageInstantView.swift +++ b/Sources/TDLibKit/Generated/Models/WebPageInstantView.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Models/WriteGeneratedFilePart.swift b/Sources/TDLibKit/Generated/Models/WriteGeneratedFilePart.swift index 083a7c8e52..18f7ea88f0 100644 --- a/Sources/TDLibKit/Generated/Models/WriteGeneratedFilePart.swift +++ b/Sources/TDLibKit/Generated/Models/WriteGeneratedFilePart.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Supporting/DTO.swift b/Sources/TDLibKit/Generated/Supporting/DTO.swift index 8284d87575..c28435cdcf 100644 --- a/Sources/TDLibKit/Generated/Supporting/DTO.swift +++ b/Sources/TDLibKit/Generated/Supporting/DTO.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Supporting/DtoCodingKeys.swift b/Sources/TDLibKit/Generated/Supporting/DtoCodingKeys.swift index bae76c3e1d..745171173e 100644 --- a/Sources/TDLibKit/Generated/Supporting/DtoCodingKeys.swift +++ b/Sources/TDLibKit/Generated/Supporting/DtoCodingKeys.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Supporting/JSONDecoder+Result.swift b/Sources/TDLibKit/Generated/Supporting/JSONDecoder+Result.swift index 20e783c573..76fc546259 100644 --- a/Sources/TDLibKit/Generated/Supporting/JSONDecoder+Result.swift +++ b/Sources/TDLibKit/Generated/Supporting/JSONDecoder+Result.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Supporting/Logger.swift b/Sources/TDLibKit/Generated/Supporting/Logger.swift index b7591753f5..43b3fc2e7d 100644 --- a/Sources/TDLibKit/Generated/Supporting/Logger.swift +++ b/Sources/TDLibKit/Generated/Supporting/Logger.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/Sources/TDLibKit/Generated/Supporting/TdInt64.swift b/Sources/TDLibKit/Generated/Supporting/TdInt64.swift index 9de0c7854a..b14e46d7c8 100644 --- a/Sources/TDLibKit/Generated/Supporting/TdInt64.swift +++ b/Sources/TDLibKit/Generated/Supporting/TdInt64.swift @@ -3,8 +3,8 @@ // tl2swift // // Generated automatically. Any changes will be lost! -// Based on TDLib 1.8.28-77b34797 -// https://github.com/tdlib/td/tree/77b34797 +// Based on TDLib 1.8.29-e4796b9b +// https://github.com/tdlib/td/tree/e4796b9b // import Foundation diff --git a/versions.json b/versions.json index 3d79369d39..de02bd9011 100644 --- a/versions.json +++ b/versions.json @@ -1,6 +1,6 @@ { "package": "1.5.1", - "tdlib_version": "1.8.28", - "tdlib_commit": "77b34797", - "tdlibframework_version": "1.8.28-77b34797" + "tdlib_version": "1.8.29", + "tdlib_commit": "e4796b9b", + "tdlibframework_version": "1.8.29-e4796b9b" } \ No newline at end of file