mirror of
https://github.com/wiz0u/WTelegramClient.git
synced 2026-04-06 23:14:01 +00:00
Nullable ctor: Empty classes are now converted into/from a null value. This simplifies the hierarchy
This commit is contained in:
parent
52fb2a7831
commit
d4c373d95f
9 changed files with 263 additions and 283 deletions
|
|
@ -10,6 +10,7 @@ namespace TL
|
|||
public abstract partial class DecryptedMessageBase : ITLObject { }
|
||||
|
||||
///<summary>See <a href="https://core.telegram.org/type/DecryptedMessageMedia"/></summary>
|
||||
///<remarks>a <c>null</c> value means <a href="https://core.telegram.org/constructor/decryptedMessageMediaEmpty">decryptedMessageMediaEmpty</a></remarks>
|
||||
public abstract partial class DecryptedMessageMedia : ITLObject { }
|
||||
|
||||
///<summary>See <a href="https://core.telegram.org/type/DecryptedMessageAction"/></summary>
|
||||
|
|
@ -38,9 +39,6 @@ namespace TL
|
|||
public DecryptedMessageAction action;
|
||||
}
|
||||
|
||||
///<summary>See <a href="https://core.telegram.org/constructor/decryptedMessageMediaEmpty"/></summary>
|
||||
[TLDef(0x089F5C4A)]
|
||||
public partial class DecryptedMessageMediaEmpty : DecryptedMessageMedia { }
|
||||
///<summary>See <a href="https://core.telegram.org/constructor/decryptedMessageMediaPhoto"/></summary>
|
||||
[TLDef(0x32798A8C)]
|
||||
public partial class DecryptedMessageMediaPhoto : DecryptedMessageMedia
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue