Commit Graph

378 Commits

Author SHA1 Message Date
levlam
cd82d3d888 Add new wrapper and usage examples. 2020-11-18 17:38:55 +03:00
levlam
56bba7c731 Fix misprint. 2020-11-16 18:36:09 +03:00
levlam
78e45da6b9 Use array instead of std::vector in the generated C++ classes. 2020-11-15 19:57:03 +03:00
levlam
5eea5b7501 Rename create_client to create_client_id. 2020-11-15 01:13:11 +03:00
levlam
21f6ddc6fb Fix fatal error handler in Python example. 2020-11-15 00:41:29 +03:00
levlam
66af1a439a Use getOptions as first request. 2020-11-14 23:00:05 +03:00
levlam
cde8acf230 Use new JSON interface in Swift example. 2020-11-14 22:45:18 +03:00
levlam
583a8f41d6 Python example: encode strings to UTF-8 before printing to mitigate possible encoding errors. 2020-11-13 23:49:33 +03:00
levlam
0e824976fc Use new JSON interface in Python example. 2020-11-13 21:23:32 +03:00
levlam
00abe2f401 Use ClientManager in C++ example. 2020-11-13 19:22:57 +03:00
levlam
012353aef5 Update JSON C++ example. 2020-11-13 19:16:11 +03:00
levlam
f5dadbb1e5 Automatically install dependent DLLs on Windows. 2020-11-12 17:32:48 +03:00
levlam
5ce7448f7a Send a dummy request to initialize client. 2020-11-12 16:53:51 +03:00
levlam
5c5f3bece5 Fix C++ example. 2020-11-04 21:35:38 +03:00
levlam
b433905bb0 Increase version to 1.6.10.
GitOrigin-RevId: 5b448003c89f845050293a9fceb6a89cd8399ca7
2020-10-30 21:09:08 +03:00
levlam
e32e1c66e7 Add td_api::MessageSender class.
GitOrigin-RevId: 082a1e74188bffc590c4a4182793a9d94b60c148
2020-10-13 19:40:22 +03:00
Arseny Smirnov
add7211707 tdweb: 1.6.9
GitOrigin-RevId: e1124a86c021c43c42ad00dc18dc9db0cbcacad1
2020-10-20 22:23:52 +03:00
Nikolay Nechaev
cecdae448e
Update td_example.cpp (#1254)
Read the whole password, not only the first word from it
2020-10-18 19:25:43 +03:00
levlam
358c0f2249 Add clientCount in Java example.
GitOrigin-RevId: 7b7dfcf77de1ab1db55dd42642b59f5b039943cb
2020-10-13 15:39:17 +03:00
levlam
6b1f6b829d Add Object Pascal to build instructions generator.
GitOrigin-RevId: 2c05c0571a01caab103e04d588c8b3aca38c3139
2020-10-12 14:50:41 +03:00
Ruan Diego Lacerda Menezes
f05b0a833d
Add Object Pascal language to readme (#1229) 2020-10-12 14:34:16 +03:00
levlam
966621376b Use new JSON interface in cpp example.
GitOrigin-RevId: b92842c8ca490877a3154cd04fe9c4cea0e76ee2
2020-10-12 13:58:01 +03:00
levlam
6e9a2cb395 Update recommended Emscripten version.
GitOrigin-RevId: 99502278d1de3bdc78eae343bffd991505cacfa9
2020-10-12 01:10:55 +03:00
levlam
919848f0fe Use ClientManager for Java example interface implementation.
GitOrigin-RevId: 4280b6407a1c1a18bf2a6e952f6761847b69cb83
2020-10-11 21:28:33 +03:00
levlam
78b19d949f Fix on_fatal_error in Java example.
GitOrigin-RevId: 09b6463518e391a70918685205236ffa59a9a121
2020-10-11 14:20:26 +03:00
levlam
4ad90cecc6 Fix Client close waiting in C# example.
GitOrigin-RevId: 411fb84b3f7b4840381962db4e761a04db464182
2020-10-11 11:48:42 +03:00
levlam
29cd47f01a Fix Client close waiting in Java example.
GitOrigin-RevId: e5fa246b26b6477da4b3e3ec7444aa5e3e6c7bb2
2020-10-11 11:13:30 +03:00
Arseny Smirnov
00049a842a tdweb: temporary fix to access Module.FS before promise is completed
GitOrigin-RevId: 32af58ee1994919c75d50f8a2da2643a20bf166c
2020-10-09 19:40:13 +03:00
Arseny Smirnov
04c9680c53 tdweb: preformance bugfixes
GitOrigin-RevId: 626f2cb111f5e47254e6b155bc9bd4f7b2d42829
2020-10-08 16:14:46 +03:00
Arseny Smirnov
5926e00320 tdweb works with newest emsdk
GitOrigin-RevId: b52ab5d9e182e1a689933d7a44d3306f0c9151e5
2020-10-08 14:02:53 +03:00
levlam
6d1d227609 Use new JSON interface in Emscripten.
GitOrigin-RevId: 5294d98c5f615256ea41887c04f863d1adaf4de1
2020-10-08 02:52:34 +03:00
levlam
8460bb7cd5 Fix tdweb build.
GitOrigin-RevId: 8f348a00d05336163c7ea4214ab35a4aea2d2b65
2020-10-08 02:12:51 +03:00
levlam
b204ad4ee1 Store default exception handlers as static map in Java example.
GitOrigin-RevId: 5745859a70250d104a21edad473b655967060609
2020-10-05 21:31:27 +03:00
levlam
da55a34afc Remove ability to change update handler after client creation.
GitOrigin-RevId: 917737a440afaeb99f8a8ca809cda2d267bb4b02
2020-10-05 20:18:59 +03:00
levlam
5f605d2dd2 Fix spelling of "update handler".
GitOrigin-RevId: 2137852d967606e909e82396b4103817b1b39386
2020-10-05 20:13:15 +03:00
levlam
c72d18bcd3 Java example: store update handlers separately.
GitOrigin-RevId: dc035dc72756db604731ae7549b172ba54b5d78e
2020-10-05 18:58:38 +03:00
levlam
c9c19f3399 Add TdApi.UpdateChatIsBlocked handling in Java example.
GitOrigin-RevId: 95ddae8fe77e29bac6cd3846f78c42a4290b7b8f
2020-10-05 16:41:52 +03:00
levlam
62d7423bc3 Fix TdApi.LogStreamFile usage in examples.
GitOrigin-RevId: 25af774fee360bd1071ef911d78e50a25b78372a
2020-10-03 22:05:55 +03:00
LionZXY
e104766de3
Fix java example build (#1225) 2020-10-03 22:01:29 +03:00
levlam
30921606c5 Increase version to 1.6.9.
GitOrigin-RevId: 55cb12c94aaa4d10362a6429eb92c56b67ed73a0
2020-09-30 22:51:46 +03:00
levlam
25676d7ff0 Allow to specify message_thread_id in sendMessage/sendMessageAlbum/sendInlineQueryResult.
GitOrigin-RevId: b9d3545b42355c04afe305f05c0366b0bf3095b0
2020-09-23 01:52:16 +03:00
levlam
bfa807fa41 Remove explicitly required Java version, because CMake fails to handle it correctly.
GitOrigin-RevId: 1501a532311feafdf43a6812efea7ca4308c7b30
2020-08-28 16:00:55 +03:00
levlam
73554fcfa5 Improve README.
GitOrigin-RevId: 77d85ac9661d927031bd5f8b8604c2e02c5b5ddb
2020-08-18 09:51:18 +03:00
levlam
3282a873cb Increase version to 1.6.8.
GitOrigin-RevId: c98b172820d18227ef493812bfd20918434c5929
2020-08-16 10:42:58 +03:00
mr_makss
e2053c3239 Using emcmake in build-tdlib.sh 2020-07-26 15:13:09 +03:00
levlam
48a219041a Increase version to 1.6.7.
GitOrigin-RevId: 76ac2eba8225ab2ae81ffc9b81cb7ebc305d5b42
2020-07-26 14:26:14 +03:00
levlam
0877d7f716 Automatically detect operating system version.
GitOrigin-RevId: d693799fdbfe4919da5a70c141709f2db93063d7
2020-06-19 03:45:24 +03:00
Arseny Smirnov
d60dc8c9b3 tdweb: 1.6.6
GitOrigin-RevId: 57b05b06d523e9f3e962072b497347a07aa53b39
2020-06-07 18:20:32 +03:00
levlam
c78fbe4bc5 Increase version to 1.6.6.
GitOrigin-RevId: 3e77d586408126b7795d27b9620616ac96ac742b
2020-06-02 17:03:04 +03:00
levlam
b3b6a37048 Update Java example.
GitOrigin-RevId: f1ecb1f86457054913eefdae378998f1b6930751
2020-06-02 16:57:49 +03:00
levlam
5989a3939b Increase version to 1.6.5.
GitOrigin-RevId: 09448e515eb54d43d9f672ac885aa007f1e5fecf
2020-05-30 02:44:36 +03:00
levlam
89b37e9f4c Improve PHP section in example README.
GitOrigin-RevId: f4b7e43ce1a152202bc3d5e5cf7c83df4f5212e0
2020-05-23 01:27:38 +03:00
Aurimas Niekis
1f1f8fbfef Added more PHP libraries 2020-05-23 01:03:05 +03:00
levlam
0b1b9be4ef Increase version to 1.6.4.
GitOrigin-RevId: e8b8559a415908ee71a26f7023f79143899a3822
2020-04-30 22:30:38 +03:00
levlam
c6d06e41db Increase version to 1.6.3.
GitOrigin-RevId: fe4df4857dd5fe028d98e40c105f22bd3d387a90
2020-04-20 01:05:39 +03:00
Aurimas Niekis
64dd422b1e
Added tdlib new php extension for tdlib (#983) 2020-04-08 22:49:59 +03:00
levlam
178211e069 tdweb: fix readFilePart count.
GitOrigin-RevId: e1c2ff700bacd5e8c351a1a948ed5369cc2d76a9
2020-04-08 00:59:55 +03:00
levlam
9679cef0bb Increase version to 1.6.2.
GitOrigin-RevId: 165c44595b49d153fbf4315953c8a8f3ee32bf87
2020-03-28 16:52:26 +03:00
levlam
5f5d3355e3 Fix checkDatabaseEncryptionKey usage in examples.
GitOrigin-RevId: 854debfb6f9ec64bc44a19200fdc2f72e39dc6f1
2020-03-25 00:59:38 +03:00
levlam
e0f27dd9c0 Do not try to use PHP on HardenedBSD.
GitOrigin-RevId: 9418dd2c90cc35a930342376bd65711428c29333
2020-02-29 16:15:52 +03:00
levlam
1712d39ce3 Update UWP build script.
GitOrigin-RevId: def31c0c1b69449bf22c00a51d192eb806eddc62
2020-02-19 01:03:00 +03:00
levlam
1283d2cf34 Update UWP build instructions.
GitOrigin-RevId: 639b7451fc217a3eaa28455e772c1e1eb80becf5
2020-02-18 19:41:17 +03:00
levlam
9183772611 Force 32-bit build for code generation in UWP example.
GitOrigin-RevId: 52f7287ae254347f0edd893b825df43a4dedfab5
2020-02-17 15:08:11 +03:00
levlam
545ed2a683 Increase version to 1.6.1.
GitOrigin-RevId: d6886dc57f9f9ae3ceb3659810ea4b4afdc25f1b
2020-02-16 00:54:03 +03:00
levlam
47a0ee9520 Update C# example build instructions.
GitOrigin-RevId: 10223a8f5fff0cd8d62442c4c3b2a48fb192e985
2020-02-04 01:36:52 +03:00
Arseny Smirnov
45d7e5c906 tdweb: npm audit fix
GitOrigin-RevId: c22d183e1479c92f58553b3221fe2a94efb2963d
2020-01-31 19:04:11 +04:00
levlam
278c7acdec Increase version to 1.6.0.
GitOrigin-RevId: baab600dbf0b3f4014b836e06da09b9b825181d4
2020-01-31 03:47:49 +03:00
Khushraj Rathod
0dcbe4973a Fix typos in tdweb readme (#856) 2020-01-27 18:21:26 +03:00
levlam
a89654c3a9 Remove some debug variables.
GitOrigin-RevId: 98b80744574adaa92dea450db049cd166565fc48
2020-01-27 14:28:18 +03:00
levlam
40b9ff17ec tdweb: use unique_id instead of remote.id if possible.
GitOrigin-RevId: fee4ecb25cdc48aa950dfd4d699fe0e0cbea94b9
2020-01-16 05:03:07 +03:00
levlam
161b932256 Increase version to 1.5.5.
GitOrigin-RevId: 313abbdb9c746d7dac72427465025e5c8608deea
2020-01-14 04:38:15 +03:00
levlam
3aaa58a8c0 Documentation improvements.
GitOrigin-RevId: 97c207980ea1265ebc5c4421a7bd22d77553f2f5
2020-01-06 21:44:09 +03:00
levlam
2635dfb53c Specify exact emsdk version in tdweb README.
GitOrigin-RevId: c04d31f9b91d1bdaee31643966f851e25448eb81
2020-01-06 19:30:40 +03:00
levlam
80c35676a2 Update copyright year.
GitOrigin-RevId: 09afb551b6e637dc69739fa735b0051a38b9e14c
2020-01-01 04:23:48 +03:00
Arseny Smirnov
eec3a5205c tdweb: windows.indexedDb -> indexedDB
GitOrigin-RevId: f7d4b7ae785c3f2e0ae2e04b54fe34ce0bfff68a
2019-12-24 14:39:52 +04:00
Arseny Smirnov
e7e1521fd2 Fix example/tdweb build
GitOrigin-RevId: f924d875361fc363af32e5d703e3cac373927405
2019-12-23 21:33:03 +04:00
levlam
47c4d42674 Update version to 1.5.4.
GitOrigin-RevId: 069f6eea120275ff8c227f3406ed675c91c804f2
2019-12-20 04:30:17 +03:00
levlam
b91c4ecf88 Add td_api::authorizationStateWaitOtherDeviceConfirmation to examples.
GitOrigin-RevId: 442ceda8e3b538d0e78a34858dc90e742ef4a126
2019-12-18 19:23:14 +03:00
levlam
b6d2104463 Update link to wrapper.
GitOrigin-RevId: 0d2cc2e124164ccff8d3b68ec2ffe536b4adc7b8
2019-12-13 00:30:03 +03:00
levlam
798a68f284 Fix .NET spelling.
GitOrigin-RevId: 6f757f88aea3ac9f0c36d013013e31108d39f28f
2019-12-13 00:27:36 +03:00
levlam
b43dd2be8e Update calls to sendMessage in examples.
GitOrigin-RevId: 1a8eb0bf50eb4ce3da03c50a0a694e4ba1bbaedc
2019-12-06 02:36:33 +03:00
levlam
5fd1339bc1 Increase version to 1.5.3.
GitOrigin-RevId: 3f4380aaeff296842522c70ccf89e21e3ff77cd3
2019-11-26 21:35:14 +03:00
levlam
90eb543819 Use std::cout instead of std::cerr in C++ example.
GitOrigin-RevId: a61c925e7f432d5df46792ff6d4ccbcb3fda5b85
2019-11-13 20:22:25 +03:00
levlam
ecc856a52c Update version to 1.5.2.
GitOrigin-RevId: 8a6a701ce06c20014a842f0a6d986ee849368997
2019-10-22 18:21:09 +03:00
levlam
c1afa189f3 Support multiple chat lists.
GitOrigin-RevId: 8adecce0ddf36bb2408eecc19b7f1fc8856151fc
2019-08-22 18:24:02 +03:00
levlam
d919282894 Fix iOS example.
GitOrigin-RevId: b67e96439e5e490280a87e5216bd7c7945f95a64
2019-10-17 22:09:17 +03:00
levlam
9b0530e704 Update version to 1.5.1.
GitOrigin-RevId: b383c4ce6a534b528aa0903bb1c34e12fd9cfab5
2019-09-27 00:24:16 +03:00
levlam
387fc91972 Update link to dart example.
GitOrigin-RevId: 764eae1756492205edc26366ceb23390f31d6671
2019-09-24 18:17:14 +03:00
levlam
b71d8bad08 Update example list.
GitOrigin-RevId: 5398ed0ca666d2c50aeef2e2794474e60ea45cfd
2019-09-23 19:50:11 +03:00
whyoleg
5cca461115 Add kotlin to examples 2019-09-21 15:59:13 +03:00
levlam
e2734d4fb6 Update version to 1.5.0.
GitOrigin-RevId: 4fe7ecd3ba5e2a8ba824116b16ddda379a9e3feb
2019-09-08 05:20:42 +03:00
levlam
00df08f144 Update tdweb version to 1.5.0.
GitOrigin-RevId: 7280a34ea78e3de6d5f3a58101a86144720048a0
2019-09-08 04:44:49 +03:00
Dylan Staley
36e98f31a2 Fix call to log.warn in asmjs mode
When attempting to run tdweb in asmjs mode, a call to `log.warning` is made. However, the correct call is `log.warn`.
2019-09-08 04:37:29 +03:00
Kesha Antonov
8a8c10529a [Bugfix][Example][Web] Fix typo after import 2019-09-08 04:24:56 +03:00
levlam
8ca4ba39c4 tdweb: undo source change to accept Github pull request.
GitOrigin-RevId: b5c73c6c7d412acc649d2a93a7bbab27adeafda7
2019-09-08 04:20:59 +03:00
levlam
449bd82fad Add link to iTeam-co fork of python-telegram.
GitOrigin-RevId: 95a2fef57fbfc3ba63217109013236cd5a25dcf4
2019-09-08 04:03:58 +03:00
levlam
1ea7510500 Update build instuctions for MSVC 2019 + 32-bit + new CMake.
GitOrigin-RevId: 4860583c1fc22ef9f40cdcf602fd8e49410254e5
2019-09-07 02:14:49 +03:00
levlam
39e8379a86 Increase version to 1.4.2.
GitOrigin-RevId: 0b3dc7e227f564e4af4fd246cebfdc72353e48ec
2019-08-29 03:30:10 +03:00
Arseny Smirnov
dd15a176e5 tdweb: @arseny30/tdweb 1.4.6
GitOrigin-RevId: 520ef633ad31739fc3e314a066dc5f66bb40f0cf
2019-08-16 09:39:20 +03:00
Arseny Smirnov
2f7fc17460 @arseny30/tdweb@1.4.5
GitOrigin-RevId: d9c387301437098aa3afbadba6d1c52c051886ac
2019-08-13 17:38:23 +03:00