From 332b7843840c5ca8e9f54ac6659dca1b9ffb1651 Mon Sep 17 00:00:00 2001
From: Wizou <11647984+wiz0u@users.noreply.github.com>
Date: Sat, 7 May 2022 22:13:20 +0200
Subject: [PATCH] minor doc update
---
README.md | 6 +++---
src/TL.Schema.cs | 10 +++++-----
src/TL.SchemaFuncs.cs | 10 +++++-----
src/TL.Table.cs | 2 +-
4 files changed, 14 insertions(+), 14 deletions(-)
diff --git a/README.md b/README.md
index a877b4f..c251365 100644
--- a/README.md
+++ b/README.md
@@ -1,14 +1,14 @@
[](https://www.nuget.org/packages/WTelegramClient/)
[](https://dev.azure.com/wiz0u/WTelegramClient/_build?definitionId=7)
[](https://corefork.telegram.org/methods)
-[](https://dev.azure.com/wiz0u/WTelegramClient/_packaging?_a=package&feed=WTelegramClient&package=WTelegramClient&protocolType=NuGet)
+[](https://dev.azure.com/wiz0u/WTelegramClient/_artifacts/feed/WTelegramClient)
[](https://t.me/WTelegramClient)
[](http://wizou.fr/donate.html)
## _Telegram Client API library written 100% in C# and .NET Standard_
This library allows you to connect to Telegram and control a user programmatically (or a bot, but [Telegram.Bot](https://github.com/TelegramBots/Telegram.Bot) is much easier for that).
-All the Telegram Client APIs are supported so you can do everything the user could do with a full Telegram GUI client.
+All the Telegram Client APIs (MTProto) are supported so you can do everything the user could do with a full Telegram GUI client.
This ReadMe is a **quick but important tutorial** to learn the fundamentals about this library. Please read it all.
@@ -17,7 +17,7 @@ This ReadMe is a **quick but important tutorial** to learn the fundamentals abou
# How to use
-After installing WTelegramClient through Nuget, your first Console program will be as simple as:
+After installing WTelegramClient through [Nuget](https://www.nuget.org/packages/WTelegramClient/), your first Console program will be as simple as:
```csharp
static async Task Main(string[] _)
{
diff --git a/src/TL.Schema.cs b/src/TL.Schema.cs
index 9a0490d..e35be0b 100644
--- a/src/TL.Schema.cs
+++ b/src/TL.Schema.cs
@@ -1029,7 +1029,7 @@ namespace TL
public override string Title => title;
}
- /// Full info about a channel, supergroup, gigagroup or basic group. Derived classes: , See
+ /// Full info about a channel, supergroup, gigagroup or basic group. Derived classes: , See
public abstract partial class ChatFullBase : IObject
{
/// ID of the chat
@@ -1063,7 +1063,7 @@ namespace TL
/// Allowed message reactions »
public abstract string[] AvailableReactions { get; }
}
- /// Full info about a basic group. See
+ /// Full info about a basic group. See
[TLDef(0xD18EE226)]
public partial class ChatFull : ChatFullBase
{
@@ -2921,7 +2921,7 @@ namespace TL
public int count;
}
- /// Full info about a channel, supergroup, gigagroup or basic group. See
+ /// Full info about a channel, supergroup, gigagroup or basic group. See
[TLDef(0xE5D7D19C)]
public class Messages_ChatFull : IObject, IPeerResolver
{
@@ -3011,7 +3011,7 @@ namespace TL
/// Object contains info on events occurred. Derived classes: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , See
public abstract class Update : IObject { }
- /// New message in a private chat or in a basic group. See
+ /// New message in a private chat or in a basic group. See
[TLDef(0x1F2B0AFD)]
public class UpdateNewMessage : Update
{
@@ -3345,7 +3345,7 @@ namespace TL
/// New view counter
public int views;
}
- /// Admin permissions of a user in a basic group were changed See
+ /// Admin permissions of a user in a basic group were changed See
[TLDef(0xD7CA61A2, inheritBefore = true)]
public class UpdateChatParticipantAdmin : UpdateChat
{
diff --git a/src/TL.SchemaFuncs.cs b/src/TL.SchemaFuncs.cs
index d33a1dc..ddab2b3 100644
--- a/src/TL.SchemaFuncs.cs
+++ b/src/TL.SchemaFuncs.cs
@@ -656,7 +656,7 @@ namespace TL
/// Initialize account takeout session See Possible codes: 420 (details)
/// Whether to export contacts
/// Whether to export messages in private chats
- /// Whether to export messages in basic groups
+ /// Whether to export messages in basic groups
/// Whether to export messages in supergroups
/// Whether to export messages in channels
/// Whether to export files
@@ -1484,8 +1484,8 @@ namespace TL
id = id,
});
- /// ⚠ This method is only for small private Chat. See Terminology to understand what this means
Search for a similar method name starting with Channels_ if you're dealing with a Get full info about a basic group. See [bots: ✓] Possible codes: 400 (details)
- /// Basic group ID.
+ /// ⚠ This method is only for small private Chat. See Terminology to understand what this means
Search for a similar method name starting with Channels_ if you're dealing with a Get full info about a basic group. See [bots: ✓] Possible codes: 400 (details)
+ /// Basic group ID.
public static Task Messages_GetFullChat(this Client client, long chat_id)
=> client.Invoke(new Messages_GetFullChat
{
@@ -1796,7 +1796,7 @@ namespace TL
increment = increment,
});
- /// ⚠ This method is only for small private Chat. See Terminology to understand what this means
Search for a similar method name starting with Channels_ if you're dealing with a Make a user admin in a basic group. See Possible codes: 400 (details)
+ /// ⚠ This method is only for small private Chat. See Terminology to understand what this means
Search for a similar method name starting with Channels_ if you're dealing with a Make a user admin in a basic group. See Possible codes: 400 (details)
/// The ID of the group
/// The user to make admin
/// Whether to make them admin
@@ -1809,7 +1809,7 @@ namespace TL
});
/// ⚠ This method is only for small private Chat. See Terminology to understand what this means
Search for a similar method name starting with Channels_ if you're dealing with a Turn a basic group into a supergroup See Possible codes: 400,403 (details)
- /// Basic group to migrate
+ /// Basic group to migrate
public static Task Messages_MigrateChat(this Client client, long chat_id)
=> client.Invoke(new Messages_MigrateChat
{
diff --git a/src/TL.Table.cs b/src/TL.Table.cs
index d709a72..65628e5 100644
--- a/src/TL.Table.cs
+++ b/src/TL.Table.cs
@@ -6,7 +6,7 @@ namespace TL
{
public static class Layer
{
- public const int Version = 140; // fetched 13/04/2022 12:36:36
+ public const int Version = 140; // fetched 01/05/2022 19:32:46
internal const uint VectorCtor = 0x1CB5C415;
internal const uint NullCtor = 0x56730BCC;
internal const uint RpcResultCtor = 0xF35C6D01;