Skip to content

Commit fea8dbe

Browse files
committed
update tdlib to 1.8.58 from tdlib/td@282f96c
1 parent 4817445 commit fea8dbe

File tree

118 files changed

+7132
-1661
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

118 files changed

+7132
-1661
lines changed

lib/common/src/version.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,4 @@
77

88
#pragma once
99

10-
#define NCHAT_VERSION "5.12.16"
10+
#define NCHAT_VERSION "5.12.17"

lib/tgchat/ext/td/CMakeLists.txt

Lines changed: 18 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
cmake_minimum_required(VERSION 3.10 FATAL_ERROR)
22

3-
project(TDLib VERSION 1.8.56 LANGUAGES CXX C)
3+
project(TDLib VERSION 1.8.58 LANGUAGES CXX C)
44

55
if (NOT DEFINED CMAKE_MODULE_PATH)
66
set(CMAKE_MODULE_PATH "")
@@ -342,12 +342,14 @@ set(TD_MTPROTO_SOURCE
342342

343343
set(TDLIB_SOURCE_PART1
344344
td/telegram/AccountManager.cpp
345+
td/telegram/ActiveStoryState.cpp
345346
td/telegram/AffiliateType.cpp
346347
td/telegram/AgeVerificationParameters.cpp
347348
td/telegram/AlarmManager.cpp
348349
td/telegram/AnimationsManager.cpp
349350
td/telegram/Application.cpp
350351
td/telegram/AttachMenuManager.cpp
352+
td/telegram/AuctionBidLevel.cpp
351353
td/telegram/AudiosManager.cpp
352354
td/telegram/AuthManager.cpp
353355
td/telegram/AutoDownloadSettings.cpp
@@ -466,6 +468,8 @@ set(TDLIB_SOURCE_PART1
466468
td/telegram/GlobalPrivacySettings.cpp
467469
td/telegram/GroupCallJoinParameters.cpp
468470
td/telegram/GroupCallManager.cpp
471+
td/telegram/GroupCallMessage.cpp
472+
td/telegram/GroupCallMessageLimit.cpp
469473
td/telegram/GroupCallParticipant.cpp
470474
td/telegram/GroupCallParticipantOrder.cpp
471475
td/telegram/GroupCallVideoPayload.cpp
@@ -488,6 +492,7 @@ set(TDLIB_SOURCE_PART1
488492
td/telegram/MediaAreaCoordinates.cpp
489493
td/telegram/MessageContent.cpp
490494
td/telegram/MessageContentType.cpp
495+
td/telegram/MessageCopyOptions.cpp
491496
td/telegram/MessageDb.cpp
492497
td/telegram/MessageEntity.cpp
493498
td/telegram/MessageExtendedMedia.cpp
@@ -606,6 +611,9 @@ set(TDLIB_SOURCE_PART2
606611
td/telegram/StarGift.cpp
607612
td/telegram/StarGiftAttribute.cpp
608613
td/telegram/StarGiftAttributeId.cpp
614+
td/telegram/StarGiftAuctionState.cpp
615+
td/telegram/StarGiftAuctionUserState.cpp
616+
td/telegram/StarGiftBackground.cpp
609617
td/telegram/StarGiftCollection.cpp
610618
td/telegram/StarGiftId.cpp
611619
td/telegram/StarGiftManager.cpp
@@ -677,13 +685,15 @@ set(TDLIB_SOURCE_PART2
677685
td/telegram/AccentColorId.h
678686
td/telegram/AccessRights.h
679687
td/telegram/AccountManager.h
688+
td/telegram/ActiveStoryState.h
680689
td/telegram/AffectedHistory.h
681690
td/telegram/AffiliateType.h
682691
td/telegram/AgeVerificationParameters.h
683692
td/telegram/AlarmManager.h
684693
td/telegram/AnimationsManager.h
685694
td/telegram/Application.h
686695
td/telegram/AttachMenuManager.h
696+
td/telegram/AuctionBidLevel.h
687697
td/telegram/AudiosManager.h
688698
td/telegram/AuthManager.h
689699
td/telegram/AutoDownloadSettings.h
@@ -830,6 +840,8 @@ set(TDLIB_SOURCE_PART2
830840
td/telegram/GroupCallJoinParameters.h
831841
td/telegram/GroupCallId.h
832842
td/telegram/GroupCallManager.h
843+
td/telegram/GroupCallMessage.h
844+
td/telegram/GroupCallMessageLimit.h
833845
td/telegram/GroupCallParticipant.h
834846
td/telegram/GroupCallParticipantOrder.h
835847
td/telegram/GroupCallVideoPayload.h
@@ -1005,6 +1017,9 @@ set(TDLIB_SOURCE_PART2
10051017
td/telegram/StarGift.h
10061018
td/telegram/StarGiftAttribute.h
10071019
td/telegram/StarGiftAttributeId.h
1020+
td/telegram/StarGiftAuctionState.h
1021+
td/telegram/StarGiftAuctionUserState.h
1022+
td/telegram/StarGiftBackground.h
10081023
td/telegram/StarGiftCollection.h
10091024
td/telegram/StarGiftCollectionId.h
10101025
td/telegram/StarGiftId.h
@@ -1129,6 +1144,7 @@ set(TDLIB_SOURCE_PART2
11291144
td/telegram/ForumTopicInfo.hpp
11301145
td/telegram/Game.hpp
11311146
td/telegram/GiveawayParameters.hpp
1147+
td/telegram/GroupCallMessageLimit.hpp
11321148
td/telegram/InputInvoice.hpp
11331149
td/telegram/InputMessageText.hpp
11341150
td/telegram/MediaArea.hpp
@@ -1170,6 +1186,7 @@ set(TDLIB_SOURCE_PART2
11701186
td/telegram/StarAmount.hpp
11711187
td/telegram/StarGift.hpp
11721188
td/telegram/StarGiftAttribute.hpp
1189+
td/telegram/StarGiftBackground.hpp
11731190
td/telegram/StarGiftId.hpp
11741191
td/telegram/StarGiftResalePrice.hpp
11751192
td/telegram/StarGiftSettings.hpp

lib/tgchat/ext/td/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ target_link_libraries(YourTarget PRIVATE Td::TdStatic)
100100

101101
Or you could install `TDLib` and then reference it in your CMakeLists.txt like this:
102102
```
103-
find_package(Td 1.8.56 REQUIRED)
103+
find_package(Td 1.8.58 REQUIRED)
104104
target_link_libraries(YourTarget PRIVATE Td::TdStatic)
105105
```
106106
See [example/cpp/CMakeLists.txt](https://github.com/tdlib/td/blob/master/example/cpp/CMakeLists.txt).

lib/tgchat/ext/td/SplitSource.php

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -284,11 +284,13 @@ function ($matches) use ($needed_std_headers) {
284284
$td_methods = array(
285285
'AccentColorId' => 'AccentColorId',
286286
'account_manager[_(-](?![.]get[(][)])|AccountManager[^;>]' => 'AccountManager',
287+
'ActiveStoryState' => 'ActiveStoryState',
287288
'AffiliateType' => 'AffiliateType',
288289
'AgeVerificationParameters' => 'AgeVerificationParameters',
289290
'alarm_manager[_(-](?![.]get[(][)])|AlarmManager' => 'AlarmManager',
290291
'animations_manager[_(-](?![.]get[(][)])|AnimationsManager[^;>]' => 'AnimationsManager',
291292
'attach_menu_manager[_(-](?![.]get[(][)])|AttachMenuManager[^;>]' => 'AttachMenuManager',
293+
'AuctionBidLevel' => 'AuctionBidLevel',
292294
'audios_manager[_(-](?![.]get[(][)])|AudiosManager' => 'AudiosManager',
293295
'auth_manager[_(-](?![.]get[(][)])|AuthManager' => 'AuthManager',
294296
'AutoDownloadSettings|[a-z_]*auto_download_settings' => 'AutoDownloadSettings',
@@ -361,6 +363,8 @@ function ($matches) use ($needed_std_headers) {
361363
'GroupCallJoinParameters' => 'GroupCallJoinParameters',
362364
'GroupCallId' => 'GroupCallId',
363365
'group_call_manager[_(-](?![.]get[(][)])|GroupCallManager' => 'GroupCallManager',
366+
'GroupCallMessage[^A-Z]' => 'GroupCallMessage',
367+
'GroupCallMessageLimit' => 'GroupCallMessageLimit',
364368
'hashtag_hints[_(-](?![.]get[(][)])|HashtagHints' => 'HashtagHints',
365369
'inline_message_manager[_(-](?![.]get[(][)])|InlineMessageManager' => 'InlineMessageManager',
366370
'inline_queries_manager[_(-](?![.]get[(][)])|InlineQueriesManager' => 'InlineQueriesManager',
@@ -426,6 +430,9 @@ function ($matches) use ($needed_std_headers) {
426430
'StarGift[^A-Z]' => 'StarGift',
427431
'StarGiftAttribute[^I]' => 'StarGiftAttribute',
428432
'StarGiftAttributeId' => 'StarGiftAttributeId',
433+
'StarGiftAuctionState' => 'StarGiftAuctionState',
434+
'StarGiftAuctionUserState' => 'StarGiftAuctionUserState',
435+
'StarGiftBackground' => 'StarGiftBackground',
429436
'StarGiftCollectionId' => 'StarGiftCollectionId',
430437
'StarGiftId' => 'StarGiftId',
431438
'star_gift_manager[_(-](?![.]get[(][)])|StarGiftManager' => 'StarGiftManager',

lib/tgchat/ext/td/example/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -311,7 +311,7 @@ TDLib can be used from Assembly through the [JSON](https://github.com/tdlib/td#u
311311

312312
See [nasm_tdjson_example](https://gist.github.com/isopen/41481eda87db2e6426af75be9d1f3748).
313313

314-
You can also see [gas_tdjson_example](https://gist.github.com/isopen/25c4829daffb3880a32fac1f85f5f888).
314+
You can also see [gas_tdjson_example](https://gist.github.com/isopen/25c4829daffb3880a32fac1f85f5f888), [arm_tdjson_example](https://gist.github.com/isopen/c00f09d643ce65e465637f812a79695b).
315315

316316
<a name="g"></a>
317317
## Using TDLib from G projects

lib/tgchat/ext/td/example/cpp/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ cmake_minimum_required(VERSION 3.10 FATAL_ERROR)
22

33
project(TdExample VERSION 1.0 LANGUAGES CXX)
44

5-
find_package(Td 1.8.56 REQUIRED)
5+
find_package(Td 1.8.58 REQUIRED)
66

77
add_executable(tdjson_example tdjson_example.cpp)
88
target_link_libraries(tdjson_example PRIVATE Td::TdJson)

lib/tgchat/ext/td/example/uwp/Telegram.Td.UWP.nuspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<package xmlns="http://schemas.microsoft.com/packaging/2013/01/nuspec.xsd">
33
<metadata>
44
<id>Telegram.Td.UWP</id>
5-
<version>1.8.56</version>
5+
<version>1.8.58</version>
66
<title>TDLib for Universal Windows Platform</title>
77
<authors>Telegram</authors>
88
<owners>Telegram</owners>

lib/tgchat/ext/td/example/uwp/extension.vsixmanifest

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<PackageManifest Version="2.0.0" xmlns="http://schemas.microsoft.com/developer/vsx-schema/2011">
22
<Metadata>
3-
<Identity Id="Telegram.Td.UWP" Version="1.8.56" Language="en-US" Publisher="Telegram LLC" />
3+
<Identity Id="Telegram.Td.UWP" Version="1.8.58" Language="en-US" Publisher="Telegram LLC" />
44
<DisplayName>TDLib for Universal Windows Platform</DisplayName>
55
<Description>TDLib is a library for building Telegram clients</Description>
66
<MoreInfo>https://core.telegram.org/tdlib</MoreInfo>

0 commit comments

Comments
 (0)