diff --git a/README.md b/README.md index b80b190..d60fb32 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -[![API Layer](https://img.shields.io/badge/API_Layer-154-blueviolet)](https://corefork.telegram.org/methods) +[![API Layer](https://img.shields.io/badge/API_Layer-155-blueviolet)](https://corefork.telegram.org/methods) [![NuGet version](https://img.shields.io/nuget/v/WTelegramClient?color=00508F)](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) [![Donate](https://img.shields.io/badge/Help_this_project:-Donate-ff4444)](http://t.me/WTelegramBot?start=donate) diff --git a/src/TL.Schema.cs b/src/TL.Schema.cs index bd9cfd1..7e3fd02 100644 --- a/src/TL.Schema.cs +++ b/src/TL.Schema.cs @@ -4449,6 +4449,12 @@ namespace TL /// See [TLDef(0xEC05B097)] public class UpdateAutoSaveSettings : Update { } + /// See + [TLDef(0xCCF08AD6)] + public class UpdateGroupInvitePrivacyForbidden : Update + { + public long user_id; + } /// Updates state. See [TLDef(0xA56C2A3E)] @@ -13442,13 +13448,14 @@ namespace TL } /// How a certain peer reacted to the message See - [TLDef(0xB156FE9C)] + [TLDef(0x8C79B63C)] public class MessagePeerReaction : IObject { /// Flags, see TL conditional fields public Flags flags; /// Peer that reacted to the message public Peer peer_id; + public DateTime date; /// Reaction emoji public Reaction reaction; diff --git a/src/TL.Table.cs b/src/TL.Table.cs index 9cb6716..57e224f 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 = 154; // fetched 08/03/2023 19:08:02 + public const int Version = 155; // fetched 09/03/2023 20:45:49 internal const int SecretChats = 144; internal const int MTProto2 = 73; internal const uint VectorCtor = 0x1CB5C415; @@ -369,6 +369,7 @@ namespace TL [0xFE198602] = typeof(UpdateChannelPinnedTopics), [0x20529438] = typeof(UpdateUser), [0xEC05B097] = typeof(UpdateAutoSaveSettings), + [0xCCF08AD6] = typeof(UpdateGroupInvitePrivacyForbidden), [0xA56C2A3E] = typeof(Updates_State), [0x5D75A138] = typeof(Updates_DifferenceEmpty), [0x00F49CA0] = typeof(Updates_Difference), @@ -993,7 +994,7 @@ namespace TL [0xC077EC01] = typeof(AvailableReaction), [0x9F071957] = null,//Messages_AvailableReactionsNotModified [0x768E3AAD] = typeof(Messages_AvailableReactions), - [0xB156FE9C] = typeof(MessagePeerReaction), + [0x8C79B63C] = typeof(MessagePeerReaction), [0x80EB48AF] = typeof(GroupCallStreamChannel), [0xD0E482B2] = typeof(Phone_GroupCallStreamChannels), [0x2DBF3432] = typeof(Phone_GroupCallStreamRtmpUrl), diff --git a/src/WTelegramClient.csproj b/src/WTelegramClient.csproj index 889d922..68efad0 100644 --- a/src/WTelegramClient.csproj +++ b/src/WTelegramClient.csproj @@ -13,7 +13,7 @@ WTelegramClient 0.0.0 Wizou - Telegram Client API (MTProto) library written 100% in C# and .NET Standard | Latest API layer: 154 Release Notes: $(ReleaseNotes.Replace("|", "%0D%0A").Replace(" - ","%0D%0A- ").Replace(" ", "%0D%0A%0D%0A")) + Telegram Client API (MTProto) library written 100% in C# and .NET Standard | Latest API layer: 155 Release Notes: $(ReleaseNotes.Replace("|", "%0D%0A").Replace(" - ","%0D%0A- ").Replace(" ", "%0D%0A%0D%0A")) Copyright © Olivier Marcoux 2021-2023 MIT https://github.com/wiz0u/WTelegramClient