diff --git a/src/TL.Schema.cs b/src/TL.Schema.cs index b2d52b9..b4e24b1 100644 --- a/src/TL.Schema.cs +++ b/src/TL.Schema.cs @@ -8621,11 +8621,7 @@ namespace TL } /// Location of remote file Derived classes: , See - public abstract class InputWebFileLocationBase : IObject - { - /// Access hash - public abstract long AccessHash { get; } - } + public abstract class InputWebFileLocationBase : IObject { } /// Location of a remote HTTP(s) file See [TLDef(0xC239D686)] public class InputWebFileLocation : InputWebFileLocationBase @@ -8634,9 +8630,6 @@ namespace TL public string url; /// REQUIRED FIELD. See how to obtain it
Access hash
public long access_hash; - - /// Access hash - public override long AccessHash => access_hash; } ///
Geolocation See [TLDef(0x9F2221C9)] @@ -8654,9 +8647,22 @@ namespace TL public int zoom; /// Map scale; 1-3 public int scale; + } + /// See + [TLDef(0xF46FE924)] + public class InputWebFileAudioAlbumThumbLocation : InputWebFileLocationBase + { + public Flags flags; + [IfFlag(0)] public InputDocument document; + [IfFlag(1)] public string title; + [IfFlag(1)] public string performer; - /// Access hash - public override long AccessHash => access_hash; + [Flags] public enum Flags : uint + { + has_document = 0x1, + has_title = 0x2, + small = 0x4, + } } /// Represents a chunk of an HTTP webfile downloaded through telegram's secure MTProto servers See diff --git a/src/TL.Table.cs b/src/TL.Table.cs index dd1244e..52a1fbd 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 = 144; // fetched 28/07/2022 23:41:51 + public const int Version = 144; // fetched 03/08/2022 22:13:22 internal const uint VectorCtor = 0x1CB5C415; internal const uint NullCtor = 0x56730BCC; internal const uint RpcResultCtor = 0xF35C6D01; @@ -667,6 +667,7 @@ namespace TL [0x9BED434D] = typeof(InputWebDocument), [0xC239D686] = typeof(InputWebFileLocation), [0x9F2221C9] = typeof(InputWebFileGeoPointLocation), + [0xF46FE924] = typeof(InputWebFileAudioAlbumThumbLocation), [0x21E753BC] = typeof(Upload_WebFile), [0xA0058751] = typeof(Payments_PaymentForm), [0xD1451883] = typeof(Payments_ValidatedRequestedInfo),