mirror of
https://github.com/wiz0u/WTelegramClient.git
synced 2025-12-06 06:52:01 +01:00
API Layer 189: Star Gifts, improved reporting
This commit is contained in:
parent
62c105959c
commit
73e4b6c871
|
|
@ -1,4 +1,4 @@
|
||||||
[](https://corefork.telegram.org/methods)
|
[](https://corefork.telegram.org/methods)
|
||||||
[](https://www.nuget.org/packages/WTelegramClient/)
|
[](https://www.nuget.org/packages/WTelegramClient/)
|
||||||
[](https://www.nuget.org/packages/WTelegramClient/absoluteLatest)
|
[](https://www.nuget.org/packages/WTelegramClient/absoluteLatest)
|
||||||
[](https://buymeacoffee.com/wizou)
|
[](https://buymeacoffee.com/wizou)
|
||||||
|
|
|
||||||
198
src/TL.Schema.cs
198
src/TL.Schema.cs
|
|
@ -757,19 +757,19 @@ namespace TL
|
||||||
public Flags2 flags2;
|
public Flags2 flags2;
|
||||||
/// <summary>ID of the user, see <a href="https://corefork.telegram.org/api/peers#peer-id">here »</a> for more info.</summary>
|
/// <summary>ID of the user, see <a href="https://corefork.telegram.org/api/peers#peer-id">here »</a> for more info.</summary>
|
||||||
public long id;
|
public long id;
|
||||||
/// <summary>Access hash of the user, see <a href="https://corefork.telegram.org/api/peers#access-hash">here »</a> for more info. <br/>If this flag is set, when updating the <a href="https://corefork.telegram.org/api/peers">local peer database</a>, generate a virtual flag called <c>min_access_hash</c>, which is: <br/>- Set to <c>true</c> if <c>min</c> is set AND <br/>- The <c>phone</c> flag is <strong>not</strong> set OR <br/>- The <c>phone</c> flag is set and the associated phone number string is non-empty <br/>- Set to <c>false</c> otherwise. <br/><br/>Then, apply both <c>access_hash</c> and <c>min_access_hash</c> to the local database if: <br/>- <c>min_access_hash</c> is false OR <br/>- <c>min_access_hash</c> is true AND <br/>- There is no locally cached object for this user OR <br/>- There is no <c>access_hash</c> in the local cache OR <br/>- The cached object's <c>min_access_hash</c> is also true <br/>If the final merged object stored to the database has the <c>min_access_hash</c> field set to true, the related <c>access_hash</c> is <strong>only</strong> suitable to use in <see cref="InputPeerPhotoFileLocation"><c>inputPeerPhotoFileLocation</c> »</see>, to directly <a href="https://corefork.telegram.org/api/files">download the profile pictures</a> of users, everywhere else a <c>inputPeer*FromMessage</c> constructor will have to be generated as specified <a href="https://corefork.telegram.org/api/min">here »</a>. <br/>Bots can also use min access hashes in some conditions, by passing <c>0</c> instead of the min access hash.</summary>
|
/// <summary>Access hash of the user, see <a href="https://corefork.telegram.org/api/peers#access-hash">here »</a> for more info. <br/>If this flag is set, when updating the <a href="https://corefork.telegram.org/api/peers">local peer database</a>, generate a virtual flag called <c>min_access_hash</c>, which is: <br/>- Set to <c>true</c> if <c>min</c> is set AND <br/>-- The <c>phone</c> flag is <strong>not</strong> set OR <br/>-- The <c>phone</c> flag is set and the associated phone number string is non-empty <br/>- Set to <c>false</c> otherwise. <br/><br/>Then, apply both <c>access_hash</c> and <c>min_access_hash</c> to the local database if: <br/>- <c>min_access_hash</c> is false OR <br/>- <c>min_access_hash</c> is true AND <br/>-- There is no locally cached object for this user OR <br/>-- There is no <c>access_hash</c> in the local cache OR <br/>-- The cached object's <c>min_access_hash</c> is also true <br/><br/>If the final merged object stored to the database has the <c>min_access_hash</c> field set to true, the related <c>access_hash</c> is <strong>only</strong> suitable to use in <see cref="InputPeerPhotoFileLocation"><c>inputPeerPhotoFileLocation</c> »</see>, to directly <a href="https://corefork.telegram.org/api/files">download the profile pictures</a> of users, everywhere else a <c>inputPeer*FromMessage</c> constructor will have to be generated as specified <a href="https://corefork.telegram.org/api/min">here »</a>. <br/>Bots can also use min access hashes in some conditions, by passing <c>0</c> instead of the min access hash.</summary>
|
||||||
[IfFlag(0)] public long access_hash;
|
[IfFlag(0)] public long access_hash;
|
||||||
/// <summary>First name. <br/>When updating the <a href="https://corefork.telegram.org/api/peers">local peer database</a>, apply changes to this field only if: <br/>- The <c>min</c> flag is not set OR <br/>- The <c>min</c> flag is set AND <br/>- The <c>min</c> flag of the locally cached user entry is set.</summary>
|
/// <summary>First name. <br/>When updating the <a href="https://corefork.telegram.org/api/peers">local peer database</a>, apply changes to this field only if: <br/>- The <c>min</c> flag is not set OR <br/>- The <c>min</c> flag is set AND <br/>-- The <c>min</c> flag of the locally cached user entry is set.</summary>
|
||||||
[IfFlag(1)] public string first_name;
|
[IfFlag(1)] public string first_name;
|
||||||
/// <summary>Last name. <br/>When updating the <a href="https://corefork.telegram.org/api/peers">local peer database</a>, apply changes to this field only if: <br/>- The <c>min</c> flag is not set OR <br/>- The <c>min</c> flag is set AND <br/>- The <c>min</c> flag of the locally cached user entry is set.</summary>
|
/// <summary>Last name. <br/>When updating the <a href="https://corefork.telegram.org/api/peers">local peer database</a>, apply changes to this field only if: <br/>- The <c>min</c> flag is not set OR <br/>- The <c>min</c> flag is set AND <br/>-- The <c>min</c> flag of the locally cached user entry is set.</summary>
|
||||||
[IfFlag(2)] public string last_name;
|
[IfFlag(2)] public string last_name;
|
||||||
/// <summary>Main active username. <br/>When updating the <a href="https://corefork.telegram.org/api/peers">local peer database</a>, apply changes to this field only if: <br/>- The <c>min</c> flag is not set OR <br/>- The <c>min</c> flag is set AND <br/>- The <c>min</c> flag of the locally cached user entry is set. <br/>Changes to this flag should invalidate the local <see cref="UserFull"/> cache for this user ID if the above conditions are respected and the <c>bot_can_edit</c> flag is also set.</summary>
|
/// <summary>Main active username. <br/>When updating the <a href="https://corefork.telegram.org/api/peers">local peer database</a>, apply changes to this field only if: <br/>- The <c>min</c> flag is not set OR <br/>- The <c>min</c> flag is set AND <br/>-- The <c>min</c> flag of the locally cached user entry is set. <br/>Changes to this flag should invalidate the local <see cref="UserFull"/> cache for this user ID if the above conditions are respected and the <c>bot_can_edit</c> flag is also set.</summary>
|
||||||
[IfFlag(3)] public string username;
|
[IfFlag(3)] public string username;
|
||||||
/// <summary>Phone number. <br/>When updating the <a href="https://corefork.telegram.org/api/peers">local peer database</a>, apply changes to this field only if: <br/>- The <c>min</c> flag is not set OR <br/>- The <c>min</c> flag is set AND <br/>- The <c>min</c> flag of the locally cached user entry is set.</summary>
|
/// <summary>Phone number. <br/>When updating the <a href="https://corefork.telegram.org/api/peers">local peer database</a>, apply changes to this field only if: <br/>- The <c>min</c> flag is not set OR <br/>- The <c>min</c> flag is set AND <br/>-- The <c>min</c> flag of the locally cached user entry is set.</summary>
|
||||||
[IfFlag(4)] public string phone;
|
[IfFlag(4)] public string phone;
|
||||||
/// <summary>Profile picture of user. <br/>When updating the <a href="https://corefork.telegram.org/api/peers">local peer database</a>, apply changes to this field only if: <br/>- The <c>min</c> flag is not set OR <br/>- The <c>min</c> flag is set AND <br/>- The <c>apply_min_photo</c> flag is set OR <br/>- The <c>min</c> flag of the locally cached user entry is set.</summary>
|
/// <summary>Profile picture of user. <br/>When updating the <a href="https://corefork.telegram.org/api/peers">local peer database</a>, apply changes to this field only if: <br/>- The <c>min</c> flag is not set OR <br/>- The <c>min</c> flag is set AND <br/>-- The <c>apply_min_photo</c> flag is set OR <br/>-- The <c>min</c> flag of the locally cached user entry is set.</summary>
|
||||||
[IfFlag(5)] public UserProfilePhoto photo;
|
[IfFlag(5)] public UserProfilePhoto photo;
|
||||||
/// <summary>Online status of user. <br/>When updating the <a href="https://corefork.telegram.org/api/peers">local peer database</a>, apply changes to this field only if: <br/>- The <c>min</c> flag is not set OR <br/>- The <c>min</c> flag is set AND <br/>- The <c>min</c> flag of the locally cached user entry is set OR <br/>- The locally cached user entry is equal to <see langword="null"/>.</summary>
|
/// <summary>Online status of user. <br/>When updating the <a href="https://corefork.telegram.org/api/peers">local peer database</a>, apply changes to this field only if: <br/>- The <c>min</c> flag is not set OR <br/>- The <c>min</c> flag is set AND <br/>-- The <c>min</c> flag of the locally cached user entry is set OR <br/>-- The locally cached user entry is equal to <see langword="null"/>.</summary>
|
||||||
[IfFlag(6)] public UserStatus status;
|
[IfFlag(6)] public UserStatus status;
|
||||||
/// <summary>Version of the <see cref="UserFull">bot_info field in userFull</see>, incremented every time it changes. <br/>Changes to this flag should invalidate the local <see cref="UserFull"/> cache for this user ID, see <a href="https://corefork.telegram.org/api/peers#full-info-database">here »</a> for more info.</summary>
|
/// <summary>Version of the <see cref="UserFull">bot_info field in userFull</see>, incremented every time it changes. <br/>Changes to this flag should invalidate the local <see cref="UserFull"/> cache for this user ID, see <a href="https://corefork.telegram.org/api/peers#full-info-database">here »</a> for more info.</summary>
|
||||||
[IfFlag(14)] public int bot_info_version;
|
[IfFlag(14)] public int bot_info_version;
|
||||||
|
|
@ -781,7 +781,7 @@ namespace TL
|
||||||
[IfFlag(22)] public string lang_code;
|
[IfFlag(22)] public string lang_code;
|
||||||
/// <summary><a href="https://corefork.telegram.org/api/emoji-status">Emoji status</a></summary>
|
/// <summary><a href="https://corefork.telegram.org/api/emoji-status">Emoji status</a></summary>
|
||||||
[IfFlag(30)] public EmojiStatus emoji_status;
|
[IfFlag(30)] public EmojiStatus emoji_status;
|
||||||
/// <summary>Additional usernames. <br/>When updating the <a href="https://corefork.telegram.org/api/peers">local peer database</a>, apply changes to this field only if: <br/>- The <c>min</c> flag is not set OR <br/>- The <c>min</c> flag is set AND <br/>- The <c>min</c> flag of the locally cached user entry is set. <br/>Changes to this flag (if the above conditions are respected) should invalidate the local <see cref="UserFull"/> cache for this user ID.</summary>
|
/// <summary>Additional usernames. <br/>When updating the <a href="https://corefork.telegram.org/api/peers">local peer database</a>, apply changes to this field only if: <br/>- The <c>min</c> flag is not set OR <br/>- The <c>min</c> flag is set AND <br/>-- The <c>min</c> flag of the locally cached user entry is set. <br/>Changes to this flag (if the above conditions are respected) should invalidate the local <see cref="UserFull"/> cache for this user ID.</summary>
|
||||||
[IfFlag(32)] public Username[] usernames;
|
[IfFlag(32)] public Username[] usernames;
|
||||||
/// <summary>ID of the maximum read <a href="https://corefork.telegram.org/api/stories">story</a>. <br/>When updating the <a href="https://corefork.telegram.org/api/peers">local peer database</a>, do not apply changes to this field if the <c>min</c> flag of the incoming constructor is set.</summary>
|
/// <summary>ID of the maximum read <a href="https://corefork.telegram.org/api/stories">story</a>. <br/>When updating the <a href="https://corefork.telegram.org/api/peers">local peer database</a>, do not apply changes to this field if the <c>min</c> flag of the incoming constructor is set.</summary>
|
||||||
[IfFlag(37)] public int stories_max_id;
|
[IfFlag(37)] public int stories_max_id;
|
||||||
|
|
@ -1980,7 +1980,6 @@ namespace TL
|
||||||
public Flags flags;
|
public Flags flags;
|
||||||
/// <summary>Attached document</summary>
|
/// <summary>Attached document</summary>
|
||||||
[IfFlag(0)] public DocumentBase document;
|
[IfFlag(0)] public DocumentBase document;
|
||||||
/// <summary>Currently only used for story videos, may contain an alternative version of the story video, explicitly encoded using H.264 (in MPEG4 transport) at a lower resolution than <c>document</c>.</summary>
|
|
||||||
[IfFlag(5)] public DocumentBase[] alt_documents;
|
[IfFlag(5)] public DocumentBase[] alt_documents;
|
||||||
/// <summary>Time to live of self-destructing document</summary>
|
/// <summary>Time to live of self-destructing document</summary>
|
||||||
[IfFlag(2)] public int ttl_seconds;
|
[IfFlag(2)] public int ttl_seconds;
|
||||||
|
|
@ -2784,6 +2783,23 @@ namespace TL
|
||||||
unclaimed = 0x1,
|
unclaimed = 0x1,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
/// <summary><para>See <a href="https://corefork.telegram.org/constructor/messageActionStarGift"/></para></summary>
|
||||||
|
[TLDef(0x9BB3EF44)]
|
||||||
|
public sealed partial class MessageActionStarGift : MessageAction
|
||||||
|
{
|
||||||
|
public Flags flags;
|
||||||
|
public StarGift gift;
|
||||||
|
[IfFlag(1)] public TextWithEntities message;
|
||||||
|
public long convert_stars;
|
||||||
|
|
||||||
|
[Flags] public enum Flags : uint
|
||||||
|
{
|
||||||
|
name_hidden = 0x1,
|
||||||
|
has_message = 0x2,
|
||||||
|
saved = 0x4,
|
||||||
|
converted = 0x8,
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
/// <summary>Chat info. <para>See <a href="https://corefork.telegram.org/type/Dialog"/></para> <para>Derived classes: <see cref="Dialog"/>, <see cref="DialogFolder"/></para></summary>
|
/// <summary>Chat info. <para>See <a href="https://corefork.telegram.org/type/Dialog"/></para> <para>Derived classes: <see cref="Dialog"/>, <see cref="DialogFolder"/></para></summary>
|
||||||
public abstract partial class DialogBase : IObject
|
public abstract partial class DialogBase : IObject
|
||||||
|
|
@ -3388,7 +3404,7 @@ namespace TL
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>Extended user info <para>See <a href="https://corefork.telegram.org/constructor/userFull"/></para></summary>
|
/// <summary>Extended user info <para>See <a href="https://corefork.telegram.org/constructor/userFull"/></para></summary>
|
||||||
[TLDef(0xCC997720)]
|
[TLDef(0x1F58E369)]
|
||||||
public sealed partial class UserFull : IObject
|
public sealed partial class UserFull : IObject
|
||||||
{
|
{
|
||||||
/// <summary>Extra bits of information, use <c>flags.HasFlag(...)</c> to test for those</summary>
|
/// <summary>Extra bits of information, use <c>flags.HasFlag(...)</c> to test for those</summary>
|
||||||
|
|
@ -3449,6 +3465,7 @@ namespace TL
|
||||||
[IfFlag(38)] public long personal_channel_id;
|
[IfFlag(38)] public long personal_channel_id;
|
||||||
/// <summary>ID of the latest message of the associated personal <a href="https://corefork.telegram.org/api/channel">channel »</a>, that should be previewed in the <a href="https://corefork.telegram.org/api/profile#personal-channel">profile page</a>.</summary>
|
/// <summary>ID of the latest message of the associated personal <a href="https://corefork.telegram.org/api/channel">channel »</a>, that should be previewed in the <a href="https://corefork.telegram.org/api/profile#personal-channel">profile page</a>.</summary>
|
||||||
[IfFlag(38)] public int personal_channel_message;
|
[IfFlag(38)] public int personal_channel_message;
|
||||||
|
[IfFlag(40)] public int stargifts_count;
|
||||||
|
|
||||||
[Flags] public enum Flags : uint
|
[Flags] public enum Flags : uint
|
||||||
{
|
{
|
||||||
|
|
@ -3528,6 +3545,8 @@ namespace TL
|
||||||
has_personal_channel_id = 0x40,
|
has_personal_channel_id = 0x40,
|
||||||
/// <summary>Whether ads were re-enabled for the current account (only accessible to the currently logged-in user), see <a href="https://corefork.telegram.org/api/business#re-enable-ads">here »</a> for more info.</summary>
|
/// <summary>Whether ads were re-enabled for the current account (only accessible to the currently logged-in user), see <a href="https://corefork.telegram.org/api/business#re-enable-ads">here »</a> for more info.</summary>
|
||||||
sponsored_enabled = 0x80,
|
sponsored_enabled = 0x80,
|
||||||
|
/// <summary>Field <see cref="stargifts_count"/> has a value</summary>
|
||||||
|
has_stargifts_count = 0x100,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -10520,18 +10539,8 @@ namespace TL
|
||||||
{
|
{
|
||||||
/// <summary>Form ID</summary>
|
/// <summary>Form ID</summary>
|
||||||
public virtual long FormId => default;
|
public virtual long FormId => default;
|
||||||
/// <summary>Bot ID</summary>
|
|
||||||
public virtual long BotId => default;
|
|
||||||
/// <summary>Form title</summary>
|
|
||||||
public virtual string Title => default;
|
|
||||||
/// <summary>Description</summary>
|
|
||||||
public virtual string Description => default;
|
|
||||||
/// <summary>Product photo</summary>
|
|
||||||
public virtual WebDocumentBase Photo => default;
|
|
||||||
/// <summary>Invoice</summary>
|
/// <summary>Invoice</summary>
|
||||||
public virtual Invoice Invoice => default;
|
public virtual Invoice Invoice => default;
|
||||||
/// <summary>Users</summary>
|
|
||||||
public virtual Dictionary<long, User> Users => default;
|
|
||||||
}
|
}
|
||||||
/// <summary>Payment form <para>See <a href="https://corefork.telegram.org/constructor/payments.paymentForm"/></para></summary>
|
/// <summary>Payment form <para>See <a href="https://corefork.telegram.org/constructor/payments.paymentForm"/></para></summary>
|
||||||
[TLDef(0xA0058751)]
|
[TLDef(0xA0058751)]
|
||||||
|
|
@ -10588,18 +10597,8 @@ namespace TL
|
||||||
|
|
||||||
/// <summary>Form ID</summary>
|
/// <summary>Form ID</summary>
|
||||||
public override long FormId => form_id;
|
public override long FormId => form_id;
|
||||||
/// <summary>Bot ID</summary>
|
|
||||||
public override long BotId => bot_id;
|
|
||||||
/// <summary>Form title</summary>
|
|
||||||
public override string Title => title;
|
|
||||||
/// <summary>Description</summary>
|
|
||||||
public override string Description => description;
|
|
||||||
/// <summary>Product photo</summary>
|
|
||||||
public override WebDocumentBase Photo => photo;
|
|
||||||
/// <summary>Invoice</summary>
|
/// <summary>Invoice</summary>
|
||||||
public override Invoice Invoice => invoice;
|
public override Invoice Invoice => invoice;
|
||||||
/// <summary>Users</summary>
|
|
||||||
public override Dictionary<long, User> Users => users;
|
|
||||||
}
|
}
|
||||||
/// <summary>Represents a payment form, for payments to be using <a href="https://corefork.telegram.org/api/stars">Telegram Stars, see here »</a> for more info. <para>See <a href="https://corefork.telegram.org/constructor/payments.paymentFormStars"/></para></summary>
|
/// <summary>Represents a payment form, for payments to be using <a href="https://corefork.telegram.org/api/stars">Telegram Stars, see here »</a> for more info. <para>See <a href="https://corefork.telegram.org/constructor/payments.paymentFormStars"/></para></summary>
|
||||||
[TLDef(0x7BF6B15C)]
|
[TLDef(0x7BF6B15C)]
|
||||||
|
|
@ -10630,18 +10629,18 @@ namespace TL
|
||||||
|
|
||||||
/// <summary>Form ID.</summary>
|
/// <summary>Form ID.</summary>
|
||||||
public override long FormId => form_id;
|
public override long FormId => form_id;
|
||||||
/// <summary>Bot ID.</summary>
|
|
||||||
public override long BotId => bot_id;
|
|
||||||
/// <summary>Form title</summary>
|
|
||||||
public override string Title => title;
|
|
||||||
/// <summary>Description</summary>
|
|
||||||
public override string Description => description;
|
|
||||||
/// <summary>Product photo</summary>
|
|
||||||
public override WebDocumentBase Photo => photo;
|
|
||||||
/// <summary>Invoice</summary>
|
/// <summary>Invoice</summary>
|
||||||
public override Invoice Invoice => invoice;
|
public override Invoice Invoice => invoice;
|
||||||
/// <summary>Info about users mentioned in the other fields.</summary>
|
}
|
||||||
public override Dictionary<long, User> Users => users;
|
/// <summary><para>See <a href="https://corefork.telegram.org/constructor/payments.paymentFormStarGift"/></para></summary>
|
||||||
|
[TLDef(0xB425CFE1)]
|
||||||
|
public sealed partial class Payments_PaymentFormStarGift : Payments_PaymentFormBase
|
||||||
|
{
|
||||||
|
public long form_id;
|
||||||
|
public Invoice invoice;
|
||||||
|
|
||||||
|
public override long FormId => form_id;
|
||||||
|
public override Invoice Invoice => invoice;
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>Validated user-provided info <para>See <a href="https://corefork.telegram.org/constructor/payments.validatedRequestedInfo"/></para></summary>
|
/// <summary>Validated user-provided info <para>See <a href="https://corefork.telegram.org/constructor/payments.validatedRequestedInfo"/></para></summary>
|
||||||
|
|
@ -15565,6 +15564,21 @@ namespace TL
|
||||||
{
|
{
|
||||||
public string hash;
|
public string hash;
|
||||||
}
|
}
|
||||||
|
/// <summary><para>See <a href="https://corefork.telegram.org/constructor/inputInvoiceStarGift"/></para></summary>
|
||||||
|
[TLDef(0x25D8C1D8)]
|
||||||
|
public sealed partial class InputInvoiceStarGift : InputInvoice
|
||||||
|
{
|
||||||
|
public Flags flags;
|
||||||
|
public InputUserBase user_id;
|
||||||
|
public long gift_id;
|
||||||
|
[IfFlag(1)] public TextWithEntities message;
|
||||||
|
|
||||||
|
[Flags] public enum Flags : uint
|
||||||
|
{
|
||||||
|
hide_name = 0x1,
|
||||||
|
has_message = 0x2,
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
/// <summary>Exported <a href="https://corefork.telegram.org/api/links#invoice-links">invoice deep link</a> <para>See <a href="https://corefork.telegram.org/constructor/payments.exportedInvoice"/></para></summary>
|
/// <summary>Exported <a href="https://corefork.telegram.org/api/links#invoice-links">invoice deep link</a> <para>See <a href="https://corefork.telegram.org/constructor/payments.exportedInvoice"/></para></summary>
|
||||||
[TLDef(0xAED0CBD9)]
|
[TLDef(0xAED0CBD9)]
|
||||||
|
|
@ -18960,7 +18974,7 @@ namespace TL
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>Represents a <a href="https://corefork.telegram.org/api/stars">Telegram Stars transaction »</a>. <para>See <a href="https://corefork.telegram.org/constructor/starsTransaction"/></para></summary>
|
/// <summary>Represents a <a href="https://corefork.telegram.org/api/stars">Telegram Stars transaction »</a>. <para>See <a href="https://corefork.telegram.org/constructor/starsTransaction"/></para></summary>
|
||||||
[TLDef(0xEE7522D5)]
|
[TLDef(0x0A9EE4C2)]
|
||||||
public sealed partial class StarsTransaction : IObject
|
public sealed partial class StarsTransaction : IObject
|
||||||
{
|
{
|
||||||
/// <summary>Extra bits of information, use <c>flags.HasFlag(...)</c> to test for those</summary>
|
/// <summary>Extra bits of information, use <c>flags.HasFlag(...)</c> to test for those</summary>
|
||||||
|
|
@ -18991,6 +19005,7 @@ namespace TL
|
||||||
[IfFlag(9)] public MessageMedia[] extended_media;
|
[IfFlag(9)] public MessageMedia[] extended_media;
|
||||||
[IfFlag(12)] public int subscription_period;
|
[IfFlag(12)] public int subscription_period;
|
||||||
[IfFlag(13)] public int giveaway_post_id;
|
[IfFlag(13)] public int giveaway_post_id;
|
||||||
|
[IfFlag(14)] public StarGift stargift;
|
||||||
|
|
||||||
[Flags] public enum Flags : uint
|
[Flags] public enum Flags : uint
|
||||||
{
|
{
|
||||||
|
|
@ -19021,6 +19036,8 @@ namespace TL
|
||||||
has_subscription_period = 0x1000,
|
has_subscription_period = 0x1000,
|
||||||
/// <summary>Field <see cref="giveaway_post_id"/> has a value</summary>
|
/// <summary>Field <see cref="giveaway_post_id"/> has a value</summary>
|
||||||
has_giveaway_post_id = 0x2000,
|
has_giveaway_post_id = 0x2000,
|
||||||
|
/// <summary>Field <see cref="stargift"/> has a value</summary>
|
||||||
|
has_stargift = 0x4000,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -19331,4 +19348,103 @@ namespace TL
|
||||||
default_ = 0x1,
|
default_ = 0x1,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/// <summary><para>See <a href="https://corefork.telegram.org/constructor/starGift"/></para></summary>
|
||||||
|
[TLDef(0xAEA174EE)]
|
||||||
|
public sealed partial class StarGift : IObject
|
||||||
|
{
|
||||||
|
public Flags flags;
|
||||||
|
public long id;
|
||||||
|
public DocumentBase sticker;
|
||||||
|
public long stars;
|
||||||
|
[IfFlag(0)] public int availability_remains;
|
||||||
|
[IfFlag(0)] public int availability_total;
|
||||||
|
public long convert_stars;
|
||||||
|
|
||||||
|
[Flags] public enum Flags : uint
|
||||||
|
{
|
||||||
|
limited = 0x1,
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
/// <summary><para>See <a href="https://corefork.telegram.org/constructor/payments.starGifts"/></para></summary>
|
||||||
|
/// <remarks>a <see langword="null"/> value means <a href="https://corefork.telegram.org/constructor/payments.starGiftsNotModified">payments.starGiftsNotModified</a></remarks>
|
||||||
|
[TLDef(0x901689EA)]
|
||||||
|
public sealed partial class Payments_StarGifts : IObject
|
||||||
|
{
|
||||||
|
public int hash;
|
||||||
|
public StarGift[] gifts;
|
||||||
|
}
|
||||||
|
|
||||||
|
/// <summary><para>See <a href="https://corefork.telegram.org/constructor/userStarGift"/></para></summary>
|
||||||
|
[TLDef(0xEEA49A6E)]
|
||||||
|
public sealed partial class UserStarGift : IObject
|
||||||
|
{
|
||||||
|
public Flags flags;
|
||||||
|
[IfFlag(1)] public long from_id;
|
||||||
|
public DateTime date;
|
||||||
|
public StarGift gift;
|
||||||
|
[IfFlag(2)] public TextWithEntities message;
|
||||||
|
[IfFlag(3)] public int msg_id;
|
||||||
|
[IfFlag(4)] public long convert_stars;
|
||||||
|
|
||||||
|
[Flags] public enum Flags : uint
|
||||||
|
{
|
||||||
|
name_hidden = 0x1,
|
||||||
|
has_from_id = 0x2,
|
||||||
|
has_message = 0x4,
|
||||||
|
has_msg_id = 0x8,
|
||||||
|
has_convert_stars = 0x10,
|
||||||
|
unsaved = 0x20,
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
/// <summary><para>See <a href="https://corefork.telegram.org/constructor/payments.userStarGifts"/></para></summary>
|
||||||
|
[TLDef(0x6B65B517)]
|
||||||
|
public sealed partial class Payments_UserStarGifts : IObject
|
||||||
|
{
|
||||||
|
public Flags flags;
|
||||||
|
public int count;
|
||||||
|
public UserStarGift[] gifts;
|
||||||
|
[IfFlag(0)] public string next_offset;
|
||||||
|
public Dictionary<long, User> users;
|
||||||
|
|
||||||
|
[Flags] public enum Flags : uint
|
||||||
|
{
|
||||||
|
has_next_offset = 0x1,
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
/// <summary><para>See <a href="https://corefork.telegram.org/constructor/messageReportOption"/></para></summary>
|
||||||
|
[TLDef(0x7903E3D9)]
|
||||||
|
public sealed partial class MessageReportOption : IObject
|
||||||
|
{
|
||||||
|
public string text;
|
||||||
|
public byte[] option;
|
||||||
|
}
|
||||||
|
|
||||||
|
/// <summary><para>See <a href="https://corefork.telegram.org/type/ReportResult"/></para></summary>
|
||||||
|
public abstract partial class ReportResult : IObject { }
|
||||||
|
/// <summary><para>See <a href="https://corefork.telegram.org/constructor/reportResultChooseOption"/></para></summary>
|
||||||
|
[TLDef(0xF0E4E0B6)]
|
||||||
|
public sealed partial class ReportResultChooseOption : ReportResult
|
||||||
|
{
|
||||||
|
public string title;
|
||||||
|
public MessageReportOption[] options;
|
||||||
|
}
|
||||||
|
/// <summary><para>See <a href="https://corefork.telegram.org/constructor/reportResultAddComment"/></para></summary>
|
||||||
|
[TLDef(0x6F09AC31)]
|
||||||
|
public sealed partial class ReportResultAddComment : ReportResult
|
||||||
|
{
|
||||||
|
public Flags flags;
|
||||||
|
public byte[] option;
|
||||||
|
|
||||||
|
[Flags] public enum Flags : uint
|
||||||
|
{
|
||||||
|
optional = 0x1,
|
||||||
|
}
|
||||||
|
}
|
||||||
|
/// <summary><para>See <a href="https://corefork.telegram.org/constructor/reportResultReported"/></para></summary>
|
||||||
|
[TLDef(0x8DB33C4B)]
|
||||||
|
public sealed partial class ReportResultReported : ReportResult { }
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -1959,14 +1959,13 @@ namespace TL
|
||||||
/// <summary>Report a message in a chat for violation of telegram's Terms of Service <para>See <a href="https://corefork.telegram.org/method/messages.report"/></para> <para>Possible <see cref="RpcException"/> codes: 400 (<a href="https://corefork.telegram.org/method/messages.report#possible-errors">details</a>)</para></summary>
|
/// <summary>Report a message in a chat for violation of telegram's Terms of Service <para>See <a href="https://corefork.telegram.org/method/messages.report"/></para> <para>Possible <see cref="RpcException"/> codes: 400 (<a href="https://corefork.telegram.org/method/messages.report#possible-errors">details</a>)</para></summary>
|
||||||
/// <param name="peer">Peer</param>
|
/// <param name="peer">Peer</param>
|
||||||
/// <param name="id">IDs of messages to report</param>
|
/// <param name="id">IDs of messages to report</param>
|
||||||
/// <param name="reason">Why are these messages being reported</param>
|
|
||||||
/// <param name="message">Comment for report moderation</param>
|
/// <param name="message">Comment for report moderation</param>
|
||||||
public static Task<bool> Messages_Report(this Client client, InputPeer peer, int[] id, ReportReason reason, string message)
|
public static Task<ReportResult> Messages_Report(this Client client, InputPeer peer, int[] id, byte[] option, string message)
|
||||||
=> client.Invoke(new Messages_Report
|
=> client.Invoke(new Messages_Report
|
||||||
{
|
{
|
||||||
peer = peer,
|
peer = peer,
|
||||||
id = id,
|
id = id,
|
||||||
reason = reason,
|
option = option,
|
||||||
message = message,
|
message = message,
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
@ -5899,7 +5898,6 @@ namespace TL
|
||||||
public static Task<Payments_PaymentResultBase> Payments_SendStarsForm(this Client client, long form_id, InputInvoice invoice)
|
public static Task<Payments_PaymentResultBase> Payments_SendStarsForm(this Client client, long form_id, InputInvoice invoice)
|
||||||
=> client.Invoke(new Payments_SendStarsForm
|
=> client.Invoke(new Payments_SendStarsForm
|
||||||
{
|
{
|
||||||
flags = 0,
|
|
||||||
form_id = form_id,
|
form_id = form_id,
|
||||||
invoice = invoice,
|
invoice = invoice,
|
||||||
});
|
});
|
||||||
|
|
@ -5996,6 +5994,40 @@ namespace TL
|
||||||
{
|
{
|
||||||
});
|
});
|
||||||
|
|
||||||
|
/// <summary><para>See <a href="https://corefork.telegram.org/method/payments.getStarGifts"/></para></summary>
|
||||||
|
/// <returns>a <c>null</c> value means <a href="https://corefork.telegram.org/constructor/payments.starGiftsNotModified">payments.starGiftsNotModified</a></returns>
|
||||||
|
public static Task<Payments_StarGifts> Payments_GetStarGifts(this Client client, int hash = default)
|
||||||
|
=> client.Invoke(new Payments_GetStarGifts
|
||||||
|
{
|
||||||
|
hash = hash,
|
||||||
|
});
|
||||||
|
|
||||||
|
/// <summary><para>See <a href="https://corefork.telegram.org/method/payments.getUserStarGifts"/></para></summary>
|
||||||
|
public static Task<Payments_UserStarGifts> Payments_GetUserStarGifts(this Client client, InputUserBase user_id, string offset, int limit = int.MaxValue)
|
||||||
|
=> client.Invoke(new Payments_GetUserStarGifts
|
||||||
|
{
|
||||||
|
user_id = user_id,
|
||||||
|
offset = offset,
|
||||||
|
limit = limit,
|
||||||
|
});
|
||||||
|
|
||||||
|
/// <summary><para>See <a href="https://corefork.telegram.org/method/payments.saveStarGift"/></para></summary>
|
||||||
|
public static Task<bool> Payments_SaveStarGift(this Client client, InputUserBase user_id, int msg_id, bool unsave = false)
|
||||||
|
=> client.Invoke(new Payments_SaveStarGift
|
||||||
|
{
|
||||||
|
flags = (Payments_SaveStarGift.Flags)(unsave ? 0x1 : 0),
|
||||||
|
user_id = user_id,
|
||||||
|
msg_id = msg_id,
|
||||||
|
});
|
||||||
|
|
||||||
|
/// <summary><para>See <a href="https://corefork.telegram.org/method/payments.convertStarGift"/></para></summary>
|
||||||
|
public static Task<bool> Payments_ConvertStarGift(this Client client, InputUserBase user_id, int msg_id)
|
||||||
|
=> client.Invoke(new Payments_ConvertStarGift
|
||||||
|
{
|
||||||
|
user_id = user_id,
|
||||||
|
msg_id = msg_id,
|
||||||
|
});
|
||||||
|
|
||||||
/// <summary>Create a stickerset. <para>See <a href="https://corefork.telegram.org/method/stickers.createStickerSet"/> [bots: ✓]</para> <para>Possible <see cref="RpcException"/> codes: 400 (<a href="https://corefork.telegram.org/method/stickers.createStickerSet#possible-errors">details</a>)</para></summary>
|
/// <summary>Create a stickerset. <para>See <a href="https://corefork.telegram.org/method/stickers.createStickerSet"/> [bots: ✓]</para> <para>Possible <see cref="RpcException"/> codes: 400 (<a href="https://corefork.telegram.org/method/stickers.createStickerSet#possible-errors">details</a>)</para></summary>
|
||||||
/// <param name="masks">Whether this is a mask stickerset</param>
|
/// <param name="masks">Whether this is a mask stickerset</param>
|
||||||
/// <param name="emojis">Whether this is a <a href="https://corefork.telegram.org/api/custom-emoji">custom emoji</a> stickerset.</param>
|
/// <param name="emojis">Whether this is a <a href="https://corefork.telegram.org/api/custom-emoji">custom emoji</a> stickerset.</param>
|
||||||
|
|
@ -6960,14 +6992,13 @@ namespace TL
|
||||||
/// <summary>Report a story. <para>See <a href="https://corefork.telegram.org/method/stories.report"/></para> <para>Possible <see cref="RpcException"/> codes: 400 (<a href="https://corefork.telegram.org/method/stories.report#possible-errors">details</a>)</para></summary>
|
/// <summary>Report a story. <para>See <a href="https://corefork.telegram.org/method/stories.report"/></para> <para>Possible <see cref="RpcException"/> codes: 400 (<a href="https://corefork.telegram.org/method/stories.report#possible-errors">details</a>)</para></summary>
|
||||||
/// <param name="peer">The peer that uploaded the story.</param>
|
/// <param name="peer">The peer that uploaded the story.</param>
|
||||||
/// <param name="id">IDs of the stories to report.</param>
|
/// <param name="id">IDs of the stories to report.</param>
|
||||||
/// <param name="reason">Why are these storeis being reported.</param>
|
|
||||||
/// <param name="message">Comment for report moderation</param>
|
/// <param name="message">Comment for report moderation</param>
|
||||||
public static Task<bool> Stories_Report(this Client client, InputPeer peer, int[] id, ReportReason reason, string message)
|
public static Task<ReportResult> Stories_Report(this Client client, InputPeer peer, int[] id, byte[] option, string message)
|
||||||
=> client.Invoke(new Stories_Report
|
=> client.Invoke(new Stories_Report
|
||||||
{
|
{
|
||||||
peer = peer,
|
peer = peer,
|
||||||
id = id,
|
id = id,
|
||||||
reason = reason,
|
option = option,
|
||||||
message = message,
|
message = message,
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
@ -8769,12 +8800,12 @@ namespace TL.Methods
|
||||||
public InputPeer peer;
|
public InputPeer peer;
|
||||||
}
|
}
|
||||||
|
|
||||||
[TLDef(0x8953AB4E)]
|
[TLDef(0xFC78AF9B)]
|
||||||
public sealed partial class Messages_Report : IMethod<bool>
|
public sealed partial class Messages_Report : IMethod<ReportResult>
|
||||||
{
|
{
|
||||||
public InputPeer peer;
|
public InputPeer peer;
|
||||||
public int[] id;
|
public int[] id;
|
||||||
public ReportReason reason;
|
public byte[] option;
|
||||||
public string message;
|
public string message;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -12012,16 +12043,11 @@ namespace TL.Methods
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
[TLDef(0x02BB731D)]
|
[TLDef(0x7998C914)]
|
||||||
public sealed partial class Payments_SendStarsForm : IMethod<Payments_PaymentResultBase>
|
public sealed partial class Payments_SendStarsForm : IMethod<Payments_PaymentResultBase>
|
||||||
{
|
{
|
||||||
public Flags flags;
|
|
||||||
public long form_id;
|
public long form_id;
|
||||||
public InputInvoice invoice;
|
public InputInvoice invoice;
|
||||||
|
|
||||||
[Flags] public enum Flags : uint
|
|
||||||
{
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
[TLDef(0x25AE8F4A)]
|
[TLDef(0x25AE8F4A)]
|
||||||
|
|
@ -12113,6 +12139,40 @@ namespace TL.Methods
|
||||||
[TLDef(0xBD1EFD3E)]
|
[TLDef(0xBD1EFD3E)]
|
||||||
public sealed partial class Payments_GetStarsGiveawayOptions : IMethod<StarsGiveawayOption[]> { }
|
public sealed partial class Payments_GetStarsGiveawayOptions : IMethod<StarsGiveawayOption[]> { }
|
||||||
|
|
||||||
|
[TLDef(0xC4563590)]
|
||||||
|
public sealed partial class Payments_GetStarGifts : IMethod<Payments_StarGifts>
|
||||||
|
{
|
||||||
|
public int hash;
|
||||||
|
}
|
||||||
|
|
||||||
|
[TLDef(0x5E72C7E1)]
|
||||||
|
public sealed partial class Payments_GetUserStarGifts : IMethod<Payments_UserStarGifts>
|
||||||
|
{
|
||||||
|
public InputUserBase user_id;
|
||||||
|
public string offset;
|
||||||
|
public int limit;
|
||||||
|
}
|
||||||
|
|
||||||
|
[TLDef(0x87ACF08E)]
|
||||||
|
public sealed partial class Payments_SaveStarGift : IMethod<bool>
|
||||||
|
{
|
||||||
|
public Flags flags;
|
||||||
|
public InputUserBase user_id;
|
||||||
|
public int msg_id;
|
||||||
|
|
||||||
|
[Flags] public enum Flags : uint
|
||||||
|
{
|
||||||
|
unsave = 0x1,
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
[TLDef(0x0421E027)]
|
||||||
|
public sealed partial class Payments_ConvertStarGift : IMethod<bool>
|
||||||
|
{
|
||||||
|
public InputUserBase user_id;
|
||||||
|
public int msg_id;
|
||||||
|
}
|
||||||
|
|
||||||
[TLDef(0x9021AB67)]
|
[TLDef(0x9021AB67)]
|
||||||
public sealed partial class Stickers_CreateStickerSet : IMethod<Messages_StickerSet>
|
public sealed partial class Stickers_CreateStickerSet : IMethod<Messages_StickerSet>
|
||||||
{
|
{
|
||||||
|
|
@ -12904,12 +12964,12 @@ namespace TL.Methods
|
||||||
public int id;
|
public int id;
|
||||||
}
|
}
|
||||||
|
|
||||||
[TLDef(0x1923FA8C)]
|
[TLDef(0x19D8EB45)]
|
||||||
public sealed partial class Stories_Report : IMethod<bool>
|
public sealed partial class Stories_Report : IMethod<ReportResult>
|
||||||
{
|
{
|
||||||
public InputPeer peer;
|
public InputPeer peer;
|
||||||
public int[] id;
|
public int[] id;
|
||||||
public ReportReason reason;
|
public byte[] option;
|
||||||
public string message;
|
public string message;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -6,7 +6,7 @@ namespace TL
|
||||||
{
|
{
|
||||||
public static partial class Layer
|
public static partial class Layer
|
||||||
{
|
{
|
||||||
public const int Version = 188; // fetched 19/09/2024 11:16:22
|
public const int Version = 189; // fetched 07/10/2024 12:32:56
|
||||||
internal const int SecretChats = 144;
|
internal const int SecretChats = 144;
|
||||||
internal const int MTProto2 = 73;
|
internal const int MTProto2 = 73;
|
||||||
internal const uint VectorCtor = 0x1CB5C415;
|
internal const uint VectorCtor = 0x1CB5C415;
|
||||||
|
|
@ -213,6 +213,7 @@ namespace TL
|
||||||
[0x41B3E202] = typeof(MessageActionPaymentRefunded),
|
[0x41B3E202] = typeof(MessageActionPaymentRefunded),
|
||||||
[0x45D5B021] = typeof(MessageActionGiftStars),
|
[0x45D5B021] = typeof(MessageActionGiftStars),
|
||||||
[0xB00C47A2] = typeof(MessageActionPrizeStars),
|
[0xB00C47A2] = typeof(MessageActionPrizeStars),
|
||||||
|
[0x9BB3EF44] = typeof(MessageActionStarGift),
|
||||||
[0xD58A08C6] = typeof(Dialog),
|
[0xD58A08C6] = typeof(Dialog),
|
||||||
[0x71BD134C] = typeof(DialogFolder),
|
[0x71BD134C] = typeof(DialogFolder),
|
||||||
[0x2331B22D] = typeof(PhotoEmpty),
|
[0x2331B22D] = typeof(PhotoEmpty),
|
||||||
|
|
@ -240,7 +241,7 @@ namespace TL
|
||||||
[0xACD66C5E] = typeof(PeerSettings),
|
[0xACD66C5E] = typeof(PeerSettings),
|
||||||
[0xA437C3ED] = typeof(WallPaper),
|
[0xA437C3ED] = typeof(WallPaper),
|
||||||
[0xE0804116] = typeof(WallPaperNoFile),
|
[0xE0804116] = typeof(WallPaperNoFile),
|
||||||
[0xCC997720] = typeof(UserFull),
|
[0x1F58E369] = typeof(UserFull),
|
||||||
[0x145ADE0B] = typeof(Contact),
|
[0x145ADE0B] = typeof(Contact),
|
||||||
[0xC13E3C50] = typeof(ImportedContact),
|
[0xC13E3C50] = typeof(ImportedContact),
|
||||||
[0x16D9703B] = typeof(ContactStatus),
|
[0x16D9703B] = typeof(ContactStatus),
|
||||||
|
|
@ -758,6 +759,7 @@ namespace TL
|
||||||
[0x21E753BC] = typeof(Upload_WebFile),
|
[0x21E753BC] = typeof(Upload_WebFile),
|
||||||
[0xA0058751] = typeof(Payments_PaymentForm),
|
[0xA0058751] = typeof(Payments_PaymentForm),
|
||||||
[0x7BF6B15C] = typeof(Payments_PaymentFormStars),
|
[0x7BF6B15C] = typeof(Payments_PaymentFormStars),
|
||||||
|
[0xB425CFE1] = typeof(Payments_PaymentFormStarGift),
|
||||||
[0xD1451883] = typeof(Payments_ValidatedRequestedInfo),
|
[0xD1451883] = typeof(Payments_ValidatedRequestedInfo),
|
||||||
[0x4E5F810D] = typeof(Payments_PaymentResult),
|
[0x4E5F810D] = typeof(Payments_PaymentResult),
|
||||||
[0xD8411139] = typeof(Payments_PaymentVerificationNeeded),
|
[0xD8411139] = typeof(Payments_PaymentVerificationNeeded),
|
||||||
|
|
@ -1090,6 +1092,7 @@ namespace TL
|
||||||
[0x98986C0D] = typeof(InputInvoicePremiumGiftCode),
|
[0x98986C0D] = typeof(InputInvoicePremiumGiftCode),
|
||||||
[0x65F00CE3] = typeof(InputInvoiceStars),
|
[0x65F00CE3] = typeof(InputInvoiceStars),
|
||||||
[0x34E793F1] = typeof(InputInvoiceChatInviteSubscription),
|
[0x34E793F1] = typeof(InputInvoiceChatInviteSubscription),
|
||||||
|
[0x25D8C1D8] = typeof(InputInvoiceStarGift),
|
||||||
[0xAED0CBD9] = typeof(Payments_ExportedInvoice),
|
[0xAED0CBD9] = typeof(Payments_ExportedInvoice),
|
||||||
[0xCFB9D957] = typeof(Messages_TranscribedAudio),
|
[0xCFB9D957] = typeof(Messages_TranscribedAudio),
|
||||||
[0x5334759C] = typeof(Help_PremiumPromo),
|
[0x5334759C] = typeof(Help_PremiumPromo),
|
||||||
|
|
@ -1305,7 +1308,7 @@ namespace TL
|
||||||
[0xD80DA15D] = typeof(StarsTransactionPeer),
|
[0xD80DA15D] = typeof(StarsTransactionPeer),
|
||||||
[0x60682812] = typeof(StarsTransactionPeerAds),
|
[0x60682812] = typeof(StarsTransactionPeerAds),
|
||||||
[0x0BD915C0] = typeof(StarsTopupOption),
|
[0x0BD915C0] = typeof(StarsTopupOption),
|
||||||
[0xEE7522D5] = typeof(StarsTransaction),
|
[0x0A9EE4C2] = typeof(StarsTransaction),
|
||||||
[0xBBFA316C] = typeof(Payments_StarsStatus),
|
[0xBBFA316C] = typeof(Payments_StarsStatus),
|
||||||
[0xE87ACBC0] = typeof(FoundStory),
|
[0xE87ACBC0] = typeof(FoundStory),
|
||||||
[0xE2DE7737] = typeof(Stories_FoundStories),
|
[0xE2DE7737] = typeof(Stories_FoundStories),
|
||||||
|
|
@ -1324,6 +1327,15 @@ namespace TL
|
||||||
[0x4BA3A95A] = typeof(MessageReactor),
|
[0x4BA3A95A] = typeof(MessageReactor),
|
||||||
[0x94CE852A] = typeof(StarsGiveawayOption),
|
[0x94CE852A] = typeof(StarsGiveawayOption),
|
||||||
[0x54236209] = typeof(StarsGiveawayWinnersOption),
|
[0x54236209] = typeof(StarsGiveawayWinnersOption),
|
||||||
|
[0xAEA174EE] = typeof(StarGift),
|
||||||
|
[0xA388A368] = null,//Payments_StarGiftsNotModified
|
||||||
|
[0x901689EA] = typeof(Payments_StarGifts),
|
||||||
|
[0xEEA49A6E] = typeof(UserStarGift),
|
||||||
|
[0x6B65B517] = typeof(Payments_UserStarGifts),
|
||||||
|
[0x7903E3D9] = typeof(MessageReportOption),
|
||||||
|
[0xF0E4E0B6] = typeof(ReportResultChooseOption),
|
||||||
|
[0x6F09AC31] = typeof(ReportResultAddComment),
|
||||||
|
[0x8DB33C4B] = typeof(ReportResultReported),
|
||||||
// from TL.Secret:
|
// from TL.Secret:
|
||||||
[0x6ABD9782] = typeof(Layer143.DecryptedMessageMediaDocument),
|
[0x6ABD9782] = typeof(Layer143.DecryptedMessageMediaDocument),
|
||||||
[0x020DF5D0] = typeof(Layer101.MessageEntityBlockquote),
|
[0x020DF5D0] = typeof(Layer101.MessageEntityBlockquote),
|
||||||
|
|
@ -1452,6 +1464,7 @@ namespace TL
|
||||||
[typeof(Help_TimezonesList)] = 0x970708CC, //help.timezonesListNotModified
|
[typeof(Help_TimezonesList)] = 0x970708CC, //help.timezonesListNotModified
|
||||||
[typeof(Messages_QuickReplies)] = 0x5F91EB5B, //messages.quickRepliesNotModified
|
[typeof(Messages_QuickReplies)] = 0x5F91EB5B, //messages.quickRepliesNotModified
|
||||||
[typeof(Messages_AvailableEffects)] = 0xD1ED9A5B, //messages.availableEffectsNotModified
|
[typeof(Messages_AvailableEffects)] = 0xD1ED9A5B, //messages.availableEffectsNotModified
|
||||||
|
[typeof(Payments_StarGifts)] = 0xA388A368, //payments.starGiftsNotModified
|
||||||
[typeof(DecryptedMessageMedia)] = 0x089F5C4A, //decryptedMessageMediaEmpty
|
[typeof(DecryptedMessageMedia)] = 0x089F5C4A, //decryptedMessageMediaEmpty
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -13,7 +13,7 @@
|
||||||
<PackageId>WTelegramClient</PackageId>
|
<PackageId>WTelegramClient</PackageId>
|
||||||
<Version>0.0.0</Version>
|
<Version>0.0.0</Version>
|
||||||
<Authors>Wizou</Authors>
|
<Authors>Wizou</Authors>
|
||||||
<Description>Telegram Client API (MTProto) library written 100% in C# and .NET Standard | Latest API layer: 188
|
<Description>Telegram Client API (MTProto) library written 100% in C# and .NET Standard | Latest API layer: 189
|
||||||
|
|
||||||
Release Notes:
|
Release Notes:
|
||||||
$(ReleaseNotes.Replace("|", "%0D%0A").Replace(" - ","%0D%0A- ").Replace(" ", "%0D%0A%0D%0A"))</Description>
|
$(ReleaseNotes.Replace("|", "%0D%0A").Replace(" - ","%0D%0A- ").Replace(" ", "%0D%0A%0D%0A"))</Description>
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue