Commit Graph

520 Commits

Author SHA1 Message Date
levlam
40142a45a0 Update tdweb documentation. 2023-11-23 15:50:07 +03:00
levlam
1400aeeb36 Update name of linked OpenSSL DLLs in examples. 2023-11-28 21:09:44 +03:00
levlam
7db2a64959 Update pinned vcpkg commit hash. 2023-11-26 11:10:08 +03:00
levlam
8cfcce6de2 Improve spelling in documentation. 2023-11-15 16:53:38 +03:00
levlam
3870c29b15 Update version to 1.8.21. 2023-11-06 20:52:28 +03:00
levlam
450a00a8a8 Remove mentions of unused NullPointerException. 2023-10-30 21:45:26 +03:00
levlam
f1efac5caf Update Java example to use type-safe Client.Execute. 2023-10-30 21:38:00 +03:00
levlam
4eaa1674d6 Fix Exception class name and base class. 2023-10-30 21:36:29 +03:00
levlam
3841420014 Fix Client.execute Java documentation. 2023-10-30 21:32:34 +03:00
levlam
d16fc8294c Add td_api::linkPreviewOptions. 2023-10-16 20:12:33 +03:00
Vyacheslav
dd77e4628f Strong typed API for synchronous TDLib method execution in Java interface
`Client.execute` in Java interface is now strongly typed: returned TDLib object type depends on the return type defined in the corresponding Function class.

When TDLib error is occurred, method now throws `Client.ExecutionError`.

This change adds compile-time protection against return type change and allows using this pattern:

```
try {
  TdApi.SpecificReturnType result = Client.execute(function);
  // work with strongly typed resultl without casting and type checks
} catch (Client.ExecutionError error) {
  // Handle error
}
```
2023-10-26 13:15:37 +03:00
AYMEN Mohammed
522d54483c Remove outdated ENVIROMENT variable from tdweb worker. 2023-10-19 11:57:14 +03:00
AYMEN Mohammed
50c3bf2e4f
Fix typos. (#2641) 2023-10-18 19:12:31 +03:00
levlam
4ed0b23c9c Update version to 1.8.20. 2023-10-13 00:45:38 +03:00
levlam
9289270cd9 Close databases and binlog on another thread. 2023-10-05 21:50:53 +03:00
levlam
2589c3fd46 Update version to 1.8.19. 2023-09-22 16:22:03 +03:00
levlam
100ca72b91 Update version to 1.8.18. 2023-09-13 18:14:23 +03:00
levlam
edc528457f Update version to 1.8.17. 2023-09-06 15:37:41 +03:00
levlam
8a6f68f3a2 Find only JVM component of JNI in CMake 3.24+ by @cavallium. 2023-09-06 11:51:47 +03:00
levlam
db5d5da09b Update Java example to the latest TDLib version. 2023-08-16 00:44:12 +03:00
levlam
cde095db6c Update version to 1.8.16. 2023-08-15 18:11:16 +03:00
levlam
a7f8ff6eef Fix Java interface with SplitSource. 2023-08-07 01:47:43 +03:00
levlam
64264b0f77 Update OpenSSL to 3.1.2 in iOS example. 2023-08-03 15:12:43 +03:00
Vincent Neo
6a6cd8af76 update example to build openssl 3.1.1 2023-07-31 00:57:28 +03:00
levlam
2e5319ff36 Update version to 1.8.15. 2023-07-20 22:24:40 +03:00
levlam
bee41cd769 Remove deleted C# library from the list of examples. 2023-07-20 18:08:00 +03:00
levlam
98352f5571 Fix warning NU5128. 2023-06-28 00:42:35 +03:00
levlam
c62c84665a Update sendMessage usages in tests and examples. 2023-06-12 15:30:07 +03:00
Fela Ameghino
90c36b602c Fixed hardcoded architecture in targets 2023-05-22 17:12:50 +03:00
Marco Melorio
caac73c680
Update Telegrand name and link. (#2438) 2023-05-18 15:02:16 +03:00
levlam
7bb96fd575 Use specific vcpkg version in C# and UWP example READMEs. 2023-05-10 16:36:52 +03:00
levlam
4d9dc914be Exit UWP build early if TDLib build failed. 2023-05-03 14:46:03 +03:00
levlam
36a45607f2 Use lazy initialization for Java class identifiers to avoid global reference table overflow on some Android 4 devices. 2023-04-26 17:15:53 +03:00
levlam
419a28125b Remove finalizer from Java Client. 2023-04-26 16:15:44 +03:00
levlam
132566b393 Exit check-environment script if make installation is unsupported. 2023-04-25 19:55:44 +03:00
levlam
8517026415 Update version to 1.8.14. 2023-04-21 13:15:29 +03:00
levlam
be3c2c8c5d Add link to a Golang wrapper. 2023-03-28 15:28:23 +03:00
levlam
9692ecf25b Update default OpenSSL versions in examples. 2023-03-26 22:36:09 +03:00
levlam
eb664b4e9f Update version to 1.8.13. 2023-03-25 09:24:10 +03:00
levlam
5abcf24f1f Update UWP example README. 2023-03-25 09:16:52 +03:00
Fela Ameghino
e9b6313b56 Added nupkg support to UWP example 2023-03-25 09:04:21 +03:00
levlam
0c09070ce5 Update version to 1.8.12. 2023-03-08 21:14:44 +03:00
levlam
25154f1ee7 Update PHP download link. 2023-03-07 14:46:43 +03:00
levlam
82cdc98ecf Fail iOS example building if can't apply OpenSSL patch. 2023-03-03 14:11:46 +03:00
levlam
15944f2a00 Add ARM64 support for watchOS. 2023-03-03 14:10:15 +03:00
levlam
22fdc0258b Use "receive"/"have"/"loaded" instead of "got" and other log message improvements. 2023-02-26 14:22:31 +03:00
levlam
1724002c60 Add Vala example. 2023-02-04 12:51:20 +03:00
AYMENJD
7f8c3e8402 Fix checkAuthenticationEmailCode in Python example. 2023-02-04 12:46:34 +03:00
levlam
3179d35694 Update version to 1.8.11. 2023-02-02 19:19:34 +03:00
levlam
75bdc6292b Remove some getAuthorizationState usages. 2023-01-12 22:25:47 +03:00