diff --git a/example/java/org/drinkless/tdlib/example/Example.java b/example/java/org/drinkless/tdlib/example/Example.java index ee5e2f1ca..993c834a2 100644 --- a/example/java/org/drinkless/tdlib/example/Example.java +++ b/example/java/org/drinkless/tdlib/example/Example.java @@ -248,7 +248,7 @@ public final class Example { private static void getMainChatList(final int limit) { synchronized (mainChatList) { if (!haveFullMainChatList && limit > mainChatList.size()) { - // send GetChats request if there are some unknown chats and have not enough known chats + // send LoadChats request if there are some unknown chats and have not enough known chats client.send(new TdApi.LoadChats(new TdApi.ChatListMain(), limit - mainChatList.size()), new Client.ResultHandler() { @Override public void onResult(TdApi.Object object) { @@ -259,7 +259,7 @@ public final class Example { haveFullMainChatList = true; } } else { - System.err.println("Receive an error for GetChats:" + newLine + object); + System.err.println("Receive an error for LoadChats:" + newLine + object); } break; case TdApi.Ok.CONSTRUCTOR: diff --git a/example/uwp/README.md b/example/uwp/README.md index f6cf3aa54..c0b4de723 100644 --- a/example/uwp/README.md +++ b/example/uwp/README.md @@ -19,7 +19,7 @@ cd ``` powershell -ExecutionPolicy ByPass .\build.ps1 -vcpkg_root C:\vcpkg ``` -If you need to restart the build from scratch, call `.\build.ps1 -vcpkg_root ../../vcpkg -mode clean` first. +If you need to restart the build from scratch, call `.\build.ps1 -vcpkg_root C:\vcpkg -mode clean` first. * Install Visual Studio Extension "TDLib for Universal Windows Platform" located at `build-uwp\vsix\tdlib.vsix`, which was created on the previous step by `build.ps1` script. Now `TDLib` can be used from any UWP project, built in Visual Studio. diff --git a/td/generate/scheme/td_api.tl b/td/generate/scheme/td_api.tl index f56fe08a7..67f0d3a48 100644 --- a/td/generate/scheme/td_api.tl +++ b/td/generate/scheme/td_api.tl @@ -573,7 +573,7 @@ supergroupMembersFilterBots = SupergroupMembersFilter; //@member_count Number of chat members, which joined the chat using the link //@pending_join_request_count Number of pending join requests created using this link //@creates_join_request True, if the link only creates join request. If true, total number of joining members will be unlimited -//@is_primary True, if the link is primary. Primary invite link can't have name, expire date or usage limit. There is exactly one primary invite link for each administrator with can_invite_users right at a given time +//@is_primary True, if the link is primary. Primary invite link can't have name, expiration date, or usage limit. There is exactly one primary invite link for each administrator with can_invite_users right at a given time //@is_revoked True, if the link was revoked chatInviteLink invite_link:string name:string creator_user_id:int53 date:int32 edit_date:int32 expire_date:int32 member_limit:int32 member_count:int32 pending_join_request_count:int32 creates_join_request:Bool is_primary:Bool is_revoked:Bool = ChatInviteLink;