Commit Graph

51 Commits

Author SHA1 Message Date
levlam
5eea5b7501 Rename create_client to create_client_id. 2020-11-15 01:13:11 +03:00
levlam
66af1a439a Use getOptions as first request. 2020-11-14 23:00:05 +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
358c0f2249 Add clientCount in Java example.
GitOrigin-RevId: 7b7dfcf77de1ab1db55dd42642b59f5b039943cb
2020-10-13 15:39:17 +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
29cd47f01a Fix Client close waiting in Java example.
GitOrigin-RevId: e5fa246b26b6477da4b3e3ec7444aa5e3e6c7bb2
2020-10-11 11:13:30 +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
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
0877d7f716 Automatically detect operating system version.
GitOrigin-RevId: d693799fdbfe4919da5a70c141709f2db93063d7
2020-06-19 03:45:24 +03:00
levlam
b3b6a37048 Update Java example.
GitOrigin-RevId: f1ecb1f86457054913eefdae378998f1b6930751
2020-06-02 16:57:49 +03:00
levlam
e0f27dd9c0 Do not try to use PHP on HardenedBSD.
GitOrigin-RevId: 9418dd2c90cc35a930342376bd65711428c29333
2020-02-29 16:15:52 +03:00
levlam
3aaa58a8c0 Documentation improvements.
GitOrigin-RevId: 97c207980ea1265ebc5c4421a7bd22d77553f2f5
2020-01-06 21:44:09 +03:00
levlam
80c35676a2 Update copyright year.
GitOrigin-RevId: 09afb551b6e637dc69739fa735b0051a38b9e14c
2020-01-01 04:23:48 +03:00
levlam
b91c4ecf88 Add td_api::authorizationStateWaitOtherDeviceConfirmation to examples.
GitOrigin-RevId: 442ceda8e3b538d0e78a34858dc90e742ef4a126
2019-12-18 19:23:14 +03:00
levlam
b43dd2be8e Update calls to sendMessage in examples.
GitOrigin-RevId: 1a8eb0bf50eb4ce3da03c50a0a694e4ba1bbaedc
2019-12-06 02:36:33 +03:00
levlam
c1afa189f3 Support multiple chat lists.
GitOrigin-RevId: 8adecce0ddf36bb2408eecc19b7f1fc8856151fc
2019-08-22 18:24:02 +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
b1347c3226 Add separate authorizationStateWaitRegistration.
GitOrigin-RevId: 1e41124d6174e956ce74266c9140ad346cf8a6f0
2019-07-16 22:08:34 +03:00
levlam
99ce6f882a Catch UnsatisfiedLinkError in Java example.
GitOrigin-RevId: d6e3f5cfd21593e1ae2861559ddcac13a1da85c4
2019-06-10 19:49:34 +03:00
levlam
68b2d10fdb Add td_api::phoneNumberAuthenticationSettings and support automatic code retrival from SMS on Android.
GitOrigin-RevId: f97bd5bf3eb7449da1b14242fa47537801657b04
2019-05-03 05:44:59 +03:00
levlam
e785ac6bba Better CMake variable expansion usage in if.
GitOrigin-RevId: 28a5d6bbab13a9eacf9b1b8f0ac8eeff1be21556
2019-04-04 22:23:06 +03:00
levlam
d2277e5995 Deprecate Log class in Java example.
GitOrigin-RevId: 1ff3298befd963e27375c1e31fa5b22350396387
2019-03-06 22:19:45 +03:00
levlam
eaebfad034 Update copyright year.
GitOrigin-RevId: 359e2b43322222922c44c430d3814b0a4c778dc6
2019-01-01 01:02:34 +03:00
levlam
bd2433e794 Supoort for CMake 3.0 in Java example.
GitOrigin-RevId: 645e062a53c389c00bc7653556409d37d777f2d6
2018-10-23 04:36:24 +03:00
levlam
6999ec4604 Fix lost updates in Java example.
GitOrigin-RevId: 9081b015baed288ee7a901c89d4bdf4933aaf6d8
2018-07-31 15:10:50 +03:00
levlam
14f1850490 Add new updates to Java example.
GitOrigin-RevId: 6c13f8de7e4d3028b9660973c1e3cb78994c0ae2
2018-06-28 21:11:52 +03:00
levlam
9d537842b7 Update Java example.
GitOrigin-RevId: 7a0f609d61433e19f8d052d34c9afe7a05e30716
2018-05-15 16:26:57 +03:00
levlam
cfe4d9bdce Properly fix prompt printing in C# example.
GitOrigin-RevId: 4a9306738d35a3ba0893ae65922a5bcef7c2f644
2018-03-20 18:54:50 +03:00
levlam
42d5248446 Properly fix prompt printing in Java example.
GitOrigin-RevId: 70500ce141b333c186c79ff777df7bf742159df5
2018-03-20 18:41:47 +03:00
hekkup
4acf428c9b Fixed non-cmd console issue in Java example + added more build info (#146)
* Changed Console to BufferedReader in Java example, fixes https://github.com/tdlib/td/issues/141. Added more info about building Java example.
2018-03-20 17:48:47 +03:00
levlam
3b569010aa Add documentation to ClientDotNet and LogDotNet.
GitOrigin-RevId: 4683cfb7198430314539780fa793898ff6c36e96
2018-03-15 19:25:51 +03:00
levlam
be3a1b51a6 Slightly better commandLine in Java example.
GitOrigin-RevId: 0df474b7b9f4ded67c9c6a61fe07f68433522644
2018-03-14 15:12:30 +03:00
levlam
b48b0c5ece Error on running Java example from unsuitable Console.
GitOrigin-RevId: d555b8d4763e77e1d5313b929bb7b257a237dcc6
2018-03-14 14:50:42 +03:00
levlam
1b75824e3e Better README.md.
GitOrigin-RevId: 1eb3febfd362c2e32a5ed4b1bf38ce88652bd2c0
2018-03-13 22:45:00 +03:00
levlam
4ebb813907 Set database directory in examples.
GitOrigin-RevId: bbbd31f3a7f044cf12db36bbce21363ee6019cde
2018-02-26 12:41:12 +03:00
levlam
620e5d95cd Fix formatting.
GitOrigin-RevId: 4c44f261be6bddbce9b24ce28d177313753b603d
2018-02-02 01:44:51 +03:00
levlam
d7ecc96113 Update layer to 75. Support entities in captions.
GitOrigin-RevId: a633d5d57c52794da0fc1b6de04f4ff1a4ed00fd
2018-01-30 20:06:54 +03:00
levlam
62bb714421 Fix some includes and spelling.
GitOrigin-RevId: 489a75315987be488d8caf63a9d3c4f0948ab810
2018-01-28 21:13:25 +03:00
levlam
a47d5d5511 Return whether Log::set_file_path succeded or not.
GitOrigin-RevId: a928f8691ebedfd7451bf8bd7957071786b50349
2018-01-28 19:38:59 +03:00
levlam
d8f4e97747 Update Java example README.md.
GitOrigin-RevId: 3e1a8519808240bb83a7102bda769ad769e8139e
2018-01-28 15:43:04 +03:00