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 @@ [![NuGet version](https://img.shields.io/nuget/v/WTelegramClient)](https://www.nuget.org/packages/WTelegramClient/) [![Build Status](https://img.shields.io/azure-devops/build/wiz0u/WTelegramClient/7)](https://dev.azure.com/wiz0u/WTelegramClient/_build?definitionId=7) [![API Layer](https://img.shields.io/badge/API_Layer-140-blueviolet)](https://corefork.telegram.org/methods) -[![dev nuget](https://img.shields.io/badge/dynamic/json?color=ffc040&label=dev%20nuget&query=%24.versions%5B0%5D&url=https%3A%2F%2Fpkgs.dev.azure.com%2Fwiz0u%2F81bd92b7-0bb9-4701-b426-09090b27e037%2F_packaging%2F46ce0497-7803-4bd4-8c6c-030583e7c371%2Fnuget%2Fv3%2Fflat2%2Fwtelegramclient%2Findex.json)](https://dev.azure.com/wiz0u/WTelegramClient/_packaging?_a=package&feed=WTelegramClient&package=WTelegramClient&protocolType=NuGet) +[![dev nuget](https://img.shields.io/badge/dynamic/json?color=ffc040&label=dev%20nuget&query=%24.versions%5B0%5D&url=https%3A%2F%2Fpkgs.dev.azure.com%2Fwiz0u%2F81bd92b7-0bb9-4701-b426-09090b27e037%2F_packaging%2F46ce0497-7803-4bd4-8c6c-030583e7c371%2Fnuget%2Fv3%2Fflat2%2Fwtelegramclient%2Findex.json)](https://dev.azure.com/wiz0u/WTelegramClient/_artifacts/feed/WTelegramClient) [![Support Chat](https://img.shields.io/badge/Chat_with_us-on_Telegram-0088cc)](https://t.me/WTelegramClient) [![Donate](https://img.shields.io/badge/Help_this_project:-Donate-ff4444)](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;