Repository: Swiftgram/TDLibKit Branch: main Commit: ed66360b618f Files: 1823 Total size: 5.7 MB Directory structure: gitextract_z0lds0ov/ ├── .github/ │ └── workflows/ │ └── ci.yml ├── .gitignore ├── .swiftpm/ │ └── xcode/ │ ├── package.xcworkspace/ │ │ └── xcshareddata/ │ │ └── IDEWorkspaceChecks.plist │ └── xcshareddata/ │ └── xcschemes/ │ └── TDLibKit.xcscheme ├── LICENSE ├── Package.resolved ├── Package.swift ├── README.md ├── Sources/ │ └── TDLibKit/ │ ├── Generated/ │ │ ├── API/ │ │ │ ├── TDLibApi.swift │ │ │ ├── TdApi.swift │ │ │ └── TdClient.swift │ │ ├── Models/ │ │ │ ├── AccentColor.swift │ │ │ ├── AcceptCall.swift │ │ │ ├── AcceptOauthRequest.swift │ │ │ ├── AcceptTermsOfService.swift │ │ │ ├── AcceptedGiftTypes.swift │ │ │ ├── AccountInfo.swift │ │ │ ├── AccountTtl.swift │ │ │ ├── ActivateStoryStealthMode.swift │ │ │ ├── ActiveStoryState.swift │ │ │ ├── AddBotMediaPreview.swift │ │ │ ├── AddChatFolderByInviteLink.swift │ │ │ ├── AddChatMember.swift │ │ │ ├── AddChatMembers.swift │ │ │ ├── AddChatToList.swift │ │ │ ├── AddChecklistTasks.swift │ │ │ ├── AddContact.swift │ │ │ ├── AddCustomServerLanguagePack.swift │ │ │ ├── AddFavoriteSticker.swift │ │ │ ├── AddFileToDownloads.swift │ │ │ ├── AddGiftCollectionGifts.swift │ │ │ ├── AddLocalMessage.swift │ │ │ ├── AddLogMessage.swift │ │ │ ├── AddLoginPasskey.swift │ │ │ ├── AddMessageReaction.swift │ │ │ ├── AddNetworkStatistics.swift │ │ │ ├── AddOffer.swift │ │ │ ├── AddPaidMessageReaction.swift │ │ │ ├── AddPendingLiveStoryReaction.swift │ │ │ ├── AddPendingPaidMessageReaction.swift │ │ │ ├── AddPollOption.swift │ │ │ ├── AddProfileAudio.swift │ │ │ ├── AddProxy.swift │ │ │ ├── AddQuickReplyShortcutInlineQueryResultMessage.swift │ │ │ ├── AddQuickReplyShortcutMessage.swift │ │ │ ├── AddQuickReplyShortcutMessageAlbum.swift │ │ │ ├── AddRecentSticker.swift │ │ │ ├── AddRecentlyFoundChat.swift │ │ │ ├── AddSavedAnimation.swift │ │ │ ├── AddSavedNotificationSound.swift │ │ │ ├── AddStickerToSet.swift │ │ │ ├── AddStoryAlbumStories.swift │ │ │ ├── AddTextCompositionStyle.swift │ │ │ ├── AddedProxies.swift │ │ │ ├── AddedProxy.swift │ │ │ ├── AddedReaction.swift │ │ │ ├── AddedReactions.swift │ │ │ ├── Address.swift │ │ │ ├── AdvertisementSponsor.swift │ │ │ ├── AffiliateInfo.swift │ │ │ ├── AffiliateProgramInfo.swift │ │ │ ├── AffiliateProgramParameters.swift │ │ │ ├── AffiliateProgramSortOrder.swift │ │ │ ├── AffiliateType.swift │ │ │ ├── AgeVerificationParameters.swift │ │ │ ├── AllowBotToSendMessages.swift │ │ │ ├── AllowUnpaidMessagesFromUser.swift │ │ │ ├── AlternativeVideo.swift │ │ │ ├── AnimatedChatPhoto.swift │ │ │ ├── AnimatedEmoji.swift │ │ │ ├── Animation.swift │ │ │ ├── Animations.swift │ │ │ ├── AnswerCallbackQuery.swift │ │ │ ├── AnswerCustomQuery.swift │ │ │ ├── AnswerGuestQuery.swift │ │ │ ├── AnswerInlineQuery.swift │ │ │ ├── AnswerPreCheckoutQuery.swift │ │ │ ├── AnswerShippingQuery.swift │ │ │ ├── AnswerWebAppQuery.swift │ │ │ ├── ApplyPremiumGiftCode.swift │ │ │ ├── ApproveSuggestedPost.swift │ │ │ ├── ArchiveChatListSettings.swift │ │ │ ├── AssignAppStoreTransaction.swift │ │ │ ├── AssignGooglePlayTransaction.swift │ │ │ ├── AssignStoreTransaction.swift │ │ │ ├── AttachmentMenuBot.swift │ │ │ ├── AttachmentMenuBotColor.swift │ │ │ ├── AttributeCraftPersistenceProbability.swift │ │ │ ├── AuctionBid.swift │ │ │ ├── AuctionRound.swift │ │ │ ├── AuctionState.swift │ │ │ ├── Audio.swift │ │ │ ├── Audios.swift │ │ │ ├── AuthenticationCodeInfo.swift │ │ │ ├── AuthenticationCodeType.swift │ │ │ ├── AuthorizationState.swift │ │ │ ├── AutoDownloadSettings.swift │ │ │ ├── AutoDownloadSettingsPresets.swift │ │ │ ├── AutosaveSettings.swift │ │ │ ├── AutosaveSettingsException.swift │ │ │ ├── AutosaveSettingsScope.swift │ │ │ ├── AvailableGift.swift │ │ │ ├── AvailableGifts.swift │ │ │ ├── AvailableReaction.swift │ │ │ ├── AvailableReactions.swift │ │ │ ├── Background.swift │ │ │ ├── BackgroundFill.swift │ │ │ ├── BackgroundType.swift │ │ │ ├── Backgrounds.swift │ │ │ ├── BanChatMember.swift │ │ │ ├── BanGroupCallParticipants.swift │ │ │ ├── BankCardActionOpenUrl.swift │ │ │ ├── BankCardInfo.swift │ │ │ ├── BasicGroup.swift │ │ │ ├── BasicGroupFullInfo.swift │ │ │ ├── Birthdate.swift │ │ │ ├── BlockList.swift │ │ │ ├── BlockMessageSenderFromReplies.swift │ │ │ ├── BoostChat.swift │ │ │ ├── BotAccessSettings.swift │ │ │ ├── BotCommand.swift │ │ │ ├── BotCommandScope.swift │ │ │ ├── BotCommands.swift │ │ │ ├── BotInfo.swift │ │ │ ├── BotMediaPreview.swift │ │ │ ├── BotMediaPreviewInfo.swift │ │ │ ├── BotMediaPreviews.swift │ │ │ ├── BotMenuButton.swift │ │ │ ├── BotTransactionPurpose.swift │ │ │ ├── BotVerification.swift │ │ │ ├── BotVerificationParameters.swift │ │ │ ├── BotWriteAccessAllowReason.swift │ │ │ ├── BuiltInTheme.swift │ │ │ ├── BusinessAwayMessageSchedule.swift │ │ │ ├── BusinessAwayMessageSettings.swift │ │ │ ├── BusinessBotManageBar.swift │ │ │ ├── BusinessBotRights.swift │ │ │ ├── BusinessChatLink.swift │ │ │ ├── BusinessChatLinkInfo.swift │ │ │ ├── BusinessChatLinks.swift │ │ │ ├── BusinessConnectedBot.swift │ │ │ ├── BusinessConnection.swift │ │ │ ├── BusinessFeature.swift │ │ │ ├── BusinessFeaturePromotionAnimation.swift │ │ │ ├── BusinessFeatures.swift │ │ │ ├── BusinessGreetingMessageSettings.swift │ │ │ ├── BusinessInfo.swift │ │ │ ├── BusinessLocation.swift │ │ │ ├── BusinessMessage.swift │ │ │ ├── BusinessMessages.swift │ │ │ ├── BusinessOpeningHours.swift │ │ │ ├── BusinessOpeningHoursInterval.swift │ │ │ ├── BusinessRecipients.swift │ │ │ ├── BusinessStartPage.swift │ │ │ ├── ButtonStyle.swift │ │ │ ├── BuyGiftUpgrade.swift │ │ │ ├── Call.swift │ │ │ ├── CallDiscardReason.swift │ │ │ ├── CallId.swift │ │ │ ├── CallProblem.swift │ │ │ ├── CallProtocol.swift │ │ │ ├── CallServer.swift │ │ │ ├── CallServerType.swift │ │ │ ├── CallState.swift │ │ │ ├── CallbackQueryAnswer.swift │ │ │ ├── CallbackQueryPayload.swift │ │ │ ├── CanBotSendMessages.swift │ │ │ ├── CanPostStory.swift │ │ │ ├── CanPostStoryResult.swift │ │ │ ├── CanPurchaseFromStore.swift │ │ │ ├── CanPurchasePremium.swift │ │ │ ├── CanSendGift.swift │ │ │ ├── CanSendGiftResult.swift │ │ │ ├── CanSendMessageToUser.swift │ │ │ ├── CanSendMessageToUserResult.swift │ │ │ ├── CanSendStory.swift │ │ │ ├── CanSendStoryResult.swift │ │ │ ├── CanTransferOwnership.swift │ │ │ ├── CanTransferOwnershipResult.swift │ │ │ ├── CancelDownloadFile.swift │ │ │ ├── CancelPasswordReset.swift │ │ │ ├── CancelPreliminaryUploadFile.swift │ │ │ ├── CancelRecoveryEmailAddressVerification.swift │ │ │ ├── ChangeImportedContacts.swift │ │ │ ├── ChangeStickerSet.swift │ │ │ ├── ChannelTransactionPurpose.swift │ │ │ ├── Chat.swift │ │ │ ├── ChatAction.swift │ │ │ ├── ChatActionBar.swift │ │ │ ├── ChatActiveStories.swift │ │ │ ├── ChatAdministrator.swift │ │ │ ├── ChatAdministratorRights.swift │ │ │ ├── ChatAdministrators.swift │ │ │ ├── ChatAffiliateProgram.swift │ │ │ ├── ChatAffiliatePrograms.swift │ │ │ ├── ChatAvailableReactions.swift │ │ │ ├── ChatBackground.swift │ │ │ ├── ChatBoost.swift │ │ │ ├── ChatBoostFeatures.swift │ │ │ ├── ChatBoostLevelFeatures.swift │ │ │ ├── ChatBoostLink.swift │ │ │ ├── ChatBoostLinkInfo.swift │ │ │ ├── ChatBoostSlot.swift │ │ │ ├── ChatBoostSlots.swift │ │ │ ├── ChatBoostSource.swift │ │ │ ├── ChatBoostStatus.swift │ │ │ ├── ChatEvent.swift │ │ │ ├── ChatEventAction.swift │ │ │ ├── ChatEventLogFilters.swift │ │ │ ├── ChatEvents.swift │ │ │ ├── ChatFolder.swift │ │ │ ├── ChatFolderIcon.swift │ │ │ ├── ChatFolderInfo.swift │ │ │ ├── ChatFolderInviteLink.swift │ │ │ ├── ChatFolderInviteLinkInfo.swift │ │ │ ├── ChatFolderInviteLinks.swift │ │ │ ├── ChatFolderName.swift │ │ │ ├── ChatInviteLink.swift │ │ │ ├── ChatInviteLinkCount.swift │ │ │ ├── ChatInviteLinkCounts.swift │ │ │ ├── ChatInviteLinkInfo.swift │ │ │ ├── ChatInviteLinkMember.swift │ │ │ ├── ChatInviteLinkMembers.swift │ │ │ ├── ChatInviteLinkSubscriptionInfo.swift │ │ │ ├── ChatInviteLinks.swift │ │ │ ├── ChatJoinRequest.swift │ │ │ ├── ChatJoinRequests.swift │ │ │ ├── ChatJoinRequestsInfo.swift │ │ │ ├── ChatList.swift │ │ │ ├── ChatLists.swift │ │ │ ├── ChatLocation.swift │ │ │ ├── ChatMember.swift │ │ │ ├── ChatMemberStatus.swift │ │ │ ├── ChatMembers.swift │ │ │ ├── ChatMembersFilter.swift │ │ │ ├── ChatMessageSender.swift │ │ │ ├── ChatMessageSenders.swift │ │ │ ├── ChatNearby.swift │ │ │ ├── ChatNotificationSettings.swift │ │ │ ├── ChatPermissions.swift │ │ │ ├── ChatPhoto.swift │ │ │ ├── ChatPhotoInfo.swift │ │ │ ├── ChatPhotoSticker.swift │ │ │ ├── ChatPhotoStickerType.swift │ │ │ ├── ChatPhotos.swift │ │ │ ├── ChatPosition.swift │ │ │ ├── ChatRevenueAmount.swift │ │ │ ├── ChatRevenueStatistics.swift │ │ │ ├── ChatRevenueTransaction.swift │ │ │ ├── ChatRevenueTransactionType.swift │ │ │ ├── ChatRevenueTransactions.swift │ │ │ ├── ChatRevenueWithdrawalState.swift │ │ │ ├── ChatSource.swift │ │ │ ├── ChatStatistics.swift │ │ │ ├── ChatStatisticsAdministratorActionsInfo.swift │ │ │ ├── ChatStatisticsInteractionInfo.swift │ │ │ ├── ChatStatisticsInviterInfo.swift │ │ │ ├── ChatStatisticsMessageSenderInfo.swift │ │ │ ├── ChatStatisticsObjectType.swift │ │ │ ├── ChatTheme.swift │ │ │ ├── ChatTransactionPurpose.swift │ │ │ ├── ChatType.swift │ │ │ ├── Chats.swift │ │ │ ├── ChatsNearby.swift │ │ │ ├── CheckAuthenticationBotToken.swift │ │ │ ├── CheckAuthenticationCode.swift │ │ │ ├── CheckAuthenticationEmailCode.swift │ │ │ ├── CheckAuthenticationPasskey.swift │ │ │ ├── CheckAuthenticationPassword.swift │ │ │ ├── CheckAuthenticationPasswordRecoveryCode.swift │ │ │ ├── CheckAuthenticationPremiumPurchase.swift │ │ │ ├── CheckBotUsername.swift │ │ │ ├── CheckChatFolderInviteLink.swift │ │ │ ├── CheckChatInviteLink.swift │ │ │ ├── CheckChatUsername.swift │ │ │ ├── CheckChatUsernameResult.swift │ │ │ ├── CheckCreatedPublicChatsLimit.swift │ │ │ ├── CheckEmailAddressVerificationCode.swift │ │ │ ├── CheckLoginEmailAddressCode.swift │ │ │ ├── CheckOauthRequestMatchCode.swift │ │ │ ├── CheckPasswordRecoveryCode.swift │ │ │ ├── CheckPhoneNumberCode.swift │ │ │ ├── CheckPremiumGiftCode.swift │ │ │ ├── CheckQuickReplyShortcutName.swift │ │ │ ├── CheckRecoveryEmailAddressCode.swift │ │ │ ├── CheckStickerSetName.swift │ │ │ ├── CheckStickerSetNameResult.swift │ │ │ ├── CheckWebAppFileDownload.swift │ │ │ ├── Checklist.swift │ │ │ ├── ChecklistTask.swift │ │ │ ├── CleanFileName.swift │ │ │ ├── ClearAllDraftMessages.swift │ │ │ ├── ClearAutosaveSettingsExceptions.swift │ │ │ ├── ClearImportedContacts.swift │ │ │ ├── ClearRecentEmojiStatuses.swift │ │ │ ├── ClearRecentReactions.swift │ │ │ ├── ClearRecentStickers.swift │ │ │ ├── ClearRecentlyFoundChats.swift │ │ │ ├── ClearSearchedForHashtags.swift │ │ │ ├── ClearSearchedForTags.swift │ │ │ ├── ClickAnimatedEmojiMessage.swift │ │ │ ├── ClickChatSponsoredMessage.swift │ │ │ ├── ClickPremiumSubscriptionButton.swift │ │ │ ├── ClickVideoMessageAdvertisement.swift │ │ │ ├── Close.swift │ │ │ ├── CloseBirthdayUser.swift │ │ │ ├── CloseChat.swift │ │ │ ├── CloseGiftAuction.swift │ │ │ ├── CloseSecretChat.swift │ │ │ ├── CloseStory.swift │ │ │ ├── CloseWebApp.swift │ │ │ ├── ClosedVectorPath.swift │ │ │ ├── CollectibleItemInfo.swift │ │ │ ├── CollectibleItemType.swift │ │ │ ├── CommitPendingLiveStoryReactions.swift │ │ │ ├── CommitPendingPaidMessageReactions.swift │ │ │ ├── ComposeTextWithAi.swift │ │ │ ├── ConfirmQrCodeAuthentication.swift │ │ │ ├── ConfirmSession.swift │ │ │ ├── ConnectAffiliateProgram.swift │ │ │ ├── ConnectChatAffiliateProgram.swift │ │ │ ├── ConnectedAffiliateProgram.swift │ │ │ ├── ConnectedAffiliatePrograms.swift │ │ │ ├── ConnectedWebsite.swift │ │ │ ├── ConnectedWebsites.swift │ │ │ ├── ConnectionState.swift │ │ │ ├── Contact.swift │ │ │ ├── Count.swift │ │ │ ├── Countries.swift │ │ │ ├── CountryInfo.swift │ │ │ ├── CraftGift.swift │ │ │ ├── CraftGiftResult.swift │ │ │ ├── CreateBasicGroupChat.swift │ │ │ ├── CreateBot.swift │ │ │ ├── CreateBusinessChatLink.swift │ │ │ ├── CreateCall.swift │ │ │ ├── CreateChatFolder.swift │ │ │ ├── CreateChatFolderInviteLink.swift │ │ │ ├── CreateChatInviteLink.swift │ │ │ ├── CreateChatSubscriptionInviteLink.swift │ │ │ ├── CreateForumTopic.swift │ │ │ ├── CreateGiftCollection.swift │ │ │ ├── CreateGroupCall.swift │ │ │ ├── CreateInvoiceLink.swift │ │ │ ├── CreateNewBasicGroupChat.swift │ │ │ ├── CreateNewSecretChat.swift │ │ │ ├── CreateNewStickerSet.swift │ │ │ ├── CreateNewSupergroupChat.swift │ │ │ ├── CreatePrivateChat.swift │ │ │ ├── CreateSecretChat.swift │ │ │ ├── CreateStoryAlbum.swift │ │ │ ├── CreateSupergroupChat.swift │ │ │ ├── CreateTemporaryPassword.swift │ │ │ ├── CreateTextCompositionStyle.swift │ │ │ ├── CreateVideoChat.swift │ │ │ ├── CreatedBasicGroupChat.swift │ │ │ ├── CurrentWeather.swift │ │ │ ├── CustomRequestResult.swift │ │ │ ├── Data.swift │ │ │ ├── DatabaseStatistics.swift │ │ │ ├── Date.swift │ │ │ ├── DateRange.swift │ │ │ ├── DateTimeFormattingType.swift │ │ │ ├── DateTimePartPrecision.swift │ │ │ ├── DatedFile.swift │ │ │ ├── DeclineGroupCallInvitation.swift │ │ │ ├── DeclineOauthRequest.swift │ │ │ ├── DeclineSuggestedPost.swift │ │ │ ├── DecryptGroupCallData.swift │ │ │ ├── DeepLinkInfo.swift │ │ │ ├── DeleteAccount.swift │ │ │ ├── DeleteAllCallMessages.swift │ │ │ ├── DeleteAllRecentMessageReactionsFromSender.swift │ │ │ ├── DeleteAllRevokedChatInviteLinks.swift │ │ │ ├── DeleteBotMediaPreviews.swift │ │ │ ├── DeleteBusinessChatLink.swift │ │ │ ├── DeleteBusinessConnectedBot.swift │ │ │ ├── DeleteBusinessMessages.swift │ │ │ ├── DeleteBusinessStory.swift │ │ │ ├── DeleteChat.swift │ │ │ ├── DeleteChatBackground.swift │ │ │ ├── DeleteChatFolder.swift │ │ │ ├── DeleteChatFolderInviteLink.swift │ │ │ ├── DeleteChatHistory.swift │ │ │ ├── DeleteChatMessagesByDate.swift │ │ │ ├── DeleteChatMessagesBySender.swift │ │ │ ├── DeleteChatReplyMarkup.swift │ │ │ ├── DeleteCommands.swift │ │ │ ├── DeleteDefaultBackground.swift │ │ │ ├── DeleteDirectMessagesChatTopicHistory.swift │ │ │ ├── DeleteDirectMessagesChatTopicMessagesByDate.swift │ │ │ ├── DeleteFile.swift │ │ │ ├── DeleteForumTopic.swift │ │ │ ├── DeleteGiftCollection.swift │ │ │ ├── DeleteGroupCallMessages.swift │ │ │ ├── DeleteGroupCallMessagesBySender.swift │ │ │ ├── DeleteLanguagePack.swift │ │ │ ├── DeleteMessageReactionsFromSender.swift │ │ │ ├── DeleteMessages.swift │ │ │ ├── DeletePassportElement.swift │ │ │ ├── DeletePollOption.swift │ │ │ ├── DeleteProfilePhoto.swift │ │ │ ├── DeleteQuickReplyShortcut.swift │ │ │ ├── DeleteQuickReplyShortcutMessages.swift │ │ │ ├── DeleteRevokedChatInviteLink.swift │ │ │ ├── DeleteSavedCredentials.swift │ │ │ ├── DeleteSavedMessagesTopicHistory.swift │ │ │ ├── DeleteSavedMessagesTopicMessagesByDate.swift │ │ │ ├── DeleteSavedOrderInfo.swift │ │ │ ├── DeleteStickerSet.swift │ │ │ ├── DeleteStory.swift │ │ │ ├── DeleteStoryAlbum.swift │ │ │ ├── DeleteTextCompositionStyle.swift │ │ │ ├── Destroy.swift │ │ │ ├── DeviceToken.swift │ │ │ ├── DiceStickers.swift │ │ │ ├── DiffEntity.swift │ │ │ ├── DiffEntityType.swift │ │ │ ├── DiffText.swift │ │ │ ├── DirectMessagesChatTopic.swift │ │ │ ├── DisableAllSupergroupUsernames.swift │ │ │ ├── DisableProxy.swift │ │ │ ├── DiscardCall.swift │ │ │ ├── DisconnectAffiliateProgram.swift │ │ │ ├── DisconnectAllWebsites.swift │ │ │ ├── DisconnectChatAffiliateProgram.swift │ │ │ ├── DisconnectWebsite.swift │ │ │ ├── Document.swift │ │ │ ├── DownloadFile.swift │ │ │ ├── DownloadedFileCounts.swift │ │ │ ├── DraftMessage.swift │ │ │ ├── DropGiftOriginalDetails.swift │ │ │ ├── EditBotMediaPreview.swift │ │ │ ├── EditBusinessChatLink.swift │ │ │ ├── EditBusinessMessageCaption.swift │ │ │ ├── EditBusinessMessageChecklist.swift │ │ │ ├── EditBusinessMessageLiveLocation.swift │ │ │ ├── EditBusinessMessageMedia.swift │ │ │ ├── EditBusinessMessageReplyMarkup.swift │ │ │ ├── EditBusinessMessageText.swift │ │ │ ├── EditBusinessStory.swift │ │ │ ├── EditChatFolder.swift │ │ │ ├── EditChatFolderInviteLink.swift │ │ │ ├── EditChatInviteLink.swift │ │ │ ├── EditChatSubscriptionInviteLink.swift │ │ │ ├── EditCustomLanguagePackInfo.swift │ │ │ ├── EditForumTopic.swift │ │ │ ├── EditInlineMessageCaption.swift │ │ │ ├── EditInlineMessageLiveLocation.swift │ │ │ ├── EditInlineMessageMedia.swift │ │ │ ├── EditInlineMessageReplyMarkup.swift │ │ │ ├── EditInlineMessageText.swift │ │ │ ├── EditMessageCaption.swift │ │ │ ├── EditMessageChecklist.swift │ │ │ ├── EditMessageLiveLocation.swift │ │ │ ├── EditMessageMedia.swift │ │ │ ├── EditMessageReplyMarkup.swift │ │ │ ├── EditMessageSchedulingState.swift │ │ │ ├── EditMessageText.swift │ │ │ ├── EditProxy.swift │ │ │ ├── EditQuickReplyMessage.swift │ │ │ ├── EditStarSubscription.swift │ │ │ ├── EditStory.swift │ │ │ ├── EditStoryCover.swift │ │ │ ├── EditTextCompositionStyle.swift │ │ │ ├── EditUserStarSubscription.swift │ │ │ ├── EmailAddressAuthentication.swift │ │ │ ├── EmailAddressAuthenticationCodeInfo.swift │ │ │ ├── EmailAddressResetState.swift │ │ │ ├── EmojiCategories.swift │ │ │ ├── EmojiCategory.swift │ │ │ ├── EmojiCategorySource.swift │ │ │ ├── EmojiCategoryType.swift │ │ │ ├── EmojiChatTheme.swift │ │ │ ├── EmojiKeyword.swift │ │ │ ├── EmojiKeywords.swift │ │ │ ├── EmojiReaction.swift │ │ │ ├── EmojiStatus.swift │ │ │ ├── EmojiStatusCustomEmojis.swift │ │ │ ├── EmojiStatusType.swift │ │ │ ├── EmojiStatuses.swift │ │ │ ├── Emojis.swift │ │ │ ├── EnableProxy.swift │ │ │ ├── EncryptGroupCallData.swift │ │ │ ├── EncryptedCredentials.swift │ │ │ ├── EncryptedPassportElement.swift │ │ │ ├── EndGroupCall.swift │ │ │ ├── EndGroupCallRecording.swift │ │ │ ├── EndGroupCallScreenSharing.swift │ │ │ ├── Error.swift │ │ │ ├── FactCheck.swift │ │ │ ├── FailedToAddMember.swift │ │ │ ├── FailedToAddMembers.swift │ │ │ ├── File.swift │ │ │ ├── FileDownload.swift │ │ │ ├── FileDownloadedPrefixSize.swift │ │ │ ├── FilePart.swift │ │ │ ├── FileType.swift │ │ │ ├── FinishFileGeneration.swift │ │ │ ├── FirebaseAuthenticationSettings.swift │ │ │ ├── FirebaseDeviceVerificationParameters.swift │ │ │ ├── FixTextWithAi.swift │ │ │ ├── FixedText.swift │ │ │ ├── FormattedText.swift │ │ │ ├── ForumTopic.swift │ │ │ ├── ForumTopicIcon.swift │ │ │ ├── ForumTopicInfo.swift │ │ │ ├── ForumTopics.swift │ │ │ ├── ForwardMessages.swift │ │ │ ├── ForwardSource.swift │ │ │ ├── FoundAffiliateProgram.swift │ │ │ ├── FoundAffiliatePrograms.swift │ │ │ ├── FoundChatBoosts.swift │ │ │ ├── FoundChatMessages.swift │ │ │ ├── FoundFileDownloads.swift │ │ │ ├── FoundMessages.swift │ │ │ ├── FoundPosition.swift │ │ │ ├── FoundPositions.swift │ │ │ ├── FoundPublicPosts.swift │ │ │ ├── FoundStories.swift │ │ │ ├── FoundUsers.swift │ │ │ ├── FoundWebApp.swift │ │ │ ├── Game.swift │ │ │ ├── GameHighScore.swift │ │ │ ├── GameHighScores.swift │ │ │ ├── GetAccountTtl.swift │ │ │ ├── GetActiveLiveLocationMessages.swift │ │ │ ├── GetActiveSessions.swift │ │ │ ├── GetAllPassportElements.swift │ │ │ ├── GetAllStickerEmojis.swift │ │ │ ├── GetAnimatedEmoji.swift │ │ │ ├── GetApplicationConfig.swift │ │ │ ├── GetApplicationDownloadLink.swift │ │ │ ├── GetArchiveChatListSettings.swift │ │ │ ├── GetArchivedStickerSets.swift │ │ │ ├── GetAttachedStickerSets.swift │ │ │ ├── GetAttachmentMenuBot.swift │ │ │ ├── GetAuthenticationPasskeyParameters.swift │ │ │ ├── GetAuthorizationState.swift │ │ │ ├── GetAutoDownloadSettingsPresets.swift │ │ │ ├── GetAutosaveSettings.swift │ │ │ ├── GetAvailableChatBoostSlots.swift │ │ │ ├── GetAvailableGifts.swift │ │ │ ├── GetBackgroundUrl.swift │ │ │ ├── GetBankCardInfo.swift │ │ │ ├── GetBasicGroup.swift │ │ │ ├── GetBasicGroupFullInfo.swift │ │ │ ├── GetBlockedMessageSenders.swift │ │ │ ├── GetBotInfoDescription.swift │ │ │ ├── GetBotInfoShortDescription.swift │ │ │ ├── GetBotMediaPreviewInfo.swift │ │ │ ├── GetBotMediaPreviews.swift │ │ │ ├── GetBotName.swift │ │ │ ├── GetBotSimilarBotCount.swift │ │ │ ├── GetBotSimilarBots.swift │ │ │ ├── GetBotToken.swift │ │ │ ├── GetBusinessAccountStarAmount.swift │ │ │ ├── GetBusinessChatLinkInfo.swift │ │ │ ├── GetBusinessChatLinks.swift │ │ │ ├── GetBusinessConnectedBot.swift │ │ │ ├── GetBusinessConnection.swift │ │ │ ├── GetBusinessFeatures.swift │ │ │ ├── GetCallbackQueryAnswer.swift │ │ │ ├── GetCallbackQueryMessage.swift │ │ │ ├── GetChat.swift │ │ │ ├── GetChatActiveStories.swift │ │ │ ├── GetChatAdministrators.swift │ │ │ ├── GetChatAffiliateProgram.swift │ │ │ ├── GetChatAffiliatePrograms.swift │ │ │ ├── GetChatArchivedStories.swift │ │ │ ├── GetChatAvailableMessageSenders.swift │ │ │ ├── GetChatAvailablePaidMessageReactionSenders.swift │ │ │ ├── GetChatBoostFeatures.swift │ │ │ ├── GetChatBoostLevelFeatures.swift │ │ │ ├── GetChatBoostLink.swift │ │ │ ├── GetChatBoostLinkInfo.swift │ │ │ ├── GetChatBoostStatus.swift │ │ │ ├── GetChatBoosts.swift │ │ │ ├── GetChatEventLog.swift │ │ │ ├── GetChatFolder.swift │ │ │ ├── GetChatFolderChatCount.swift │ │ │ ├── GetChatFolderChatsToLeave.swift │ │ │ ├── GetChatFolderDefaultIconName.swift │ │ │ ├── GetChatFolderInviteLinks.swift │ │ │ ├── GetChatFolderNewChats.swift │ │ │ ├── GetChatHistory.swift │ │ │ ├── GetChatInviteLink.swift │ │ │ ├── GetChatInviteLinkCounts.swift │ │ │ ├── GetChatInviteLinkMembers.swift │ │ │ ├── GetChatInviteLinks.swift │ │ │ ├── GetChatJoinRequests.swift │ │ │ ├── GetChatListsToAddChat.swift │ │ │ ├── GetChatMember.swift │ │ │ ├── GetChatMessageByDate.swift │ │ │ ├── GetChatMessageCalendar.swift │ │ │ ├── GetChatMessageCount.swift │ │ │ ├── GetChatMessagePosition.swift │ │ │ ├── GetChatNotificationSettingsExceptions.swift │ │ │ ├── GetChatOwnerAfterLeaving.swift │ │ │ ├── GetChatPinnedMessage.swift │ │ │ ├── GetChatPostedToChatPageStories.swift │ │ │ ├── GetChatRevenueStatistics.swift │ │ │ ├── GetChatRevenueTransactions.swift │ │ │ ├── GetChatRevenueWithdrawalUrl.swift │ │ │ ├── GetChatScheduledMessages.swift │ │ │ ├── GetChatSimilarChatCount.swift │ │ │ ├── GetChatSimilarChats.swift │ │ │ ├── GetChatSparseMessagePositions.swift │ │ │ ├── GetChatSponsoredMessages.swift │ │ │ ├── GetChatStatistics.swift │ │ │ ├── GetChatStoryAlbums.swift │ │ │ ├── GetChatStoryInteractions.swift │ │ │ ├── GetChats.swift │ │ │ ├── GetChatsForChatFolderInviteLink.swift │ │ │ ├── GetChatsToPostStories.swift │ │ │ ├── GetChatsToSendStories.swift │ │ │ ├── GetCloseFriends.swift │ │ │ ├── GetCollectibleItemInfo.swift │ │ │ ├── GetCommands.swift │ │ │ ├── GetConnectedAffiliateProgram.swift │ │ │ ├── GetConnectedAffiliatePrograms.swift │ │ │ ├── GetConnectedWebsites.swift │ │ │ ├── GetContacts.swift │ │ │ ├── GetCountries.swift │ │ │ ├── GetCountryCode.swift │ │ │ ├── GetCountryFlagEmoji.swift │ │ │ ├── GetCreatedPublicChats.swift │ │ │ ├── GetCurrentState.swift │ │ │ ├── GetCurrentWeather.swift │ │ │ ├── GetCustomEmojiReactionAnimations.swift │ │ │ ├── GetCustomEmojiStickers.swift │ │ │ ├── GetDatabaseStatistics.swift │ │ │ ├── GetDeepLinkInfo.swift │ │ │ ├── GetDefaultBackgroundCustomEmojiStickers.swift │ │ │ ├── GetDefaultChatEmojiStatuses.swift │ │ │ ├── GetDefaultChatPhotoCustomEmojiStickers.swift │ │ │ ├── GetDefaultEmojiStatuses.swift │ │ │ ├── GetDefaultMessageAutoDeleteTime.swift │ │ │ ├── GetDefaultProfilePhotoCustomEmojiStickers.swift │ │ │ ├── GetDirectMessagesChatTopic.swift │ │ │ ├── GetDirectMessagesChatTopicHistory.swift │ │ │ ├── GetDirectMessagesChatTopicMessageByDate.swift │ │ │ ├── GetDirectMessagesChatTopicRevenue.swift │ │ │ ├── GetDisallowedChatEmojiStatuses.swift │ │ │ ├── GetEmojiCategories.swift │ │ │ ├── GetEmojiReaction.swift │ │ │ ├── GetEmojiSuggestionsUrl.swift │ │ │ ├── GetExternalLink.swift │ │ │ ├── GetExternalLinkInfo.swift │ │ │ ├── GetFavoriteStickers.swift │ │ │ ├── GetFile.swift │ │ │ ├── GetFileDownloadedPrefixSize.swift │ │ │ ├── GetFileExtension.swift │ │ │ ├── GetFileMimeType.swift │ │ │ ├── GetForumTopic.swift │ │ │ ├── GetForumTopicDefaultIcons.swift │ │ │ ├── GetForumTopicHistory.swift │ │ │ ├── GetForumTopicLink.swift │ │ │ ├── GetForumTopics.swift │ │ │ ├── GetGameHighScores.swift │ │ │ ├── GetGiftAuctionAcquiredGifts.swift │ │ │ ├── GetGiftAuctionState.swift │ │ │ ├── GetGiftChatThemes.swift │ │ │ ├── GetGiftCollections.swift │ │ │ ├── GetGiftUpgradePreview.swift │ │ │ ├── GetGiftUpgradeVariants.swift │ │ │ ├── GetGiftsForCrafting.swift │ │ │ ├── GetGiveawayInfo.swift │ │ │ ├── GetGreetingStickers.swift │ │ │ ├── GetGrossingWebAppBots.swift │ │ │ ├── GetGroupCall.swift │ │ │ ├── GetGroupCallInviteLink.swift │ │ │ ├── GetGroupCallParticipants.swift │ │ │ ├── GetGroupCallStreamSegment.swift │ │ │ ├── GetGroupCallStreams.swift │ │ │ ├── GetGroupsInCommon.swift │ │ │ ├── GetImportedContactCount.swift │ │ │ ├── GetInactiveSupergroupChats.swift │ │ │ ├── GetInlineGameHighScores.swift │ │ │ ├── GetInlineQueryResults.swift │ │ │ ├── GetInstalledBackgrounds.swift │ │ │ ├── GetInstalledStickerSets.swift │ │ │ ├── GetInternalLink.swift │ │ │ ├── GetInternalLinkType.swift │ │ │ ├── GetJsonString.swift │ │ │ ├── GetJsonValue.swift │ │ │ ├── GetKeywordEmojis.swift │ │ │ ├── GetLanguagePackInfo.swift │ │ │ ├── GetLanguagePackString.swift │ │ │ ├── GetLanguagePackStrings.swift │ │ │ ├── GetLinkPreview.swift │ │ │ ├── GetLiveStoryAvailableMessageSenders.swift │ │ │ ├── GetLiveStoryRtmpUrl.swift │ │ │ ├── GetLiveStoryStreamer.swift │ │ │ ├── GetLiveStoryTopDonors.swift │ │ │ ├── GetLocalizationTargetInfo.swift │ │ │ ├── GetLogStream.swift │ │ │ ├── GetLogTagVerbosityLevel.swift │ │ │ ├── GetLogTags.swift │ │ │ ├── GetLogVerbosityLevel.swift │ │ │ ├── GetLoginPasskeys.swift │ │ │ ├── GetLoginUrl.swift │ │ │ ├── GetLoginUrlInfo.swift │ │ │ ├── GetMainWebApp.swift │ │ │ ├── GetManagedBotAccessSettings.swift │ │ │ ├── GetManagedBotToken.swift │ │ │ ├── GetMapThumbnailFile.swift │ │ │ ├── GetMarkdownText.swift │ │ │ ├── GetMe.swift │ │ │ ├── GetMenuButton.swift │ │ │ ├── GetMessage.swift │ │ │ ├── GetMessageAddedReactions.swift │ │ │ ├── GetMessageAuthor.swift │ │ │ ├── GetMessageAvailableReactions.swift │ │ │ ├── GetMessageEffect.swift │ │ │ ├── GetMessageEmbeddingCode.swift │ │ │ ├── GetMessageFileType.swift │ │ │ ├── GetMessageImportConfirmationText.swift │ │ │ ├── GetMessageLink.swift │ │ │ ├── GetMessageLinkInfo.swift │ │ │ ├── GetMessageLocally.swift │ │ │ ├── GetMessageProperties.swift │ │ │ ├── GetMessagePublicForwards.swift │ │ │ ├── GetMessageReadDate.swift │ │ │ ├── GetMessageStatistics.swift │ │ │ ├── GetMessageThread.swift │ │ │ ├── GetMessageThreadHistory.swift │ │ │ ├── GetMessageViewers.swift │ │ │ ├── GetMessages.swift │ │ │ ├── GetNetworkStatistics.swift │ │ │ ├── GetNewChatPrivacySettings.swift │ │ │ ├── GetOauthLinkInfo.swift │ │ │ ├── GetOption.swift │ │ │ ├── GetOwnedBots.swift │ │ │ ├── GetOwnedStickerSets.swift │ │ │ ├── GetPaidMessageRevenue.swift │ │ │ ├── GetPasskeyParameters.swift │ │ │ ├── GetPassportAuthorizationForm.swift │ │ │ ├── GetPassportAuthorizationFormAvailableElements.swift │ │ │ ├── GetPassportElement.swift │ │ │ ├── GetPasswordState.swift │ │ │ ├── GetPaymentForm.swift │ │ │ ├── GetPaymentReceipt.swift │ │ │ ├── GetPersonalChatHistory.swift │ │ │ ├── GetPhoneNumberInfo.swift │ │ │ ├── GetPhoneNumberInfoSync.swift │ │ │ ├── GetPollOptionProperties.swift │ │ │ ├── GetPollVoteStatistics.swift │ │ │ ├── GetPollVoters.swift │ │ │ ├── GetPopularWebAppBots.swift │ │ │ ├── GetPreferredCountryLanguage.swift │ │ │ ├── GetPremiumFeatures.swift │ │ │ ├── GetPremiumGiftCodePaymentOptions.swift │ │ │ ├── GetPremiumGiftPaymentOptions.swift │ │ │ ├── GetPremiumGiveawayInfo.swift │ │ │ ├── GetPremiumGiveawayPaymentOptions.swift │ │ │ ├── GetPremiumInfoSticker.swift │ │ │ ├── GetPremiumLimit.swift │ │ │ ├── GetPremiumState.swift │ │ │ ├── GetPremiumStickerExamples.swift │ │ │ ├── GetPremiumStickers.swift │ │ │ ├── GetPreparedInlineMessage.swift │ │ │ ├── GetPreparedKeyboardButton.swift │ │ │ ├── GetProxies.swift │ │ │ ├── GetProxyLink.swift │ │ │ ├── GetPublicPostSearchLimits.swift │ │ │ ├── GetPushReceiverId.swift │ │ │ ├── GetReadDatePrivacySettings.swift │ │ │ ├── GetReceivedGift.swift │ │ │ ├── GetReceivedGifts.swift │ │ │ ├── GetRecentEmojiStatuses.swift │ │ │ ├── GetRecentInlineBots.swift │ │ │ ├── GetRecentStickers.swift │ │ │ ├── GetRecentlyOpenedChats.swift │ │ │ ├── GetRecentlyVisitedTMeUrls.swift │ │ │ ├── GetRecommendedChatFolders.swift │ │ │ ├── GetRecommendedChats.swift │ │ │ ├── GetRecoveryEmailAddress.swift │ │ │ ├── GetRemoteFile.swift │ │ │ ├── GetRepliedMessage.swift │ │ │ ├── GetSavedAnimations.swift │ │ │ ├── GetSavedMessagesTags.swift │ │ │ ├── GetSavedMessagesTopicHistory.swift │ │ │ ├── GetSavedMessagesTopicMessageByDate.swift │ │ │ ├── GetSavedNotificationSound.swift │ │ │ ├── GetSavedNotificationSounds.swift │ │ │ ├── GetSavedOrderInfo.swift │ │ │ ├── GetScopeNotificationSettings.swift │ │ │ ├── GetSearchSponsoredChats.swift │ │ │ ├── GetSearchedForHashtags.swift │ │ │ ├── GetSearchedForTags.swift │ │ │ ├── GetSecretChat.swift │ │ │ ├── GetStakeDiceState.swift │ │ │ ├── GetStarAdAccountUrl.swift │ │ │ ├── GetStarGiftPaymentOptions.swift │ │ │ ├── GetStarGiveawayPaymentOptions.swift │ │ │ ├── GetStarPaymentOptions.swift │ │ │ ├── GetStarRevenueStatistics.swift │ │ │ ├── GetStarSubscriptions.swift │ │ │ ├── GetStarTransactions.swift │ │ │ ├── GetStarWithdrawalUrl.swift │ │ │ ├── GetStatisticalGraph.swift │ │ │ ├── GetStickerEmojis.swift │ │ │ ├── GetStickerOutline.swift │ │ │ ├── GetStickerOutlineSvgPath.swift │ │ │ ├── GetStickerSet.swift │ │ │ ├── GetStickerSetName.swift │ │ │ ├── GetStickers.swift │ │ │ ├── GetStorageStatistics.swift │ │ │ ├── GetStorageStatisticsFast.swift │ │ │ ├── GetStory.swift │ │ │ ├── GetStoryAlbumStories.swift │ │ │ ├── GetStoryAvailableReactions.swift │ │ │ ├── GetStoryInteractions.swift │ │ │ ├── GetStoryNotificationSettingsExceptions.swift │ │ │ ├── GetStoryPublicForwards.swift │ │ │ ├── GetStoryStatistics.swift │ │ │ ├── GetSuggestedFileName.swift │ │ │ ├── GetSuggestedStickerSetName.swift │ │ │ ├── GetSuitableDiscussionChats.swift │ │ │ ├── GetSuitablePersonalChats.swift │ │ │ ├── GetSupergroup.swift │ │ │ ├── GetSupergroupFullInfo.swift │ │ │ ├── GetSupergroupMembers.swift │ │ │ ├── GetSupportName.swift │ │ │ ├── GetSupportUser.swift │ │ │ ├── GetTemporaryPasswordState.swift │ │ │ ├── GetTextCompositionStyleExample.swift │ │ │ ├── GetTextEntities.swift │ │ │ ├── GetThemeParametersJsonString.swift │ │ │ ├── GetThemedChatEmojiStatuses.swift │ │ │ ├── GetThemedEmojiStatuses.swift │ │ │ ├── GetTimeZones.swift │ │ │ ├── GetTonRevenueStatistics.swift │ │ │ ├── GetTonTransactions.swift │ │ │ ├── GetTonWithdrawalUrl.swift │ │ │ ├── GetTopChats.swift │ │ │ ├── GetTrendingStickerSets.swift │ │ │ ├── GetUpgradedGift.swift │ │ │ ├── GetUpgradedGiftEmojiStatuses.swift │ │ │ ├── GetUpgradedGiftValueInfo.swift │ │ │ ├── GetUpgradedGiftVariants.swift │ │ │ ├── GetUpgradedGiftWithdrawalUrl.swift │ │ │ ├── GetUpgradedGiftsPromotionalAnimation.swift │ │ │ ├── GetUser.swift │ │ │ ├── GetUserChatBoosts.swift │ │ │ ├── GetUserFullInfo.swift │ │ │ ├── GetUserGift.swift │ │ │ ├── GetUserGifts.swift │ │ │ ├── GetUserLink.swift │ │ │ ├── GetUserPrivacySettingRules.swift │ │ │ ├── GetUserProfileAudios.swift │ │ │ ├── GetUserProfilePhotos.swift │ │ │ ├── GetUserSupportInfo.swift │ │ │ ├── GetVideoChatAvailableParticipants.swift │ │ │ ├── GetVideoChatInviteLink.swift │ │ │ ├── GetVideoChatRtmpUrl.swift │ │ │ ├── GetVideoChatStreamSegment.swift │ │ │ ├── GetVideoChatStreams.swift │ │ │ ├── GetVideoMessageAdvertisements.swift │ │ │ ├── GetWebAppLinkUrl.swift │ │ │ ├── GetWebAppPlaceholder.swift │ │ │ ├── GetWebAppUrl.swift │ │ │ ├── GetWebPageInstantView.swift │ │ │ ├── GetWebPagePreview.swift │ │ │ ├── Gift.swift │ │ │ ├── GiftAuction.swift │ │ │ ├── GiftAuctionAcquiredGift.swift │ │ │ ├── GiftAuctionAcquiredGifts.swift │ │ │ ├── GiftAuctionState.swift │ │ │ ├── GiftBackground.swift │ │ │ ├── GiftChatTheme.swift │ │ │ ├── GiftChatThemes.swift │ │ │ ├── GiftCollection.swift │ │ │ ├── GiftCollections.swift │ │ │ ├── GiftForResale.swift │ │ │ ├── GiftForResaleOrder.swift │ │ │ ├── GiftPremiumWithStars.swift │ │ │ ├── GiftPurchaseLimits.swift │ │ │ ├── GiftPurchaseOfferState.swift │ │ │ ├── GiftResaleParameters.swift │ │ │ ├── GiftResalePrice.swift │ │ │ ├── GiftResaleResult.swift │ │ │ ├── GiftSettings.swift │ │ │ ├── GiftUpgradePreview.swift │ │ │ ├── GiftUpgradePrice.swift │ │ │ ├── GiftUpgradeVariants.swift │ │ │ ├── Gifts.swift │ │ │ ├── GiftsForCrafting.swift │ │ │ ├── GiftsForResale.swift │ │ │ ├── GiveawayInfo.swift │ │ │ ├── GiveawayParameters.swift │ │ │ ├── GiveawayParticipantStatus.swift │ │ │ ├── GiveawayPrize.swift │ │ │ ├── GroupCall.swift │ │ │ ├── GroupCallDataChannel.swift │ │ │ ├── GroupCallId.swift │ │ │ ├── GroupCallInfo.swift │ │ │ ├── GroupCallJoinParameters.swift │ │ │ ├── GroupCallMessage.swift │ │ │ ├── GroupCallMessageLevel.swift │ │ │ ├── GroupCallParticipant.swift │ │ │ ├── GroupCallParticipantVideoInfo.swift │ │ │ ├── GroupCallParticipants.swift │ │ │ ├── GroupCallRecentSpeaker.swift │ │ │ ├── GroupCallStream.swift │ │ │ ├── GroupCallStreams.swift │ │ │ ├── GroupCallVideoQuality.swift │ │ │ ├── GroupCallVideoSourceGroup.swift │ │ │ ├── Hashtags.swift │ │ │ ├── HideContactCloseBirthdays.swift │ │ │ ├── HideSuggestedAction.swift │ │ │ ├── HttpUrl.swift │ │ │ ├── IdentityDocument.swift │ │ │ ├── ImportContacts.swift │ │ │ ├── ImportMessages.swift │ │ │ ├── ImportedContact.swift │ │ │ ├── ImportedContacts.swift │ │ │ ├── IncreaseGiftAuctionBid.swift │ │ │ ├── InlineKeyboardButton.swift │ │ │ ├── InlineKeyboardButtonType.swift │ │ │ ├── InlineMessageId.swift │ │ │ ├── InlineQueryResult.swift │ │ │ ├── InlineQueryResults.swift │ │ │ ├── InlineQueryResultsButton.swift │ │ │ ├── InlineQueryResultsButtonType.swift │ │ │ ├── InputBackground.swift │ │ │ ├── InputBusinessChatLink.swift │ │ │ ├── InputBusinessStartPage.swift │ │ │ ├── InputCall.swift │ │ │ ├── InputChatPhoto.swift │ │ │ ├── InputChatTheme.swift │ │ │ ├── InputChecklist.swift │ │ │ ├── InputChecklistTask.swift │ │ │ ├── InputCredentials.swift │ │ │ ├── InputFile.swift │ │ │ ├── InputGroupCall.swift │ │ │ ├── InputIdentityDocument.swift │ │ │ ├── InputInlineQueryResult.swift │ │ │ ├── InputInvoice.swift │ │ │ ├── InputMessageContent.swift │ │ │ ├── InputMessageReplyTo.swift │ │ │ ├── InputPaidMedia.swift │ │ │ ├── InputPaidMediaType.swift │ │ │ ├── InputPassportElement.swift │ │ │ ├── InputPassportElementError.swift │ │ │ ├── InputPassportElementErrorSource.swift │ │ │ ├── InputPersonalDocument.swift │ │ │ ├── InputPollOption.swift │ │ │ ├── InputPollType.swift │ │ │ ├── InputSticker.swift │ │ │ ├── InputStoryArea.swift │ │ │ ├── InputStoryAreaType.swift │ │ │ ├── InputStoryAreas.swift │ │ │ ├── InputStoryContent.swift │ │ │ ├── InputSuggestedPostInfo.swift │ │ │ ├── InputTextQuote.swift │ │ │ ├── InputThumbnail.swift │ │ │ ├── InternalLinkType.swift │ │ │ ├── InviteGroupCallParticipant.swift │ │ │ ├── InviteGroupCallParticipantResult.swift │ │ │ ├── InviteGroupCallParticipants.swift │ │ │ ├── InviteLinkChatType.swift │ │ │ ├── InviteVideoChatParticipants.swift │ │ │ ├── Invoice.swift │ │ │ ├── IsLoginEmailAddressRequired.swift │ │ │ ├── IsProfileAudio.swift │ │ │ ├── JoinChat.swift │ │ │ ├── JoinChatByInviteLink.swift │ │ │ ├── JoinGroupCall.swift │ │ │ ├── JoinLiveStory.swift │ │ │ ├── JoinVideoChat.swift │ │ │ ├── JsonObjectMember.swift │ │ │ ├── JsonValue.swift │ │ │ ├── KeyboardButton.swift │ │ │ ├── KeyboardButtonSource.swift │ │ │ ├── KeyboardButtonType.swift │ │ │ ├── LabeledPricePart.swift │ │ │ ├── LanguagePackInfo.swift │ │ │ ├── LanguagePackString.swift │ │ │ ├── LanguagePackStringValue.swift │ │ │ ├── LanguagePackStrings.swift │ │ │ ├── LaunchPrepaidGiveaway.swift │ │ │ ├── LaunchPrepaidPremiumGiveaway.swift │ │ │ ├── LeaveChat.swift │ │ │ ├── LeaveGroupCall.swift │ │ │ ├── LinkPreview.swift │ │ │ ├── LinkPreviewAlbumMedia.swift │ │ │ ├── LinkPreviewOptions.swift │ │ │ ├── LinkPreviewType.swift │ │ │ ├── ListenToAudio.swift │ │ │ ├── LiveStoryDonors.swift │ │ │ ├── LoadActiveStories.swift │ │ │ ├── LoadChats.swift │ │ │ ├── LoadDirectMessagesChatTopics.swift │ │ │ ├── LoadGroupCallParticipants.swift │ │ │ ├── LoadQuickReplyShortcutMessages.swift │ │ │ ├── LoadQuickReplyShortcuts.swift │ │ │ ├── LoadSavedMessagesTopics.swift │ │ │ ├── LocalFile.swift │ │ │ ├── LocalizationTargetInfo.swift │ │ │ ├── Location.swift │ │ │ ├── LocationAddress.swift │ │ │ ├── LogOut.swift │ │ │ ├── LogStream.swift │ │ │ ├── LogTags.swift │ │ │ ├── LogVerbosityLevel.swift │ │ │ ├── LoginUrlInfo.swift │ │ │ ├── MainWebApp.swift │ │ │ ├── MarkChecklistTasksAsDone.swift │ │ │ ├── MaskPoint.swift │ │ │ ├── MaskPosition.swift │ │ │ ├── Message.swift │ │ │ ├── MessageAutoDeleteTime.swift │ │ │ ├── MessageCalendar.swift │ │ │ ├── MessageCalendarDay.swift │ │ │ ├── MessageContent.swift │ │ │ ├── MessageCopyOptions.swift │ │ │ ├── MessageEffect.swift │ │ │ ├── MessageEffectType.swift │ │ │ ├── MessageExtendedMedia.swift │ │ │ ├── MessageFileType.swift │ │ │ ├── MessageForwardInfo.swift │ │ │ ├── MessageImportInfo.swift │ │ │ ├── MessageInteractionInfo.swift │ │ │ ├── MessageLink.swift │ │ │ ├── MessageLinkInfo.swift │ │ │ ├── MessageOrigin.swift │ │ │ ├── MessagePosition.swift │ │ │ ├── MessagePositions.swift │ │ │ ├── MessageProperties.swift │ │ │ ├── MessageReaction.swift │ │ │ ├── MessageReactions.swift │ │ │ ├── MessageReadDate.swift │ │ │ ├── MessageReplyInfo.swift │ │ │ ├── MessageReplyTo.swift │ │ │ ├── MessageSchedulingState.swift │ │ │ ├── MessageSelfDestructType.swift │ │ │ ├── MessageSendOptions.swift │ │ │ ├── MessageSender.swift │ │ │ ├── MessageSenders.swift │ │ │ ├── MessageSendingState.swift │ │ │ ├── MessageSource.swift │ │ │ ├── MessageSponsor.swift │ │ │ ├── MessageStatistics.swift │ │ │ ├── MessageThreadInfo.swift │ │ │ ├── MessageTopic.swift │ │ │ ├── MessageViewer.swift │ │ │ ├── MessageViewers.swift │ │ │ ├── Messages.swift │ │ │ ├── Minithumbnail.swift │ │ │ ├── NetworkStatistics.swift │ │ │ ├── NetworkStatisticsEntry.swift │ │ │ ├── NetworkType.swift │ │ │ ├── NewChatPrivacySettings.swift │ │ │ ├── Notification.swift │ │ │ ├── NotificationGroup.swift │ │ │ ├── NotificationGroupType.swift │ │ │ ├── NotificationSettingsScope.swift │ │ │ ├── NotificationSound.swift │ │ │ ├── NotificationSounds.swift │ │ │ ├── NotificationType.swift │ │ │ ├── OauthLinkInfo.swift │ │ │ ├── Ok.swift │ │ │ ├── OpenBotSimilarBot.swift │ │ │ ├── OpenChat.swift │ │ │ ├── OpenChatSimilarChat.swift │ │ │ ├── OpenGiftAuction.swift │ │ │ ├── OpenMessageContent.swift │ │ │ ├── OpenSponsoredChat.swift │ │ │ ├── OpenStory.swift │ │ │ ├── OpenWebApp.swift │ │ │ ├── OptimizeStorage.swift │ │ │ ├── OptionValue.swift │ │ │ ├── OrderInfo.swift │ │ │ ├── Outline.swift │ │ │ ├── PageBlock.swift │ │ │ ├── PageBlockCaption.swift │ │ │ ├── PageBlockHorizontalAlignment.swift │ │ │ ├── PageBlockListItem.swift │ │ │ ├── PageBlockRelatedArticle.swift │ │ │ ├── PageBlockTableCell.swift │ │ │ ├── PageBlockVerticalAlignment.swift │ │ │ ├── PaidMedia.swift │ │ │ ├── PaidReactionType.swift │ │ │ ├── PaidReactor.swift │ │ │ ├── ParseMarkdown.swift │ │ │ ├── ParseTextEntities.swift │ │ │ ├── Passkey.swift │ │ │ ├── Passkeys.swift │ │ │ ├── PassportAuthorizationForm.swift │ │ │ ├── PassportElement.swift │ │ │ ├── PassportElementError.swift │ │ │ ├── PassportElementErrorSource.swift │ │ │ ├── PassportElementType.swift │ │ │ ├── PassportElements.swift │ │ │ ├── PassportElementsWithErrors.swift │ │ │ ├── PassportRequiredElement.swift │ │ │ ├── PassportSuitableElement.swift │ │ │ ├── PasswordState.swift │ │ │ ├── PaymentForm.swift │ │ │ ├── PaymentFormType.swift │ │ │ ├── PaymentOption.swift │ │ │ ├── PaymentProvider.swift │ │ │ ├── PaymentReceipt.swift │ │ │ ├── PaymentReceiptType.swift │ │ │ ├── PaymentResult.swift │ │ │ ├── PersonalDetails.swift │ │ │ ├── PersonalDocument.swift │ │ │ ├── PhoneNumberAuthenticationSettings.swift │ │ │ ├── PhoneNumberCodeType.swift │ │ │ ├── PhoneNumberInfo.swift │ │ │ ├── Photo.swift │ │ │ ├── PhotoSize.swift │ │ │ ├── PinChatMessage.swift │ │ │ ├── PingProxy.swift │ │ │ ├── PlaceGiftAuctionBid.swift │ │ │ ├── Point.swift │ │ │ ├── Poll.swift │ │ │ ├── PollOption.swift │ │ │ ├── PollOptionProperties.swift │ │ │ ├── PollType.swift │ │ │ ├── PollVoteRestrictionReason.swift │ │ │ ├── PollVoteStatistics.swift │ │ │ ├── PollVoter.swift │ │ │ ├── PollVoters.swift │ │ │ ├── PostStory.swift │ │ │ ├── PreliminaryUploadFile.swift │ │ │ ├── PremiumFeature.swift │ │ │ ├── PremiumFeaturePromotionAnimation.swift │ │ │ ├── PremiumFeatures.swift │ │ │ ├── PremiumGiftCodeInfo.swift │ │ │ ├── PremiumGiftCodePaymentOption.swift │ │ │ ├── PremiumGiftCodePaymentOptions.swift │ │ │ ├── PremiumGiftPaymentOption.swift │ │ │ ├── PremiumGiftPaymentOptions.swift │ │ │ ├── PremiumGiveawayInfo.swift │ │ │ ├── PremiumGiveawayParameters.swift │ │ │ ├── PremiumGiveawayParticipantStatus.swift │ │ │ ├── PremiumGiveawayPaymentOption.swift │ │ │ ├── PremiumGiveawayPaymentOptions.swift │ │ │ ├── PremiumLimit.swift │ │ │ ├── PremiumLimitType.swift │ │ │ ├── PremiumPaymentOption.swift │ │ │ ├── PremiumSource.swift │ │ │ ├── PremiumState.swift │ │ │ ├── PremiumStatePaymentOption.swift │ │ │ ├── PremiumStoryFeature.swift │ │ │ ├── PrepaidGiveaway.swift │ │ │ ├── PrepaidPremiumGiveaway.swift │ │ │ ├── PreparedInlineMessage.swift │ │ │ ├── PreparedInlineMessageId.swift │ │ │ ├── ProcessChatFolderNewChats.swift │ │ │ ├── ProcessChatHasProtectedContentDisableRequest.swift │ │ │ ├── ProcessChatJoinRequest.swift │ │ │ ├── ProcessChatJoinRequests.swift │ │ │ ├── ProcessGiftPurchaseOffer.swift │ │ │ ├── ProcessPushNotification.swift │ │ │ ├── ProductInfo.swift │ │ │ ├── ProfileAccentColor.swift │ │ │ ├── ProfileAccentColors.swift │ │ │ ├── ProfilePhoto.swift │ │ │ ├── ProfileTab.swift │ │ │ ├── Proxies.swift │ │ │ ├── Proxy.swift │ │ │ ├── ProxyType.swift │ │ │ ├── PublicChatType.swift │ │ │ ├── PublicForward.swift │ │ │ ├── PublicForwards.swift │ │ │ ├── PublicPostSearchLimits.swift │ │ │ ├── PushMessageContent.swift │ │ │ ├── PushReceiverId.swift │ │ │ ├── QuickReplyMessage.swift │ │ │ ├── QuickReplyMessages.swift │ │ │ ├── QuickReplyShortcut.swift │ │ │ ├── RateSpeechRecognition.swift │ │ │ ├── ReactionNotificationSettings.swift │ │ │ ├── ReactionNotificationSource.swift │ │ │ ├── ReactionType.swift │ │ │ ├── ReactionUnavailabilityReason.swift │ │ │ ├── ReadAllChatMentions.swift │ │ │ ├── ReadAllChatPollVotes.swift │ │ │ ├── ReadAllChatReactions.swift │ │ │ ├── ReadAllDirectMessagesChatTopicReactions.swift │ │ │ ├── ReadAllForumTopicMentions.swift │ │ │ ├── ReadAllForumTopicPollVotes.swift │ │ │ ├── ReadAllForumTopicReactions.swift │ │ │ ├── ReadAllMessageThreadMentions.swift │ │ │ ├── ReadAllMessageThreadReactions.swift │ │ │ ├── ReadBusinessMessage.swift │ │ │ ├── ReadChatList.swift │ │ │ ├── ReadDatePrivacySettings.swift │ │ │ ├── ReadFilePart.swift │ │ │ ├── ReaddQuickReplyShortcutMessages.swift │ │ │ ├── ReceivedGift.swift │ │ │ ├── ReceivedGifts.swift │ │ │ ├── RecognizeSpeech.swift │ │ │ ├── RecommendedChatFolder.swift │ │ │ ├── RecommendedChatFolders.swift │ │ │ ├── RecoverAuthenticationPassword.swift │ │ │ ├── RecoverPassword.swift │ │ │ ├── RecoveryEmailAddress.swift │ │ │ ├── RefundStarPayment.swift │ │ │ ├── RegisterDevice.swift │ │ │ ├── RegisterUser.swift │ │ │ ├── RemoteFile.swift │ │ │ ├── RemoveAllFilesFromDownloads.swift │ │ │ ├── RemoveBusinessConnectedBotFromChat.swift │ │ │ ├── RemoveChatActionBar.swift │ │ │ ├── RemoveContacts.swift │ │ │ ├── RemoveFavoriteSticker.swift │ │ │ ├── RemoveFileFromDownloads.swift │ │ │ ├── RemoveGiftCollectionGifts.swift │ │ │ ├── RemoveInstalledBackground.swift │ │ │ ├── RemoveLoginPasskey.swift │ │ │ ├── RemoveMessageReaction.swift │ │ │ ├── RemoveMessageSenderBotVerification.swift │ │ │ ├── RemoveNotification.swift │ │ │ ├── RemoveNotificationGroup.swift │ │ │ ├── RemovePendingLiveStoryReactions.swift │ │ │ ├── RemovePendingPaidMessageReactions.swift │ │ │ ├── RemoveProfileAudio.swift │ │ │ ├── RemoveProxy.swift │ │ │ ├── RemoveRecentHashtag.swift │ │ │ ├── RemoveRecentSticker.swift │ │ │ ├── RemoveRecentlyFoundChat.swift │ │ │ ├── RemoveSavedAnimation.swift │ │ │ ├── RemoveSavedNotificationSound.swift │ │ │ ├── RemoveSearchedForHashtag.swift │ │ │ ├── RemoveSearchedForTag.swift │ │ │ ├── RemoveStickerFromSet.swift │ │ │ ├── RemoveStoryAlbumStories.swift │ │ │ ├── RemoveTextCompositionStyle.swift │ │ │ ├── RemoveTopChat.swift │ │ │ ├── ReorderActiveUsernames.swift │ │ │ ├── ReorderBotActiveUsernames.swift │ │ │ ├── ReorderBotMediaPreviews.swift │ │ │ ├── ReorderChatFolders.swift │ │ │ ├── ReorderGiftCollectionGifts.swift │ │ │ ├── ReorderGiftCollections.swift │ │ │ ├── ReorderInstalledStickerSets.swift │ │ │ ├── ReorderQuickReplyShortcuts.swift │ │ │ ├── ReorderStoryAlbumStories.swift │ │ │ ├── ReorderStoryAlbums.swift │ │ │ ├── ReorderSupergroupActiveUsernames.swift │ │ │ ├── ReplaceLiveStoryRtmpUrl.swift │ │ │ ├── ReplacePrimaryChatInviteLink.swift │ │ │ ├── ReplaceStickerInSet.swift │ │ │ ├── ReplaceVideoChatRtmpUrl.swift │ │ │ ├── ReplyMarkup.swift │ │ │ ├── ReportAuthenticationCodeMissing.swift │ │ │ ├── ReportChat.swift │ │ │ ├── ReportChatPhoto.swift │ │ │ ├── ReportChatResult.swift │ │ │ ├── ReportChatSponsoredMessage.swift │ │ │ ├── ReportChatSponsoredMessageOption.swift │ │ │ ├── ReportChatSponsoredMessageResult.swift │ │ │ ├── ReportMessageReactions.swift │ │ │ ├── ReportOption.swift │ │ │ ├── ReportPhoneNumberCodeMissing.swift │ │ │ ├── ReportReason.swift │ │ │ ├── ReportSponsoredChat.swift │ │ │ ├── ReportSponsoredResult.swift │ │ │ ├── ReportStory.swift │ │ │ ├── ReportStoryResult.swift │ │ │ ├── ReportSupergroupAntiSpamFalsePositive.swift │ │ │ ├── ReportSupergroupSpam.swift │ │ │ ├── ReportVideoMessageAdvertisement.swift │ │ │ ├── RequestAuthenticationPasswordRecovery.swift │ │ │ ├── RequestPasswordRecovery.swift │ │ │ ├── RequestQrCodeAuthentication.swift │ │ │ ├── ResendAuthenticationCode.swift │ │ │ ├── ResendCodeReason.swift │ │ │ ├── ResendEmailAddressVerificationCode.swift │ │ │ ├── ResendLoginEmailAddressCode.swift │ │ │ ├── ResendMessages.swift │ │ │ ├── ResendPhoneNumberCode.swift │ │ │ ├── ResendRecoveryEmailAddressCode.swift │ │ │ ├── ResetAllNotificationSettings.swift │ │ │ ├── ResetAuthenticationEmailAddress.swift │ │ │ ├── ResetInstalledBackgrounds.swift │ │ │ ├── ResetNetworkStatistics.swift │ │ │ ├── ResetPassword.swift │ │ │ ├── ResetPasswordResult.swift │ │ │ ├── RestrictionInfo.swift │ │ │ ├── ReuseStarSubscription.swift │ │ │ ├── RevenueWithdrawalState.swift │ │ │ ├── RevokeChatInviteLink.swift │ │ │ ├── RevokeGroupCallInviteLink.swift │ │ │ ├── RichText.swift │ │ │ ├── RtmpUrl.swift │ │ │ ├── SaveApplicationLogEvent.swift │ │ │ ├── SavePreparedInlineMessage.swift │ │ │ ├── SavePreparedKeyboardButton.swift │ │ │ ├── SavedCredentials.swift │ │ │ ├── SavedMessagesTag.swift │ │ │ ├── SavedMessagesTags.swift │ │ │ ├── SavedMessagesTopic.swift │ │ │ ├── SavedMessagesTopicType.swift │ │ │ ├── ScopeAutosaveSettings.swift │ │ │ ├── ScopeNotificationSettings.swift │ │ │ ├── SearchAffiliatePrograms.swift │ │ │ ├── SearchBackground.swift │ │ │ ├── SearchCallMessages.swift │ │ │ ├── SearchChatAffiliateProgram.swift │ │ │ ├── SearchChatMembers.swift │ │ │ ├── SearchChatMessages.swift │ │ │ ├── SearchChatRecentLocationMessages.swift │ │ │ ├── SearchChats.swift │ │ │ ├── SearchChatsNearby.swift │ │ │ ├── SearchChatsOnServer.swift │ │ │ ├── SearchContacts.swift │ │ │ ├── SearchEmojis.swift │ │ │ ├── SearchFileDownloads.swift │ │ │ ├── SearchGiftsForResale.swift │ │ │ ├── SearchHashtags.swift │ │ │ ├── SearchInstalledStickerSets.swift │ │ │ ├── SearchMessages.swift │ │ │ ├── SearchMessagesChatTypeFilter.swift │ │ │ ├── SearchMessagesFilter.swift │ │ │ ├── SearchOutgoingDocumentMessages.swift │ │ │ ├── SearchPublicChat.swift │ │ │ ├── SearchPublicChats.swift │ │ │ ├── SearchPublicHashtagMessages.swift │ │ │ ├── SearchPublicMessagesByTag.swift │ │ │ ├── SearchPublicPosts.swift │ │ │ ├── SearchPublicStoriesByLocation.swift │ │ │ ├── SearchPublicStoriesByTag.swift │ │ │ ├── SearchPublicStoriesByVenue.swift │ │ │ ├── SearchQuote.swift │ │ │ ├── SearchRecentlyFoundChats.swift │ │ │ ├── SearchSavedMessages.swift │ │ │ ├── SearchSecretMessages.swift │ │ │ ├── SearchStickerSet.swift │ │ │ ├── SearchStickerSets.swift │ │ │ ├── SearchStickers.swift │ │ │ ├── SearchStringsByPrefix.swift │ │ │ ├── SearchTextCompositionStyle.swift │ │ │ ├── SearchUserByPhoneNumber.swift │ │ │ ├── SearchUserByToken.swift │ │ │ ├── SearchWebApp.swift │ │ │ ├── Seconds.swift │ │ │ ├── SecretChat.swift │ │ │ ├── SecretChatState.swift │ │ │ ├── SellGift.swift │ │ │ ├── SendAuthenticationFirebaseSms.swift │ │ │ ├── SendBotStartMessage.swift │ │ │ ├── SendBusinessMessage.swift │ │ │ ├── SendBusinessMessageAlbum.swift │ │ │ ├── SendCallDebugInformation.swift │ │ │ ├── SendCallLog.swift │ │ │ ├── SendCallRating.swift │ │ │ ├── SendCallSignalingData.swift │ │ │ ├── SendChatAction.swift │ │ │ ├── SendCustomRequest.swift │ │ │ ├── SendEmailAddressVerificationCode.swift │ │ │ ├── SendGift.swift │ │ │ ├── SendGiftPurchaseOffer.swift │ │ │ ├── SendGroupCallMessage.swift │ │ │ ├── SendInlineQueryResultMessage.swift │ │ │ ├── SendMessage.swift │ │ │ ├── SendMessageAlbum.swift │ │ │ ├── SendMessageViewMetrics.swift │ │ │ ├── SendPassportAuthorizationForm.swift │ │ │ ├── SendPaymentForm.swift │ │ │ ├── SendPhoneNumberCode.swift │ │ │ ├── SendPhoneNumberFirebaseSms.swift │ │ │ ├── SendQuickReplyShortcutMessages.swift │ │ │ ├── SendResoldGift.swift │ │ │ ├── SendStory.swift │ │ │ ├── SendTextMessageDraft.swift │ │ │ ├── SendWebAppCustomRequest.swift │ │ │ ├── SendWebAppData.swift │ │ │ ├── SentGift.swift │ │ │ ├── SentWebAppMessage.swift │ │ │ ├── Session.swift │ │ │ ├── SessionType.swift │ │ │ ├── Sessions.swift │ │ │ ├── SetAccentColor.swift │ │ │ ├── SetAccountTtl.swift │ │ │ ├── SetAlarm.swift │ │ │ ├── SetApplicationVerificationToken.swift │ │ │ ├── SetArchiveChatListSettings.swift │ │ │ ├── SetAuthenticationEmailAddress.swift │ │ │ ├── SetAuthenticationPhoneNumber.swift │ │ │ ├── SetAuthenticationPremiumPurchaseTransaction.swift │ │ │ ├── SetAutoDownloadSettings.swift │ │ │ ├── SetAutosaveSettings.swift │ │ │ ├── SetBio.swift │ │ │ ├── SetBirthdate.swift │ │ │ ├── SetBotInfoDescription.swift │ │ │ ├── SetBotInfoShortDescription.swift │ │ │ ├── SetBotName.swift │ │ │ ├── SetBotProfilePhoto.swift │ │ │ ├── SetBotUpdatesStatus.swift │ │ │ ├── SetBusinessAccountBio.swift │ │ │ ├── SetBusinessAccountGiftSettings.swift │ │ │ ├── SetBusinessAccountName.swift │ │ │ ├── SetBusinessAccountProfilePhoto.swift │ │ │ ├── SetBusinessAccountUsername.swift │ │ │ ├── SetBusinessAwayMessageSettings.swift │ │ │ ├── SetBusinessConnectedBot.swift │ │ │ ├── SetBusinessGreetingMessageSettings.swift │ │ │ ├── SetBusinessLocation.swift │ │ │ ├── SetBusinessMessageIsPinned.swift │ │ │ ├── SetBusinessOpeningHours.swift │ │ │ ├── SetBusinessStartPage.swift │ │ │ ├── SetChatAccentColor.swift │ │ │ ├── SetChatActiveStoriesList.swift │ │ │ ├── SetChatAffiliateProgram.swift │ │ │ ├── SetChatAvailableReactions.swift │ │ │ ├── SetChatBackground.swift │ │ │ ├── SetChatClientData.swift │ │ │ ├── SetChatDescription.swift │ │ │ ├── SetChatDirectMessagesGroup.swift │ │ │ ├── SetChatDiscussionGroup.swift │ │ │ ├── SetChatDraftMessage.swift │ │ │ ├── SetChatEmojiStatus.swift │ │ │ ├── SetChatLocation.swift │ │ │ ├── SetChatMemberStatus.swift │ │ │ ├── SetChatMemberTag.swift │ │ │ ├── SetChatMessageAutoDeleteTime.swift │ │ │ ├── SetChatMessageSender.swift │ │ │ ├── SetChatNotificationSettings.swift │ │ │ ├── SetChatPaidMessageStarCount.swift │ │ │ ├── SetChatPermissions.swift │ │ │ ├── SetChatPhoto.swift │ │ │ ├── SetChatPinnedStories.swift │ │ │ ├── SetChatProfileAccentColor.swift │ │ │ ├── SetChatSlowModeDelay.swift │ │ │ ├── SetChatTheme.swift │ │ │ ├── SetChatTitle.swift │ │ │ ├── SetCloseFriends.swift │ │ │ ├── SetCommands.swift │ │ │ ├── SetCustomEmojiStickerSetThumbnail.swift │ │ │ ├── SetCustomLanguagePack.swift │ │ │ ├── SetCustomLanguagePackString.swift │ │ │ ├── SetDatabaseEncryptionKey.swift │ │ │ ├── SetDefaultBackground.swift │ │ │ ├── SetDefaultChannelAdministratorRights.swift │ │ │ ├── SetDefaultGroupAdministratorRights.swift │ │ │ ├── SetDefaultMessageAutoDeleteTime.swift │ │ │ ├── SetDefaultReactionType.swift │ │ │ ├── SetDirectMessagesChatTopicDraftMessage.swift │ │ │ ├── SetDirectMessagesChatTopicIsMarkedAsUnread.swift │ │ │ ├── SetEmojiStatus.swift │ │ │ ├── SetFileGenerationProgress.swift │ │ │ ├── SetForumTopicNotificationSettings.swift │ │ │ ├── SetGameScore.swift │ │ │ ├── SetGiftCollectionName.swift │ │ │ ├── SetGiftResalePrice.swift │ │ │ ├── SetGiftSettings.swift │ │ │ ├── SetGroupCallPaidMessageStarCount.swift │ │ │ ├── SetGroupCallParticipantIsSpeaking.swift │ │ │ ├── SetGroupCallParticipantVolumeLevel.swift │ │ │ ├── SetGroupCallTitle.swift │ │ │ ├── SetInactiveSessionTtl.swift │ │ │ ├── SetInlineGameScore.swift │ │ │ ├── SetLiveStoryMessageSender.swift │ │ │ ├── SetLocation.swift │ │ │ ├── SetLogStream.swift │ │ │ ├── SetLogTagVerbosityLevel.swift │ │ │ ├── SetLogVerbosityLevel.swift │ │ │ ├── SetLoginEmailAddress.swift │ │ │ ├── SetMainProfileTab.swift │ │ │ ├── SetManagedBotAccessSettings.swift │ │ │ ├── SetMenuButton.swift │ │ │ ├── SetMessageFactCheck.swift │ │ │ ├── SetMessageReactions.swift │ │ │ ├── SetMessageSenderBlockList.swift │ │ │ ├── SetMessageSenderBotVerification.swift │ │ │ ├── SetName.swift │ │ │ ├── SetNetworkType.swift │ │ │ ├── SetNewChatPrivacySettings.swift │ │ │ ├── SetOption.swift │ │ │ ├── SetPaidMessageReactionType.swift │ │ │ ├── SetPassportElement.swift │ │ │ ├── SetPassportElementErrors.swift │ │ │ ├── SetPassword.swift │ │ │ ├── SetPersonalChat.swift │ │ │ ├── SetPinnedChats.swift │ │ │ ├── SetPinnedForumTopics.swift │ │ │ ├── SetPinnedGifts.swift │ │ │ ├── SetPinnedSavedMessagesTopics.swift │ │ │ ├── SetPollAnswer.swift │ │ │ ├── SetProfileAccentColor.swift │ │ │ ├── SetProfileAudioPosition.swift │ │ │ ├── SetProfilePhoto.swift │ │ │ ├── SetQuickReplyShortcutName.swift │ │ │ ├── SetReactionNotificationSettings.swift │ │ │ ├── SetReadDatePrivacySettings.swift │ │ │ ├── SetRecoveryEmailAddress.swift │ │ │ ├── SetSavedMessagesTagLabel.swift │ │ │ ├── SetScopeNotificationSettings.swift │ │ │ ├── SetStickerEmojis.swift │ │ │ ├── SetStickerKeywords.swift │ │ │ ├── SetStickerMaskPosition.swift │ │ │ ├── SetStickerPositionInSet.swift │ │ │ ├── SetStickerSetThumbnail.swift │ │ │ ├── SetStickerSetTitle.swift │ │ │ ├── SetStoryAlbumName.swift │ │ │ ├── SetStoryPrivacySettings.swift │ │ │ ├── SetStoryReaction.swift │ │ │ ├── SetSupergroupCustomEmojiStickerSet.swift │ │ │ ├── SetSupergroupMainProfileTab.swift │ │ │ ├── SetSupergroupStickerSet.swift │ │ │ ├── SetSupergroupUnrestrictBoostCount.swift │ │ │ ├── SetSupergroupUsername.swift │ │ │ ├── SetTdlibParameters.swift │ │ │ ├── SetUpgradedGiftColors.swift │ │ │ ├── SetUserEmojiStatus.swift │ │ │ ├── SetUserNote.swift │ │ │ ├── SetUserPersonalProfilePhoto.swift │ │ │ ├── SetUserPrivacySettingRules.swift │ │ │ ├── SetUserSupportInfo.swift │ │ │ ├── SetUsername.swift │ │ │ ├── SetVideoChatDefaultParticipant.swift │ │ │ ├── SetVideoChatTitle.swift │ │ │ ├── SettingsSection.swift │ │ │ ├── ShareChatWithBot.swift │ │ │ ├── SharePhoneNumber.swift │ │ │ ├── ShareUsersWithBot.swift │ │ │ ├── SharedChat.swift │ │ │ ├── SharedUser.swift │ │ │ ├── ShippingOption.swift │ │ │ ├── SpeechRecognitionResult.swift │ │ │ ├── SponsoredChat.swift │ │ │ ├── SponsoredChats.swift │ │ │ ├── SponsoredMessage.swift │ │ │ ├── SponsoredMessages.swift │ │ │ ├── StakeDiceState.swift │ │ │ ├── StarAmount.swift │ │ │ ├── StarCount.swift │ │ │ ├── StarGiveawayPaymentOption.swift │ │ │ ├── StarGiveawayPaymentOptions.swift │ │ │ ├── StarGiveawayWinnerOption.swift │ │ │ ├── StarPaymentOption.swift │ │ │ ├── StarPaymentOptions.swift │ │ │ ├── StarRevenueStatistics.swift │ │ │ ├── StarRevenueStatus.swift │ │ │ ├── StarSubscription.swift │ │ │ ├── StarSubscriptionPricing.swift │ │ │ ├── StarSubscriptionType.swift │ │ │ ├── StarSubscriptions.swift │ │ │ ├── StarTransaction.swift │ │ │ ├── StarTransactionDirection.swift │ │ │ ├── StarTransactionPartner.swift │ │ │ ├── StarTransactionSource.swift │ │ │ ├── StarTransactionType.swift │ │ │ ├── StarTransactions.swift │ │ │ ├── StartGroupCallRecording.swift │ │ │ ├── StartGroupCallScreenSharing.swift │ │ │ ├── StartLiveStory.swift │ │ │ ├── StartLiveStoryResult.swift │ │ │ ├── StartScheduledGroupCall.swift │ │ │ ├── StartScheduledVideoChat.swift │ │ │ ├── StatisticalGraph.swift │ │ │ ├── StatisticalValue.swift │ │ │ ├── Sticker.swift │ │ │ ├── StickerFormat.swift │ │ │ ├── StickerFullType.swift │ │ │ ├── StickerSet.swift │ │ │ ├── StickerSetInfo.swift │ │ │ ├── StickerSets.swift │ │ │ ├── StickerType.swift │ │ │ ├── Stickers.swift │ │ │ ├── StopBusinessPoll.swift │ │ │ ├── StopPoll.swift │ │ │ ├── StorageStatistics.swift │ │ │ ├── StorageStatisticsByChat.swift │ │ │ ├── StorageStatisticsByFileType.swift │ │ │ ├── StorageStatisticsFast.swift │ │ │ ├── StorePaymentPurpose.swift │ │ │ ├── StoreTransaction.swift │ │ │ ├── Stories.swift │ │ │ ├── Story.swift │ │ │ ├── StoryAlbum.swift │ │ │ ├── StoryAlbums.swift │ │ │ ├── StoryArea.swift │ │ │ ├── StoryAreaPosition.swift │ │ │ ├── StoryAreaType.swift │ │ │ ├── StoryContent.swift │ │ │ ├── StoryContentType.swift │ │ │ ├── StoryFullId.swift │ │ │ ├── StoryInfo.swift │ │ │ ├── StoryInteraction.swift │ │ │ ├── StoryInteractionInfo.swift │ │ │ ├── StoryInteractionType.swift │ │ │ ├── StoryInteractions.swift │ │ │ ├── StoryList.swift │ │ │ ├── StoryOrigin.swift │ │ │ ├── StoryPrivacySettings.swift │ │ │ ├── StoryRepostInfo.swift │ │ │ ├── StoryStatistics.swift │ │ │ ├── StoryVideo.swift │ │ │ ├── SuggestUserBirthdate.swift │ │ │ ├── SuggestUserProfilePhoto.swift │ │ │ ├── SuggestedAction.swift │ │ │ ├── SuggestedPostInfo.swift │ │ │ ├── SuggestedPostPrice.swift │ │ │ ├── SuggestedPostRefundReason.swift │ │ │ ├── SuggestedPostState.swift │ │ │ ├── SummarizeMessage.swift │ │ │ ├── Supergroup.swift │ │ │ ├── SupergroupFullInfo.swift │ │ │ ├── SupergroupMembersFilter.swift │ │ │ ├── SynchronizeLanguagePack.swift │ │ │ ├── TMeUrl.swift │ │ │ ├── TMeUrlType.swift │ │ │ ├── TMeUrls.swift │ │ │ ├── TargetChat.swift │ │ │ ├── TargetChatTypes.swift │ │ │ ├── TelegramPaymentPurpose.swift │ │ │ ├── TemporaryPasswordState.swift │ │ │ ├── TerminateAllOtherSessions.swift │ │ │ ├── TerminateSession.swift │ │ │ ├── TermsOfService.swift │ │ │ ├── TestBytes.swift │ │ │ ├── TestCallBytes.swift │ │ │ ├── TestCallEmpty.swift │ │ │ ├── TestCallString.swift │ │ │ ├── TestCallVectorInt.swift │ │ │ ├── TestCallVectorIntObject.swift │ │ │ ├── TestCallVectorString.swift │ │ │ ├── TestCallVectorStringObject.swift │ │ │ ├── TestGetDifference.swift │ │ │ ├── TestInt.swift │ │ │ ├── TestNetwork.swift │ │ │ ├── TestProxy.swift │ │ │ ├── TestReturnError.swift │ │ │ ├── TestSquareInt.swift │ │ │ ├── TestString.swift │ │ │ ├── TestUseUpdate.swift │ │ │ ├── TestVectorInt.swift │ │ │ ├── TestVectorIntObject.swift │ │ │ ├── TestVectorString.swift │ │ │ ├── TestVectorStringObject.swift │ │ │ ├── Text.swift │ │ │ ├── TextCompositionStyle.swift │ │ │ ├── TextCompositionStyleExample.swift │ │ │ ├── TextEntities.swift │ │ │ ├── TextEntity.swift │ │ │ ├── TextEntityType.swift │ │ │ ├── TextParseMode.swift │ │ │ ├── TextQuote.swift │ │ │ ├── ThemeParameters.swift │ │ │ ├── ThemeSettings.swift │ │ │ ├── Thumbnail.swift │ │ │ ├── ThumbnailFormat.swift │ │ │ ├── TimeZone.swift │ │ │ ├── TimeZones.swift │ │ │ ├── ToggleAllDownloadsArePaused.swift │ │ │ ├── ToggleBotCanManageEmojiStatus.swift │ │ │ ├── ToggleBotIsAddedToAttachmentMenu.swift │ │ │ ├── ToggleBotUsernameIsActive.swift │ │ │ ├── ToggleBusinessConnectedBotChatIsPaused.swift │ │ │ ├── ToggleChatDefaultDisableNotification.swift │ │ │ ├── ToggleChatFolderTags.swift │ │ │ ├── ToggleChatGiftNotifications.swift │ │ │ ├── ToggleChatHasProtectedContent.swift │ │ │ ├── ToggleChatIsMarkedAsUnread.swift │ │ │ ├── ToggleChatIsPinned.swift │ │ │ ├── ToggleChatIsTranslatable.swift │ │ │ ├── ToggleChatViewAsTopics.swift │ │ │ ├── ToggleDirectMessagesChatTopicCanSendUnpaidMessages.swift │ │ │ ├── ToggleDownloadIsPaused.swift │ │ │ ├── ToggleForumTopicIsClosed.swift │ │ │ ├── ToggleForumTopicIsPinned.swift │ │ │ ├── ToggleGeneralForumTopicIsHidden.swift │ │ │ ├── ToggleGiftIsSaved.swift │ │ │ ├── ToggleGroupCallAreMessagesAllowed.swift │ │ │ ├── ToggleGroupCallEnabledStartNotification.swift │ │ │ ├── ToggleGroupCallIsMyVideoEnabled.swift │ │ │ ├── ToggleGroupCallIsMyVideoPaused.swift │ │ │ ├── ToggleGroupCallMuteNewParticipants.swift │ │ │ ├── ToggleGroupCallParticipantIsHandRaised.swift │ │ │ ├── ToggleGroupCallParticipantIsMuted.swift │ │ │ ├── ToggleGroupCallScreenSharingIsPaused.swift │ │ │ ├── ToggleHasSponsoredMessagesEnabled.swift │ │ │ ├── TogglePaidMessageReactionIsAnonymous.swift │ │ │ ├── ToggleSavedMessagesTopicIsPinned.swift │ │ │ ├── ToggleSessionCanAcceptCalls.swift │ │ │ ├── ToggleSessionCanAcceptSecretChats.swift │ │ │ ├── ToggleStoryIsPostedToChatPage.swift │ │ │ ├── ToggleSupergroupCanHaveSponsoredMessages.swift │ │ │ ├── ToggleSupergroupHasAggressiveAntiSpamEnabled.swift │ │ │ ├── ToggleSupergroupHasAutomaticTranslation.swift │ │ │ ├── ToggleSupergroupHasHiddenMembers.swift │ │ │ ├── ToggleSupergroupIsAllHistoryAvailable.swift │ │ │ ├── ToggleSupergroupIsBroadcastGroup.swift │ │ │ ├── ToggleSupergroupIsForum.swift │ │ │ ├── ToggleSupergroupJoinByRequest.swift │ │ │ ├── ToggleSupergroupJoinToSendMessages.swift │ │ │ ├── ToggleSupergroupSignMessages.swift │ │ │ ├── ToggleSupergroupUsernameIsActive.swift │ │ │ ├── ToggleUsernameIsActive.swift │ │ │ ├── ToggleVideoChatEnabledStartNotification.swift │ │ │ ├── ToggleVideoChatMuteNewParticipants.swift │ │ │ ├── TonRevenueStatistics.swift │ │ │ ├── TonRevenueStatus.swift │ │ │ ├── TonTransaction.swift │ │ │ ├── TonTransactionType.swift │ │ │ ├── TonTransactions.swift │ │ │ ├── TopChatCategory.swift │ │ │ ├── TransactionDirection.swift │ │ │ ├── TransferBusinessAccountStars.swift │ │ │ ├── TransferChatOwnership.swift │ │ │ ├── TransferGift.swift │ │ │ ├── TranslateMessageText.swift │ │ │ ├── TranslateText.swift │ │ │ ├── TrendingStickerSets.swift │ │ │ ├── UnconfirmedSession.swift │ │ │ ├── UnpinAllChatMessages.swift │ │ │ ├── UnpinAllDirectMessagesChatTopicMessages.swift │ │ │ ├── UnpinAllForumTopicMessages.swift │ │ │ ├── UnpinAllMessageThreadMessages.swift │ │ │ ├── UnpinChatMessage.swift │ │ │ ├── UnreadReaction.swift │ │ │ ├── Update.swift │ │ │ ├── Updates.swift │ │ │ ├── UpgradeBasicGroupChatToSupergroupChat.swift │ │ │ ├── UpgradeGift.swift │ │ │ ├── UpgradeGiftResult.swift │ │ │ ├── UpgradedGift.swift │ │ │ ├── UpgradedGiftAttributeId.swift │ │ │ ├── UpgradedGiftAttributeRarity.swift │ │ │ ├── UpgradedGiftBackdrop.swift │ │ │ ├── UpgradedGiftBackdropColors.swift │ │ │ ├── UpgradedGiftBackdropCount.swift │ │ │ ├── UpgradedGiftColors.swift │ │ │ ├── UpgradedGiftModel.swift │ │ │ ├── UpgradedGiftModelCount.swift │ │ │ ├── UpgradedGiftOrigin.swift │ │ │ ├── UpgradedGiftOriginalDetails.swift │ │ │ ├── UpgradedGiftSymbol.swift │ │ │ ├── UpgradedGiftSymbolCount.swift │ │ │ ├── UpgradedGiftValueInfo.swift │ │ │ ├── UploadStickerFile.swift │ │ │ ├── User.swift │ │ │ ├── UserAuctionBid.swift │ │ │ ├── UserFullInfo.swift │ │ │ ├── UserGift.swift │ │ │ ├── UserGifts.swift │ │ │ ├── UserLink.swift │ │ │ ├── UserPrivacySetting.swift │ │ │ ├── UserPrivacySettingRule.swift │ │ │ ├── UserPrivacySettingRules.swift │ │ │ ├── UserRating.swift │ │ │ ├── UserStatus.swift │ │ │ ├── UserSupportInfo.swift │ │ │ ├── UserTransactionPurpose.swift │ │ │ ├── UserType.swift │ │ │ ├── Usernames.swift │ │ │ ├── Users.swift │ │ │ ├── ValidateOrderInfo.swift │ │ │ ├── ValidatedOrderInfo.swift │ │ │ ├── VectorPathCommand.swift │ │ │ ├── Venue.swift │ │ │ ├── VerificationStatus.swift │ │ │ ├── Video.swift │ │ │ ├── VideoChat.swift │ │ │ ├── VideoChatStream.swift │ │ │ ├── VideoChatStreams.swift │ │ │ ├── VideoMessageAdvertisement.swift │ │ │ ├── VideoMessageAdvertisements.swift │ │ │ ├── VideoNote.swift │ │ │ ├── VideoStoryboard.swift │ │ │ ├── ViewMessages.swift │ │ │ ├── ViewPremiumFeature.swift │ │ │ ├── ViewSponsoredChat.swift │ │ │ ├── ViewTrendingStickerSets.swift │ │ │ ├── ViewVideoMessageAdvertisement.swift │ │ │ ├── VoiceNote.swift │ │ │ ├── WebApp.swift │ │ │ ├── WebAppInfo.swift │ │ │ ├── WebAppOpenMode.swift │ │ │ ├── WebAppOpenParameters.swift │ │ │ ├── WebPage.swift │ │ │ ├── WebPageInstantView.swift │ │ │ └── WriteGeneratedFilePart.swift │ │ └── Supporting/ │ │ ├── DTO.swift │ │ ├── DtoCodingKeys.swift │ │ ├── JSONDecoder+Result.swift │ │ ├── Logger.swift │ │ └── TdInt64.swift │ ├── Supporting/ │ │ ├── ConcurrentDictionary.swift │ │ └── RWLock.swift │ ├── TDLibClientManager.swift │ └── TdClientImpl.swift ├── Tests/ │ └── TDLibKitTests/ │ └── TDLibKitTests.swift ├── scripts/ │ ├── parse_tdlib_version.py │ ├── release.py │ ├── swift_package_generator.py │ ├── test.sh │ ├── tl2swift/ │ │ ├── .gitattributes │ │ ├── .gitignore │ │ ├── Package.swift │ │ ├── README.md │ │ └── Sources/ │ │ ├── TlParserLib/ │ │ │ ├── Application.swift │ │ │ ├── Composer/ │ │ │ │ ├── Composer.swift │ │ │ │ ├── EnumComposer.swift │ │ │ │ ├── MethodsComposer.swift │ │ │ │ ├── StructComposer.swift │ │ │ │ └── Supporting/ │ │ │ │ ├── ClientProtocolComposer.swift │ │ │ │ ├── CodingKeysComposer.swift │ │ │ │ ├── DecoderHelperComposer.swift │ │ │ │ ├── DtoComposer.swift │ │ │ │ ├── LoggerCimposer.swift │ │ │ │ └── TdInt64Composer.swift │ │ │ ├── Helper/ │ │ │ │ ├── CharacterSet.swift │ │ │ │ ├── FileWriter.swift │ │ │ │ ├── Log.swift │ │ │ │ ├── Scanner.swift │ │ │ │ ├── String+Format.swift │ │ │ │ ├── String+Line.swift │ │ │ │ └── TypesHelper.swift │ │ │ ├── Model/ │ │ │ │ ├── Implementation.swift │ │ │ │ └── Schema.swift │ │ │ └── Parser/ │ │ │ └── Parser.swift │ │ └── tl2swift/ │ │ └── main.swift │ ├── update.py │ └── utils.py └── versions.json ================================================ FILE CONTENTS ================================================ ================================================ FILE: .github/workflows/ci.yml ================================================ name: CI # Controls when the workflow will run on: push: branches: [main] paths: - "version" # on version updates - "Package.swift" - "Package.resolved" - "Tests/**" - .github/workflows/ci.yml - "scripts/**" pull_request: branches: [main] schedule: - cron: '0 */12 * * *' # Every 12 hours # Allows you to run this workflow manually from the Actions tab workflow_dispatch: concurrency: group: ci-${{ github.event.pull_request.number || github.ref }} cancel-in-progress: true env: TDLIB_REPO: https://github.com/tdlib/td DEVELOPER_DIR: /Applications/Xcode_16.4.app/Contents/Developer permissions: contents: write jobs: update: runs-on: macos-15 steps: - name: Checkout uses: actions/checkout@v4 - name: Update package run: ./scripts/update.py env: GH_TOKEN: ${{ github.token }} - run: rm -rf .git - name: Upload Workspace uses: actions/upload-artifact@v4 with: name: TDLibKit-${{ github.sha }} path: . if-no-files-found: error test: runs-on: macos-15 needs: [update] strategy: matrix: include: - platform: "macOS" - platform: "iOS-simulator" os_list: "18.5" device_name: "iPhone 16" - platform: "tvOS-simulator" os_list: "18.5" device_name: "Apple TV 4K (3rd generation) (at 1080p)" # Became much slower on CI with macos-14 images, while working fine locally # we will only build them - platform: "watchOS-simulator" os_list: "11.5" device_name: "Apple Watch Series 10 (46mm)" action: "build" - platform: "visionOS-simulator" os_list: "2.3" device_name: "Apple Vision Pro" action: "build" steps: - name: Download Workspace uses: actions/download-artifact@v4 with: name: TDLibKit-${{ github.sha }} path: . - name: Tests (${{ matrix.platform }}) run: | chmod +x ./scripts/test.sh ./scripts/test.sh ${{ matrix.platform }} "${{ matrix.os_list }}" "${{ matrix.device_name }}" "${{ matrix.action }}" || ./scripts/test.sh ${{ matrix.platform }} "${{ matrix.os_list }}" "${{ matrix.device_name }}" "${{ matrix.action }}" release: if: ${{ github.ref == 'refs/heads/main' }} runs-on: macos-15 needs: [test] steps: - name: Setup Git uses: actions/checkout@v4 - name: Download Workspace uses: actions/download-artifact@v4 with: name: TDLibKit-${{ github.sha }} path: . - name: Commit Files run: | git config user.name github-actions git config user.email github-actions@github.com git add . || true export COMMIT_VERSION=$(python3 < IDEDidComputeMac32BitWarning ================================================ FILE: .swiftpm/xcode/xcshareddata/xcschemes/TDLibKit.xcscheme ================================================ ================================================ FILE: LICENSE ================================================ MIT License Copyright (c) 2021 Sergey Akentev (@Kylmakalle) Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. ================================================ FILE: Package.resolved ================================================ { "object": { "pins": [ { "package": "TDLibFramework", "repositoryURL": "https://github.com/Swiftgram/TDLibFramework", "state": { "branch": null, "revision": "c89cc7e3edef521a84ec46691d2a7f65de09d3ff", "version": "1.8.64-7a7081bf" } } ] }, "version": 1 } ================================================ FILE: Package.swift ================================================ // swift-tools-version:5.3 // The swift-tools-version declares the minimum version of Swift required to build this package. // DO NOT EDIT! Generated automatically. See scripts/swift_package_generator.py import PackageDescription let package = Package( name: "TDLibKit", platforms: [ // Following versions of https://github.com/Swiftgram/TDLibFramework/blob/main/Package.swift .iOS(.v12), .macOS(.v10_15), .watchOS(.v4), .tvOS(.v12) ], products: [ .library( name: "TDLibKit", targets: ["TDLibKit"]), ], dependencies: [ .package(url: "https://github.com/Swiftgram/TDLibFramework", .exact("1.8.64-7a7081bf")), ], targets: [ .target( name: "TDLibKit", dependencies: ["TDLibFramework"] ), .testTarget( name: "TDLibKitTests", dependencies: ["TDLibKit"] ), ] ) ================================================ FILE: README.md ================================================ # TDLibKit [![CI](https://github.com/Swiftgram/TDLibKit/actions/workflows/ci.yml/badge.svg)](https://github.com/Swiftgram/TDLibKit/actions/workflows/ci.yml) TDLibKit is a native Swift wrapper for [TDLib](https://github.com/tdlib/td) with support for iOS, macOS, watchOS, tvOS and visionOS. Powered by pre-built multi-platform [TDLibFramework](https://github.com/Swiftgram/TDLibFramework) implementation of [TDLib](https://github.com/tdlib/td) and generated sources with [tl2swift](scripts/tl2swift) ## Installation ### Xcode 1. Install Latest Xcode 2. Add `https://github.com/Swiftgram/TDLibKit` as SPM dependency in `Project > Swift Packages`. This could take a while cause it downloads ~300mb zip file with binary from [TDLibFramework dependency](https://github.com/Swiftgram/TDLibFramework) 3. Add `TDLibKit` as your target dependency. 4. Code! ### Cocoapods Integration requires similar to [TDLibFramework Cocoapods & Flutter guide](https://github.com/Swiftgram/TDLibFramework/blob/main/docs/COCOAPODS-and-FLUTTER.md) adaptation. ## Usage Library provides multiple API interfaces based on different approaches - [Async/Await](https://docs.swift.org/swift-book/documentation/the-swift-programming-language/concurrency/) syntax & do/catch. Available for iOS 13.0+, macOS 10.15+, watchOS 6.0+, tvOS 13.0+, visionOS - Completion handlers & closures ### Create client Manager ```swift import TDLibKit let manager = TDLibClientManager() ``` Make sure to create only one `TDLibClientManager`, since `td_receive` can be only called from a single thread. Manager automatically polls for new updates, we will handle them per-client below. ### Create Client & Handle updates ```swift let client = manager.createClient(updateHandler: { /* data: Data, client: TDLibCLient */ do { let update = try $1.decoder.decode(Update.self, from: $0) switch update { case .updateNewMessage(let newMsg): switch newMsg.message.content { case .messageText(let text): print("Text Message: \(text.text.text)") default: break } case .updateMessageEdited: break // ... etc default: print("Unhandled Update \(update)") break } } catch { print("Error in update handler \(error.localizedDescription)") } }) ``` ### Synchronious requests Only for methods with "[Can be called synchronously](https://github.com/tdlib/td/blob/73d8fb4b3584633b0ffde97a20bbff6602e7a5c4/td/generate/scheme/td_api.tl#L4294)" in docs ```swift let query = SetLogVerbosityLevel(newVerbosityLevel: 5) do { let result = try client.execute(query: DTO(query)) if let resultDict = result { print("Response: \(resultDict)") } else { print("Empty result") } } catch { print("Error in SetLogVerbosityLevel request \(error.localizedDescription)") } ``` ### Async requests #### Async/Await ```swift do { let chatHistory = try await client.getChatHistory( chatId: chatId, fromMessageId: 0, limit: 50, offset: 0, onlyLocal: false // Request remote messages from server ) for message in chatHistory.messages { switch message.content { case .messageText(let text): print(text.text.text) case .messageAnimation: print("") case .messagePhoto(let photo): print("\n\(photo.caption.text)") case .messageSticker(let sticker): print(sticker.sticker.emoji) case .messageVideo(let video): print("