From fdaaeb901acc8b80fb6618efd71b05a7994c67b1 Mon Sep 17 00:00:00 2001
From: Wizou <11647984+wiz0u@users.noreply.github.com>
Date: Wed, 22 Jan 2025 23:28:58 +0100
Subject: [PATCH] API Layer 198: stargifts stuff, video cover, ...
---
README.md | 2 +-
src/TL.Schema.cs | 343 +++++++++++++++++++++++++------------
src/TL.SchemaFuncs.cs | 197 ++++++++++++++-------
src/TL.Table.cs | 43 +++--
src/WTelegramClient.csproj | 2 +-
5 files changed, 397 insertions(+), 190 deletions(-)
diff --git a/README.md b/README.md
index 929be15..2279602 100644
--- a/README.md
+++ b/README.md
@@ -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/absoluteLatest)
[](https://buymeacoffee.com/wizou)
diff --git a/src/TL.Schema.cs b/src/TL.Schema.cs
index 8b721da..749dd20 100644
--- a/src/TL.Schema.cs
+++ b/src/TL.Schema.cs
@@ -229,7 +229,7 @@ namespace TL
public string vcard;
}
/// New document See
- [TLDef(0x5B38C6C1)]
+ [TLDef(0x037C9330)]
public sealed partial class InputMediaUploadedDocument : InputMedia
{
/// Extra bits of information, use flags.HasFlag(...) to test for those
@@ -244,6 +244,8 @@ namespace TL
public DocumentAttribute[] attributes;
/// Attached stickers
[IfFlag(0)] public InputDocument[] stickers;
+ [IfFlag(6)] public InputPhoto video_cover;
+ [IfFlag(7)] public int video_timestamp;
/// Time to live in seconds of self-destructing document
[IfFlag(1)] public int ttl_seconds;
@@ -261,16 +263,22 @@ namespace TL
force_file = 0x10,
/// Whether this media should be hidden behind a spoiler warning
spoiler = 0x20,
+ /// Field has a value
+ has_video_cover = 0x40,
+ /// Field has a value
+ has_video_timestamp = 0x80,
}
}
/// Forwarded document See
- [TLDef(0x33473058)]
+ [TLDef(0xA8763AB5)]
public sealed partial class InputMediaDocument : InputMedia
{
/// Extra bits of information, use flags.HasFlag(...) to test for those
public Flags flags;
/// The document to be forwarded.
public InputDocument id;
+ [IfFlag(3)] public InputPhoto video_cover;
+ [IfFlag(4)] public int video_timestamp;
/// Time to live of self-destructing document
[IfFlag(0)] public int ttl_seconds;
/// Text query or emoji that was used by the user to find this sticker or GIF: used to improve search result relevance.
@@ -284,6 +292,10 @@ namespace TL
has_query = 0x2,
/// Whether this media should be hidden behind a spoiler warning
spoiler = 0x4,
+ /// Field has a value
+ has_video_cover = 0x8,
+ /// Field has a value
+ has_video_timestamp = 0x10,
}
}
/// Can be used to send a venue geolocation. See
@@ -323,7 +335,7 @@ namespace TL
}
}
/// Document that will be downloaded by the telegram servers See
- [TLDef(0xFB52DC99)]
+ [TLDef(0x779600F9)]
public sealed partial class InputMediaDocumentExternal : InputMedia
{
/// Extra bits of information, use flags.HasFlag(...) to test for those
@@ -332,6 +344,8 @@ namespace TL
public string url;
/// Self-destruct time to live of document
[IfFlag(0)] public int ttl_seconds;
+ [IfFlag(2)] public InputPhoto video_cover;
+ [IfFlag(3)] public int video_timestamp;
[Flags] public enum Flags : uint
{
@@ -339,6 +353,10 @@ namespace TL
has_ttl_seconds = 0x1,
/// Whether this media should be hidden behind a spoiler warning
spoiler = 0x2,
+ /// Field has a value
+ has_video_cover = 0x4,
+ /// Field has a value
+ has_video_timestamp = 0x8,
}
}
/// A game See
@@ -782,7 +800,7 @@ namespace TL
/// Language code of the user
[IfFlag(22)] public string lang_code;
/// Emoji status
- [IfFlag(30)] public EmojiStatus emoji_status;
+ [IfFlag(30)] public EmojiStatusBase emoji_status;
/// Additional usernames.
When updating the local peer database, apply changes to this field only if:
- The min flag is not set OR
- The min flag is set AND
-- The min flag of the locally cached user entry is set.
Changes to this flag (if the above conditions are respected) should invalidate the local cache for this user ID.
[IfFlag(32)] public Username[] usernames;
/// ID of the maximum read story.
When updating the local peer database, do not apply changes to this field if the min flag of the incoming constructor is set.
@@ -1091,7 +1109,7 @@ namespace TL
/// The channel's profile color.
[IfFlag(40)] public PeerColor profile_color;
/// Emoji status
- [IfFlag(41)] public EmojiStatus emoji_status;
+ [IfFlag(41)] public EmojiStatusBase emoji_status;
/// Boost level.
Changes to this flag should invalidate the local cache for this channel/supergroup ID, see here » for more info.
[IfFlag(42)] public int level;
/// Expiration date of the Telegram Star subscription » the current user has bought to gain access to this channel.
@@ -1363,7 +1381,7 @@ namespace TL
public override int ReactionsLimit => reactions_limit;
}
/// Full info about a channel, supergroup or gigagroup. See
- [TLDef(0x9FF3B858)]
+ [TLDef(0x52D6806B)]
public sealed partial class ChannelFull : ChatFullBase
{
/// Extra bits of information, use flags.HasFlag(...) to test for those
@@ -1453,6 +1471,7 @@ namespace TL
/// Custom emoji stickerset associated to the current supergroup, set using Channels_SetEmojiStickers after reaching the appropriate boost level, see here » for more info.
[IfFlag(42)] public StickerSet emojiset;
[IfFlag(49)] public BotVerification bot_verification;
+ [IfFlag(50)] public int stargifts_count;
[Flags] public enum Flags : uint
{
@@ -1558,6 +1577,9 @@ namespace TL
paid_reactions_available = 0x10000,
/// Field has a value
has_bot_verification = 0x20000,
+ /// Field has a value
+ has_stargifts_count = 0x40000,
+ stargifts_available = 0x80000,
}
/// ID of the channel
@@ -2001,7 +2023,7 @@ namespace TL
[TLDef(0x9F84F49E)]
public sealed partial class MessageMediaUnsupported : MessageMedia { }
/// Document (video, audio, voice, sticker, any media type except photo) See
- [TLDef(0xDD570BD5)]
+ [TLDef(0x52D8CCD9)]
public sealed partial class MessageMediaDocument : MessageMedia
{
/// Extra bits of information, use flags.HasFlag(...) to test for those
@@ -2010,6 +2032,8 @@ namespace TL
[IfFlag(0)] public DocumentBase document;
/// Videos only, contains alternative qualities of the video.
[IfFlag(5)] public DocumentBase[] alt_documents;
+ [IfFlag(9)] public PhotoBase video_cover;
+ [IfFlag(10)] public int video_timestamp;
/// Time to live of self-destructing document
[IfFlag(2)] public int ttl_seconds;
@@ -2031,6 +2055,10 @@ namespace TL
round = 0x80,
/// Whether this is a voice message.
voice = 0x100,
+ /// Field has a value
+ has_video_cover = 0x200,
+ /// Field has a value
+ has_video_timestamp = 0x400,
}
}
/// Preview of webpage See
@@ -2842,7 +2870,7 @@ namespace TL
}
}
/// You received a gift, see here » for more info. See
- [TLDef(0xD8F4F0A7)]
+ [TLDef(0x4717E8A4)]
public sealed partial class MessageActionStarGift : MessageAction
{
/// Extra bits of information, use flags.HasFlag(...) to test for those
@@ -2855,6 +2883,9 @@ namespace TL
[IfFlag(4)] public long convert_stars;
[IfFlag(5)] public int upgrade_msg_id;
[IfFlag(8)] public long upgrade_stars;
+ [IfFlag(11)] public Peer from_id;
+ [IfFlag(12)] public Peer peer;
+ [IfFlag(12)] public long saved_id;
[Flags] public enum Flags : uint
{
@@ -2873,16 +2904,23 @@ namespace TL
has_upgrade_stars = 0x100,
refunded = 0x200,
can_upgrade = 0x400,
+ /// Field has a value
+ has_from_id = 0x800,
+ /// Fields and have a value
+ has_peer = 0x1000,
}
}
/// See
- [TLDef(0x26077B99)]
+ [TLDef(0xACDFCB81)]
public sealed partial class MessageActionStarGiftUnique : MessageAction
{
public Flags flags;
public StarGiftBase gift;
[IfFlag(3)] public int can_export_at;
[IfFlag(4)] public long transfer_stars;
+ [IfFlag(6)] public Peer from_id;
+ [IfFlag(7)] public Peer peer;
+ [IfFlag(7)] public long saved_id;
[Flags] public enum Flags : uint
{
@@ -2892,6 +2930,8 @@ namespace TL
has_can_export_at = 0x8,
has_transfer_stars = 0x10,
refunded = 0x20,
+ has_from_id = 0x40,
+ has_peer = 0x80,
}
}
@@ -5288,7 +5328,7 @@ namespace TL
public sealed partial class UpdateUserEmojiStatus : UpdateUser
{
/// New emoji status
- public EmojiStatus emoji_status;
+ public EmojiStatusBase emoji_status;
}
/// The list of recent emoji statuses has changed See
[TLDef(0x30F443DB)]
@@ -12010,9 +12050,9 @@ namespace TL
public sealed partial class ChannelAdminLogEventActionChangeEmojiStatus : ChannelAdminLogEventAction
{
/// Previous emoji status
- public EmojiStatus prev_value;
+ public EmojiStatusBase prev_value;
/// New emoji status
- public EmojiStatus new_value;
+ public EmojiStatusBase new_value;
}
/// The supergroup's custom emoji stickerset was changed. See
[TLDef(0x46D840AB)]
@@ -13952,6 +13992,12 @@ namespace TL
text_color = 0x2,
}
}
+ /// See
+ [TLDef(0xCF6F6DB8)]
+ public sealed partial class WebPageAttributeUniqueStarGift : WebPageAttribute
+ {
+ public StarGiftBase gift;
+ }
/// How users voted in a poll See
[TLDef(0x4899484E)]
@@ -14423,7 +14469,7 @@ namespace TL
keep_archived_folders = 0x4,
/// If this flag is set, the key will also apply to the ability to use Messages_GetOutboxReadDate on messages sent to us.
Meaning, users that cannot see our exact last online date due to the current value of the key will receive a 403 USER_PRIVACY_RESTRICTED error when invoking Messages_GetOutboxReadDate to fetch the exact read date of a message they sent to us.
The .read_dates_private flag will be set for users that have this flag enabled.
hide_read_marks = 0x8,
- /// If set, only users that have a premium account, are in our contact list, or already have a private chat with us can write to us; a 403 PRIVACY_PREMIUM_REQUIRED error will be emitted otherwise.
The .contact_require_premium flag will be set for users that have this flag enabled.
To check whether we can write to a user with this flag enabled, if we haven't yet cached all the required information (for example we don't have the or history of all users while displaying the chat list in the sharing UI) the Users_GetIsPremiumRequiredToContact method may be invoked, passing the list of users currently visible in the UI, returning a list of booleans that directly specify whether we can or cannot write to each user.
Premium users only, non-Premium users will receive a PREMIUM_ACCOUNT_REQUIRED error when trying to enable this flag.
+ /// If set, only users that have a premium account, are in our contact list, or already have a private chat with us can write to us; a 403 PRIVACY_PREMIUM_REQUIRED error will be emitted otherwise.
The .contact_require_premium flag will be set for users that have this flag enabled.
To check whether we can write to a user with this flag enabled, if we haven't yet cached all the required information (for example we don't have the or history of all users while displaying the chat list in the sharing UI) the Users_GetIsPremiumRequiredToContact method may be invoked, passing the list of users currently visible in the UI, returning a list of booleans that directly specify whether we can or cannot write to each user.
This option may be enabled by both non-Premium and Premium users only if the new_noncontact_peers_require_premium_without_ownpremium client configuration flag » is equal to true, otherwise it may be enabled only by Premium users and non-Premium users will receive a PREMIUM_ACCOUNT_REQUIRED error when trying to enable this flag.
new_noncontact_peers_require_premium = 0x10,
}
}
@@ -15779,13 +15825,12 @@ namespace TL
public string hash;
}
/// Used to buy a Telegram Star Gift, see here » for more info. See
- [TLDef(0x25D8C1D8)]
+ [TLDef(0xE8625E92)]
public sealed partial class InputInvoiceStarGift : InputInvoice
{
/// Extra bits of information, use flags.HasFlag(...) to test for those
public Flags flags;
- /// Identifier of the user that will receive the gift
- public InputUserBase user_id;
+ public InputPeer peer;
/// Identifier of the gift, from .id
public long gift_id;
/// Optional message, attached with the gift.
The maximum length for this field is specified in the stargifts_message_length_max client configuration value ».
@@ -15801,11 +15846,11 @@ namespace TL
}
}
/// See
- [TLDef(0x5EBE7262)]
+ [TLDef(0x4D818D5D)]
public sealed partial class InputInvoiceStarGiftUpgrade : InputInvoice
{
public Flags flags;
- public int msg_id;
+ public InputSavedStarGift stargift;
[Flags] public enum Flags : uint
{
@@ -15813,11 +15858,11 @@ namespace TL
}
}
/// See
- [TLDef(0xAE3BA9ED)]
+ [TLDef(0x4A5F5BD9)]
public sealed partial class InputInvoiceStarGiftTransfer : InputInvoice
{
- public int msg_id;
- public InputUserBase to_id;
+ public InputSavedStarGift stargift;
+ public InputPeer to_id;
}
/// Exported invoice deep link See
@@ -16060,20 +16105,66 @@ namespace TL
public string title;
}
- /// An emoji status See
+ /// Emoji status See Derived classes: ,
/// a value means emojiStatusEmpty
- [TLDef(0x929B619D)]
- public partial class EmojiStatus : IObject
+ public abstract partial class EmojiStatusBase : IObject
{
+ public virtual DateTime Until => default;
+ }
+ /// An emoji status See
+ [TLDef(0xE7FF068A)]
+ public sealed partial class EmojiStatus : EmojiStatusBase
+ {
+ public Flags flags;
/// Custom emoji document ID
public long document_id;
+ [IfFlag(0)] public DateTime until;
+
+ [Flags] public enum Flags : uint
+ {
+ /// Field has a value
+ has_until = 0x1,
+ }
+
+ public override DateTime Until => until;
}
- /// An emoji status valid until the specified date See
- [TLDef(0xFA30A8C7, inheritBefore = true)]
- public sealed partial class EmojiStatusUntil : EmojiStatus
+ /// See
+ [TLDef(0x7184603B)]
+ public sealed partial class EmojiStatusCollectible : EmojiStatusBase
{
- /// This status is valid until this date
- public DateTime until;
+ public Flags flags;
+ public long collectible_id;
+ public long document_id;
+ public string title;
+ public string slug;
+ public long pattern_document_id;
+ public int center_color;
+ public int edge_color;
+ public int pattern_color;
+ public int text_color;
+ [IfFlag(0)] public DateTime until;
+
+ [Flags] public enum Flags : uint
+ {
+ has_until = 0x1,
+ }
+
+ public override DateTime Until => until;
+ }
+ /// See
+ [TLDef(0x07141DBF)]
+ public sealed partial class InputEmojiStatusCollectible : EmojiStatusBase
+ {
+ public Flags flags;
+ public long collectible_id;
+ [IfFlag(0)] public DateTime until;
+
+ [Flags] public enum Flags : uint
+ {
+ has_until = 0x1,
+ }
+
+ public override DateTime Until => until;
}
/// A list of emoji statuses See
@@ -16084,7 +16175,7 @@ namespace TL
/// Hash used for caching, for more info click here
public long hash;
/// Emoji statuses
- public EmojiStatus[] statuses;
+ public EmojiStatusBase[] statuses;
}
/// Message reaction See Derived classes: , ,
@@ -17473,6 +17564,13 @@ namespace TL
/// ARGB background color.
public int color;
}
+ /// See
+ [TLDef(0x5787686D)]
+ public sealed partial class MediaAreaStarGift : MediaArea
+ {
+ public MediaAreaCoordinates coordinates;
+ public string slug;
+ }
/// Stories associated to a peer See
[TLDef(0x9A35E999)]
@@ -19744,17 +19842,28 @@ namespace TL
public override int AvailabilityTotal => availability_total;
}
/// See
- [TLDef(0x6A1407CD)]
+ [TLDef(0xF2FE7E4A)]
public sealed partial class StarGiftUnique : StarGiftBase
{
+ public Flags flags;
public long id;
public string title;
+ public string slug;
public int num;
- public long owner_id;
+ [IfFlag(0)] public Peer owner_id;
+ [IfFlag(1)] public string owner_name;
+ [IfFlag(2)] public string owner_address;
public StarGiftAttribute[] attributes;
public int availability_issued;
public int availability_total;
+ [Flags] public enum Flags : uint
+ {
+ has_owner_id = 0x1,
+ has_owner_name = 0x2,
+ has_owner_address = 0x4,
+ }
+
public override long ID => id;
public override int AvailabilityTotal => availability_total;
}
@@ -19770,75 +19879,6 @@ namespace TL
public StarGiftBase[] gifts;
}
- /// Represents a gift, displayed on a user's profile page. See
- [TLDef(0x325835E1)]
- public sealed partial class UserStarGift : IObject
- {
- /// Extra bits of information, use flags.HasFlag(...) to test for those
- public Flags flags;
- /// Sender of the gift (may be empty for anonymous senders; will always be set if this gift was sent to us).
- [IfFlag(1)] public long from_id;
- /// When was this gift sent.
- public DateTime date;
- /// The gift.
- public StarGiftBase gift;
- /// Message attached to the gift by the sender.
- [IfFlag(2)] public TextWithEntities message;
- /// Only visible to the receiver of the gift, contains the ID of the with the in the chat with from_id.
- [IfFlag(3)] public int msg_id;
- /// The receiver of this gift may convert it to this many Telegram Stars, instead of displaying it on their profile page.
convert_stars will be equal to the buying price of the gift only if the gift was bought using recently bought Telegram Stars, otherwise it will be less than stars.
- [IfFlag(4)] public long convert_stars;
- [IfFlag(6)] public long upgrade_stars;
- [IfFlag(7)] public int can_export_at;
- [IfFlag(8)] public long transfer_stars;
-
- [Flags] public enum Flags : uint
- {
- /// If set, from_id will not be visible to users (it will still be visible to the receiver of the gift).
- name_hidden = 0x1,
- /// Field has a value
- has_from_id = 0x2,
- /// Field has a value
- has_message = 0x4,
- /// Field has a value
- has_msg_id = 0x8,
- /// Field has a value
- has_convert_stars = 0x10,
- /// If set, indicates this is a gift sent by from_id, received by the current user and currently hidden from our profile page.
- unsaved = 0x20,
- /// Field has a value
- has_upgrade_stars = 0x40,
- /// Field has a value
- has_can_export_at = 0x80,
- /// Field has a value
- has_transfer_stars = 0x100,
- refunded = 0x200,
- can_upgrade = 0x400,
- }
- }
-
- /// Gifts displayed on a user's profile. See
- [TLDef(0x6B65B517)]
- public sealed partial class Payments_UserStarGifts : IObject
- {
- /// Extra bits of information, use flags.HasFlag(...) to test for those
- public Flags flags;
- /// Total number of gifts displayed on the profile.
- public int count;
- /// The gifts.
- public UserStarGift[] gifts;
- /// Offset for pagination.
- [IfFlag(0)] public string next_offset;
- /// Users mentioned in the gifts vector.
- public Dictionary users;
-
- [Flags] public enum Flags : uint
- {
- /// Field has a value
- has_next_offset = 0x1,
- }
- }
-
/// Report menu option See
[TLDef(0x7903E3D9)]
public sealed partial class MessageReportOption : IObject
@@ -19951,7 +19991,7 @@ namespace TL
[IfFlag(0)] public int duration_months;
/// Point in time (Unix timestamp) when the affiliate program will be closed (optional, if not set the affiliate program isn't scheduled to be closed)
[IfFlag(1)] public DateTime end_date;
- /// The amount of daily revenue per user in Telegram Stars of the bot that created the affiliate program
+ /// The amount of daily revenue per user in Telegram Stars of the bot that created the affiliate program.
To obtain the approximated revenue per referred user, multiply this value by commission_permille and divide by 1000.
[IfFlag(2)] public StarsAmount daily_revenue_per_user;
[Flags] public enum Flags : uint
@@ -20131,12 +20171,12 @@ namespace TL
public int rarity_permille;
}
/// See
- [TLDef(0xC02C4F4B)]
+ [TLDef(0xE0BFF26C)]
public sealed partial class StarGiftAttributeOriginalDetails : StarGiftAttribute
{
public Flags flags;
- [IfFlag(0)] public long sender_id;
- public long recipient_id;
+ [IfFlag(0)] public Peer sender_id;
+ public Peer recipient_id;
public DateTime date;
[IfFlag(1)] public TextWithEntities message;
@@ -20166,4 +20206,97 @@ namespace TL
{
public int count;
}
+
+ /// See
+ [TLDef(0xCAA2F60B)]
+ public sealed partial class Payments_UniqueStarGift : IObject
+ {
+ public StarGiftBase gift;
+ public Dictionary users;
+ }
+
+ /// See
+ [TLDef(0xB53E8B21)]
+ public sealed partial class Messages_WebPagePreview : IObject
+ {
+ public MessageMedia media;
+ public Dictionary users;
+ }
+
+ /// See
+ [TLDef(0x6056DBA5)]
+ public sealed partial class SavedStarGift : IObject
+ {
+ public Flags flags;
+ [IfFlag(1)] public Peer from_id;
+ public DateTime date;
+ public StarGiftBase gift;
+ [IfFlag(2)] public TextWithEntities message;
+ [IfFlag(3)] public int msg_id;
+ [IfFlag(11)] public long saved_id;
+ [IfFlag(4)] public long convert_stars;
+ [IfFlag(6)] public long upgrade_stars;
+ [IfFlag(7)] public int can_export_at;
+ [IfFlag(8)] public long transfer_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,
+ has_upgrade_stars = 0x40,
+ has_can_export_at = 0x80,
+ has_transfer_stars = 0x100,
+ refunded = 0x200,
+ can_upgrade = 0x400,
+ has_saved_id = 0x800,
+ }
+ }
+
+ /// See
+ [TLDef(0x95F389B1)]
+ public sealed partial class Payments_SavedStarGifts : IObject, IPeerResolver
+ {
+ public Flags flags;
+ public int count;
+ [IfFlag(1)] public bool chat_notifications_enabled;
+ public SavedStarGift[] gifts;
+ [IfFlag(0)] public string next_offset;
+ public Dictionary chats;
+ public Dictionary users;
+
+ [Flags] public enum Flags : uint
+ {
+ has_next_offset = 0x1,
+ has_chat_notifications_enabled = 0x2,
+ }
+ /// returns a or for the given Peer
+ public IPeerInfo UserOrChat(Peer peer) => peer?.UserOrChat(users, chats);
+ }
+
+ /// See
+ public abstract partial class InputSavedStarGift : IObject { }
+ /// See
+ [TLDef(0x69279795)]
+ public sealed partial class InputSavedStarGiftUser : InputSavedStarGift
+ {
+ public int msg_id;
+ }
+ /// See
+ [TLDef(0xF101AA7F)]
+ public sealed partial class InputSavedStarGiftChat : InputSavedStarGift
+ {
+ public InputPeer peer;
+ public long saved_id;
+ }
+
+ /// See
+ [TLDef(0x84AA3A9C)]
+ public sealed partial class Payments_StarGiftWithdrawalUrl : IObject
+ {
+ public string url;
+ }
}
diff --git a/src/TL.SchemaFuncs.cs b/src/TL.SchemaFuncs.cs
index 1bad50b..5f025de 100644
--- a/src/TL.SchemaFuncs.cs
+++ b/src/TL.SchemaFuncs.cs
@@ -1107,7 +1107,7 @@ namespace TL
/// Set an emoji status See Possible codes: 400 (details)
/// Emoji status to set
- public static Task Account_UpdateEmojiStatus(this Client client, EmojiStatus emoji_status)
+ public static Task Account_UpdateEmojiStatus(this Client client, EmojiStatusBase emoji_status)
=> client.Invoke(new Account_UpdateEmojiStatus
{
emoji_status = emoji_status,
@@ -1417,6 +1417,14 @@ namespace TL
settings = settings,
});
+ /// See
+ /// a null value means account.emojiStatusesNotModified
+ public static Task Account_GetCollectibleEmojiStatuses(this Client client, long hash = default)
+ => client.Invoke(new Account_GetCollectibleEmojiStatuses
+ {
+ hash = hash,
+ });
+
/// Returns basic user info according to their identifiers. See [bots: ✓] Possible codes: 400 (details)
/// List of user identifiers
public static Task Users_GetUsers(this Client client, params InputUserBase[] id)
@@ -1932,10 +1940,10 @@ namespace TL
/// Scheduled message date for scheduled messages
/// Forward the messages as the specified peer
/// Add the messages to the specified quick reply shortcut », instead.
- public static Task Messages_ForwardMessages(this Client client, InputPeer from_peer, int[] id, long[] random_id, InputPeer to_peer, int? top_msg_id = null, DateTime? schedule_date = null, InputPeer send_as = null, InputQuickReplyShortcutBase quick_reply_shortcut = null, bool silent = false, bool background = false, bool with_my_score = false, bool drop_author = false, bool drop_media_captions = false, bool noforwards = false, bool allow_paid_floodskip = false)
+ public static Task Messages_ForwardMessages(this Client client, InputPeer from_peer, int[] id, long[] random_id, InputPeer to_peer, int? top_msg_id = null, DateTime? schedule_date = null, InputPeer send_as = null, InputQuickReplyShortcutBase quick_reply_shortcut = null, int? video_timestamp = null, bool silent = false, bool background = false, bool with_my_score = false, bool drop_author = false, bool drop_media_captions = false, bool noforwards = false, bool allow_paid_floodskip = false)
=> client.Invoke(new Messages_ForwardMessages
{
- flags = (Messages_ForwardMessages.Flags)((top_msg_id != null ? 0x200 : 0) | (schedule_date != null ? 0x400 : 0) | (send_as != null ? 0x2000 : 0) | (quick_reply_shortcut != null ? 0x20000 : 0) | (silent ? 0x20 : 0) | (background ? 0x40 : 0) | (with_my_score ? 0x100 : 0) | (drop_author ? 0x800 : 0) | (drop_media_captions ? 0x1000 : 0) | (noforwards ? 0x4000 : 0) | (allow_paid_floodskip ? 0x80000 : 0)),
+ flags = (Messages_ForwardMessages.Flags)((top_msg_id != null ? 0x200 : 0) | (schedule_date != null ? 0x400 : 0) | (send_as != null ? 0x2000 : 0) | (quick_reply_shortcut != null ? 0x20000 : 0) | (video_timestamp != null ? 0x100000 : 0) | (silent ? 0x20 : 0) | (background ? 0x40 : 0) | (with_my_score ? 0x100 : 0) | (drop_author ? 0x800 : 0) | (drop_media_captions ? 0x1000 : 0) | (noforwards ? 0x4000 : 0) | (allow_paid_floodskip ? 0x80000 : 0)),
from_peer = from_peer,
id = id,
random_id = random_id,
@@ -1944,6 +1952,7 @@ namespace TL
schedule_date = schedule_date ?? default,
send_as = send_as,
quick_reply_shortcut = quick_reply_shortcut,
+ video_timestamp = video_timestamp ?? default,
});
/// Report a new incoming chat for spam, if the of the chat allow us to do that See Possible codes: 400 (details)
@@ -2202,8 +2211,7 @@ namespace TL
/// Get preview of webpage See Possible codes: 400 (details)
/// Message from which to extract the preview
/// Message entities for styled text
- /// a null value means messageMediaEmpty
- public static Task Messages_GetWebPagePreview(this Client client, string message, MessageEntity[] entities = null)
+ public static Task Messages_GetWebPagePreview(this Client client, string message, MessageEntity[] entities = null)
=> client.Invoke(new Messages_GetWebPagePreview
{
flags = (Messages_GetWebPagePreview.Flags)(entities != null ? 0x8 : 0),
@@ -5488,7 +5496,7 @@ namespace TL
/// Set an emoji status for a channel or supergroup. See Possible codes: 400 (details)
/// The channel/supergroup, must have at least channel_emoji_status_level_min/group_emoji_status_level_min boosts.
/// Emoji status to set
- public static Task Channels_UpdateEmojiStatus(this Client client, InputChannelBase channel, EmojiStatus emoji_status)
+ public static Task Channels_UpdateEmojiStatus(this Client client, InputChannelBase channel, EmojiStatusBase emoji_status)
=> client.Invoke(new Channels_UpdateEmojiStatus
{
channel = channel,
@@ -5787,7 +5795,7 @@ namespace TL
/// Change the emoji status of a user (invoked by bots, see here » for more info on the full flow) See [bots: ✓] Possible codes: 400 (details)
/// The user whose emoji status should be changed
/// The emoji status
- public static Task Bots_UpdateUserEmojiStatus(this Client client, InputUserBase user_id, EmojiStatus emoji_status)
+ public static Task Bots_UpdateUserEmojiStatus(this Client client, InputUserBase user_id, EmojiStatusBase emoji_status)
=> client.Invoke(new Bots_UpdateUserEmojiStatus
{
user_id = user_id,
@@ -5849,7 +5857,6 @@ namespace TL
public static Task Bots_GetBotRecommendations(this Client client, InputUserBase bot)
=> client.Invoke(new Bots_GetBotRecommendations
{
- flags = 0,
bot = bot,
});
@@ -6162,34 +6169,20 @@ namespace TL
hash = hash,
});
- /// Get the gifts » pinned on a specific user's profile. See Possible codes: 400 (details)
- /// Identifier of the user (can be the current user to fetch all gifts received by the current user).
- /// Offset for pagination, taken from (initially empty).
- /// Maximum number of results to return, see pagination
- public static Task 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,
- });
-
/// Display or remove a received gift » from our profile. See Possible codes: 400 (details)
/// If set, hides the gift from our profile.
- /// The ID of the with the .
- public static Task Payments_SaveStarGift(this Client client, int msg_id, bool unsave = false)
+ public static Task Payments_SaveStarGift(this Client client, InputSavedStarGift stargift, bool unsave = false)
=> client.Invoke(new Payments_SaveStarGift
{
flags = (Payments_SaveStarGift.Flags)(unsave ? 0x1 : 0),
- msg_id = msg_id,
+ stargift = stargift,
});
/// Convert a received gift » into Telegram Stars: this will permanently destroy the gift, converting it into .convert_stars Telegram Stars, added to the user's balance. See Possible codes: 400 (details)
- /// The ID of the with the .
- public static Task Payments_ConvertStarGift(this Client client, int msg_id)
+ public static Task Payments_ConvertStarGift(this Client client, InputSavedStarGift stargift)
=> client.Invoke(new Payments_ConvertStarGift
{
- msg_id = msg_id,
+ stargift = stargift,
});
/// Cancel a bot subscription See Possible codes: 400 (details)
@@ -6274,26 +6267,59 @@ namespace TL
});
/// See
- public static Task Payments_UpgradeStarGift(this Client client, int msg_id, bool keep_original_details = false)
+ public static Task Payments_UpgradeStarGift(this Client client, InputSavedStarGift stargift, bool keep_original_details = false)
=> client.Invoke(new Payments_UpgradeStarGift
{
flags = (Payments_UpgradeStarGift.Flags)(keep_original_details ? 0x1 : 0),
- msg_id = msg_id,
+ stargift = stargift,
});
/// See
- public static Task Payments_TransferStarGift(this Client client, int msg_id, InputUserBase to_id)
+ public static Task Payments_TransferStarGift(this Client client, InputSavedStarGift stargift, InputPeer to_id)
=> client.Invoke(new Payments_TransferStarGift
{
- msg_id = msg_id,
+ stargift = stargift,
to_id = to_id,
});
- /// See
- public static Task Payments_GetUserStarGift(this Client client, params int[] msg_id)
- => client.Invoke(new Payments_GetUserStarGift
+ /// See
+ public static Task Payments_GetUniqueStarGift(this Client client, string slug)
+ => client.Invoke(new Payments_GetUniqueStarGift
{
- msg_id = msg_id,
+ slug = slug,
+ });
+
+ /// See
+ public static Task Payments_GetSavedStarGifts(this Client client, InputPeer peer, string offset, int limit = int.MaxValue, bool exclude_unsaved = false, bool exclude_saved = false, bool exclude_unlimited = false, bool exclude_limited = false, bool exclude_unique = false, bool sort_by_value = false)
+ => client.Invoke(new Payments_GetSavedStarGifts
+ {
+ flags = (Payments_GetSavedStarGifts.Flags)((exclude_unsaved ? 0x1 : 0) | (exclude_saved ? 0x2 : 0) | (exclude_unlimited ? 0x4 : 0) | (exclude_limited ? 0x8 : 0) | (exclude_unique ? 0x10 : 0) | (sort_by_value ? 0x20 : 0)),
+ peer = peer,
+ offset = offset,
+ limit = limit,
+ });
+
+ /// See
+ public static Task Payments_GetSavedStarGift(this Client client, params InputSavedStarGift[] stargift)
+ => client.Invoke(new Payments_GetSavedStarGift
+ {
+ stargift = stargift,
+ });
+
+ /// See
+ public static Task Payments_GetStarGiftWithdrawalUrl(this Client client, InputSavedStarGift stargift, InputCheckPasswordSRP password)
+ => client.Invoke(new Payments_GetStarGiftWithdrawalUrl
+ {
+ stargift = stargift,
+ password = password,
+ });
+
+ /// See
+ public static Task Payments_ToggleChatStarGiftNotifications(this Client client, InputPeer peer, bool enabled = false)
+ => client.Invoke(new Payments_ToggleChatStarGiftNotifications
+ {
+ flags = (Payments_ToggleChatStarGiftNotifications.Flags)(enabled ? 0x1 : 0),
+ peer = peer,
});
/// Create a stickerset. See [bots: ✓] Possible codes: 400 (details)
@@ -8352,7 +8378,7 @@ namespace TL.Methods
[TLDef(0xFBD3DE6B)]
public sealed partial class Account_UpdateEmojiStatus : IMethod
{
- public EmojiStatus emoji_status;
+ public EmojiStatusBase emoji_status;
}
[TLDef(0xD6753386)]
@@ -8615,6 +8641,12 @@ namespace TL.Methods
public ReactionsNotifySettings settings;
}
+ [TLDef(0x2E7B4543)]
+ public sealed partial class Account_GetCollectibleEmojiStatuses : IMethod
+ {
+ public long hash;
+ }
+
[TLDef(0x0D91A548)]
public sealed partial class Users_GetUsers : IMethod
{
@@ -9050,7 +9082,7 @@ namespace TL.Methods
}
}
- [TLDef(0xD5039208)]
+ [TLDef(0x6D74DA08)]
public sealed partial class Messages_ForwardMessages : IMethod
{
public Flags flags;
@@ -9062,6 +9094,7 @@ namespace TL.Methods
[IfFlag(10)] public DateTime schedule_date;
[IfFlag(13)] public InputPeer send_as;
[IfFlag(17)] public InputQuickReplyShortcutBase quick_reply_shortcut;
+ [IfFlag(20)] public int video_timestamp;
[Flags] public enum Flags : uint
{
@@ -9076,6 +9109,7 @@ namespace TL.Methods
noforwards = 0x4000,
has_quick_reply_shortcut = 0x20000,
allow_paid_floodskip = 0x80000,
+ has_video_timestamp = 0x100000,
}
}
@@ -9278,8 +9312,8 @@ namespace TL.Methods
public long hash;
}
- [TLDef(0x8B68B0CC)]
- public sealed partial class Messages_GetWebPagePreview : IMethod
+ [TLDef(0x570D6F6F)]
+ public sealed partial class Messages_GetWebPagePreview : IMethod
{
public Flags flags;
public string message;
@@ -12012,7 +12046,7 @@ namespace TL.Methods
public sealed partial class Channels_UpdateEmojiStatus : IMethod
{
public InputChannelBase channel;
- public EmojiStatus emoji_status;
+ public EmojiStatusBase emoji_status;
}
[TLDef(0xAD399CEE)]
@@ -12231,7 +12265,7 @@ namespace TL.Methods
public sealed partial class Bots_UpdateUserEmojiStatus : IMethod
{
public InputUserBase user_id;
- public EmojiStatus emoji_status;
+ public EmojiStatusBase emoji_status;
}
[TLDef(0x06DE6392)]
@@ -12282,15 +12316,10 @@ namespace TL.Methods
}
}
- [TLDef(0x2855BE61)]
+ [TLDef(0xA1B70815)]
public sealed partial class Bots_GetBotRecommendations : IMethod
{
- public Flags flags;
public InputUserBase bot;
-
- [Flags] public enum Flags : uint
- {
- }
}
[TLDef(0x37148DBB)]
@@ -12560,19 +12589,11 @@ namespace TL.Methods
public int hash;
}
- [TLDef(0x5E72C7E1)]
- public sealed partial class Payments_GetUserStarGifts : IMethod
- {
- public InputUserBase user_id;
- public string offset;
- public int limit;
- }
-
- [TLDef(0x92FD2AAE)]
+ [TLDef(0x2A2A697C)]
public sealed partial class Payments_SaveStarGift : IMethod
{
public Flags flags;
- public int msg_id;
+ public InputSavedStarGift stargift;
[Flags] public enum Flags : uint
{
@@ -12580,10 +12601,10 @@ namespace TL.Methods
}
}
- [TLDef(0x72770C83)]
+ [TLDef(0x74BF076B)]
public sealed partial class Payments_ConvertStarGift : IMethod
{
- public int msg_id;
+ public InputSavedStarGift stargift;
}
[TLDef(0x6DFA0622)]
@@ -12662,11 +12683,11 @@ namespace TL.Methods
public long gift_id;
}
- [TLDef(0xCF4F0781)]
+ [TLDef(0xAED6E4F5)]
public sealed partial class Payments_UpgradeStarGift : IMethod
{
public Flags flags;
- public int msg_id;
+ public InputSavedStarGift stargift;
[Flags] public enum Flags : uint
{
@@ -12674,17 +12695,61 @@ namespace TL.Methods
}
}
- [TLDef(0x333FB526)]
+ [TLDef(0x7F18176A)]
public sealed partial class Payments_TransferStarGift : IMethod
{
- public int msg_id;
- public InputUserBase to_id;
+ public InputSavedStarGift stargift;
+ public InputPeer to_id;
}
- [TLDef(0xB502E4A5)]
- public sealed partial class Payments_GetUserStarGift : IMethod
+ [TLDef(0xA1974D72)]
+ public sealed partial class Payments_GetUniqueStarGift : IMethod
{
- public int[] msg_id;
+ public string slug;
+ }
+
+ [TLDef(0x23830DE9)]
+ public sealed partial class Payments_GetSavedStarGifts : IMethod
+ {
+ public Flags flags;
+ public InputPeer peer;
+ public string offset;
+ public int limit;
+
+ [Flags] public enum Flags : uint
+ {
+ exclude_unsaved = 0x1,
+ exclude_saved = 0x2,
+ exclude_unlimited = 0x4,
+ exclude_limited = 0x8,
+ exclude_unique = 0x10,
+ sort_by_value = 0x20,
+ }
+ }
+
+ [TLDef(0xB455A106)]
+ public sealed partial class Payments_GetSavedStarGift : IMethod
+ {
+ public InputSavedStarGift[] stargift;
+ }
+
+ [TLDef(0xD06E93A8)]
+ public sealed partial class Payments_GetStarGiftWithdrawalUrl : IMethod
+ {
+ public InputSavedStarGift stargift;
+ public InputCheckPasswordSRP password;
+ }
+
+ [TLDef(0x60EAEFA1)]
+ public sealed partial class Payments_ToggleChatStarGiftNotifications : IMethod
+ {
+ public Flags flags;
+ public InputPeer peer;
+
+ [Flags] public enum Flags : uint
+ {
+ enabled = 0x1,
+ }
}
[TLDef(0x9021AB67)]
diff --git a/src/TL.Table.cs b/src/TL.Table.cs
index 9ff74e4..b3f254a 100644
--- a/src/TL.Table.cs
+++ b/src/TL.Table.cs
@@ -6,7 +6,7 @@ namespace TL
{
public static partial class Layer
{
- public const int Version = 196; // fetched 02/01/2025 13:18:52
+ public const int Version = 198; // fetched 22/01/2025 22:22:20
internal const int SecretChats = 144;
internal const int MTProto2 = 73;
internal const uint VectorCtor = 0x1CB5C415;
@@ -90,11 +90,11 @@ namespace TL
[0xB3BA0635] = typeof(InputMediaPhoto),
[0xF9C44144] = typeof(InputMediaGeoPoint),
[0xF8AB7DFB] = typeof(InputMediaContact),
- [0x5B38C6C1] = typeof(InputMediaUploadedDocument),
- [0x33473058] = typeof(InputMediaDocument),
+ [0x037C9330] = typeof(InputMediaUploadedDocument),
+ [0xA8763AB5] = typeof(InputMediaDocument),
[0xC13D1C11] = typeof(InputMediaVenue),
[0xE5BBFE1A] = typeof(InputMediaPhotoExternal),
- [0xFB52DC99] = typeof(InputMediaDocumentExternal),
+ [0x779600F9] = typeof(InputMediaDocumentExternal),
[0xD33F43F3] = typeof(InputMediaGame),
[0x405FEF0D] = typeof(InputMediaInvoice),
[0x971FA843] = typeof(InputMediaGeoLive),
@@ -139,7 +139,7 @@ namespace TL
[0xE00998B7] = typeof(Channel),
[0x17D493D5] = typeof(ChannelForbidden),
[0x2633421B] = typeof(ChatFull),
- [0x9FF3B858] = typeof(ChannelFull),
+ [0x52D6806B] = typeof(ChannelFull),
[0xC02D4007] = typeof(ChatParticipant),
[0xE46BCEE4] = typeof(ChatParticipantCreator),
[0xA0933F5B] = typeof(ChatParticipantAdmin),
@@ -155,7 +155,7 @@ namespace TL
[0x56E0D474] = typeof(MessageMediaGeo),
[0x70322949] = typeof(MessageMediaContact),
[0x9F84F49E] = typeof(MessageMediaUnsupported),
- [0xDD570BD5] = typeof(MessageMediaDocument),
+ [0x52D8CCD9] = typeof(MessageMediaDocument),
[0xDDF10C3B] = typeof(MessageMediaWebPage),
[0x2EC0533F] = typeof(MessageMediaVenue),
[0xFDB19008] = typeof(MessageMediaGame),
@@ -213,8 +213,8 @@ namespace TL
[0x41B3E202] = typeof(MessageActionPaymentRefunded),
[0x45D5B021] = typeof(MessageActionGiftStars),
[0xB00C47A2] = typeof(MessageActionPrizeStars),
- [0xD8F4F0A7] = typeof(MessageActionStarGift),
- [0x26077B99] = typeof(MessageActionStarGiftUnique),
+ [0x4717E8A4] = typeof(MessageActionStarGift),
+ [0xACDFCB81] = typeof(MessageActionStarGiftUnique),
[0xD58A08C6] = typeof(Dialog),
[0x71BD134C] = typeof(DialogFolder),
[0x2331B22D] = typeof(PhotoEmpty),
@@ -989,6 +989,7 @@ namespace TL
[0x54B56617] = typeof(WebPageAttributeTheme),
[0x2E94C3E7] = typeof(WebPageAttributeStory),
[0x50CC03D3] = typeof(WebPageAttributeStickerSet),
+ [0xCF6F6DB8] = typeof(WebPageAttributeUniqueStarGift),
[0x4899484E] = typeof(Messages_VotesList),
[0xF568028A] = typeof(BankCardOpenUrl),
[0x3E24E573] = typeof(Payments_BankCardData),
@@ -1102,9 +1103,9 @@ namespace TL
[0x98986C0D] = typeof(InputInvoicePremiumGiftCode),
[0x65F00CE3] = typeof(InputInvoiceStars),
[0x34E793F1] = typeof(InputInvoiceChatInviteSubscription),
- [0x25D8C1D8] = typeof(InputInvoiceStarGift),
- [0x5EBE7262] = typeof(InputInvoiceStarGiftUpgrade),
- [0xAE3BA9ED] = typeof(InputInvoiceStarGiftTransfer),
+ [0xE8625E92] = typeof(InputInvoiceStarGift),
+ [0x4D818D5D] = typeof(InputInvoiceStarGiftUpgrade),
+ [0x4A5F5BD9] = typeof(InputInvoiceStarGiftTransfer),
[0xAED0CBD9] = typeof(Payments_ExportedInvoice),
[0xCFB9D957] = typeof(Messages_TranscribedAudio),
[0x5334759C] = typeof(Help_PremiumPromo),
@@ -1118,8 +1119,9 @@ namespace TL
[0x74C34319] = typeof(PremiumGiftOption),
[0x88F8F21B] = typeof(PaymentFormMethod),
[0x2DE11AAE] = null,//EmojiStatusEmpty
- [0x929B619D] = typeof(EmojiStatus),
- [0xFA30A8C7] = typeof(EmojiStatusUntil),
+ [0xE7FF068A] = typeof(EmojiStatus),
+ [0x7184603B] = typeof(EmojiStatusCollectible),
+ [0x07141DBF] = typeof(InputEmojiStatusCollectible),
[0xD08CE645] = null,//Account_EmojiStatusesNotModified
[0x90C467D1] = typeof(Account_EmojiStatuses),
[0x79F5D419] = null,//ReactionEmpty
@@ -1210,6 +1212,7 @@ namespace TL
[0x2271F2BF] = typeof(InputMediaAreaChannelPost),
[0x37381085] = typeof(MediaAreaUrl),
[0x49A6549C] = typeof(MediaAreaWeather),
+ [0x5787686D] = typeof(MediaAreaStarGift),
[0x9A35E999] = typeof(PeerStories),
[0xCAE68768] = typeof(Stories_PeerStories),
[0xFD5E12BD] = typeof(Messages_WebPage),
@@ -1341,11 +1344,9 @@ namespace TL
[0x94CE852A] = typeof(StarsGiveawayOption),
[0x54236209] = typeof(StarsGiveawayWinnersOption),
[0x02CC73C8] = typeof(StarGift),
- [0x6A1407CD] = typeof(StarGiftUnique),
+ [0xF2FE7E4A] = typeof(StarGiftUnique),
[0xA388A368] = null,//Payments_StarGiftsNotModified
[0x901689EA] = typeof(Payments_StarGifts),
- [0x325835E1] = typeof(UserStarGift),
- [0x6B65B517] = typeof(Payments_UserStarGifts),
[0x7903E3D9] = typeof(MessageReportOption),
[0xF0E4E0B6] = typeof(ReportResultChooseOption),
[0x6F09AC31] = typeof(ReportResultAddComment),
@@ -1365,10 +1366,17 @@ namespace TL
[0x39D99013] = typeof(StarGiftAttributeModel),
[0x13ACFF19] = typeof(StarGiftAttributePattern),
[0x94271762] = typeof(StarGiftAttributeBackdrop),
- [0xC02C4F4B] = typeof(StarGiftAttributeOriginalDetails),
+ [0xE0BFF26C] = typeof(StarGiftAttributeOriginalDetails),
[0x167BD90B] = typeof(Payments_StarGiftUpgradePreview),
[0x62D706B8] = typeof(Users_Users),
[0x315A4974] = typeof(Users_UsersSlice),
+ [0xCAA2F60B] = typeof(Payments_UniqueStarGift),
+ [0xB53E8B21] = typeof(Messages_WebPagePreview),
+ [0x6056DBA5] = typeof(SavedStarGift),
+ [0x95F389B1] = typeof(Payments_SavedStarGifts),
+ [0x69279795] = typeof(InputSavedStarGiftUser),
+ [0xF101AA7F] = typeof(InputSavedStarGiftChat),
+ [0x84AA3A9C] = typeof(Payments_StarGiftWithdrawalUrl),
// from TL.Secret:
[0x6ABD9782] = typeof(Layer143.DecryptedMessageMediaDocument),
[0x020DF5D0] = typeof(Layer101.MessageEntityBlockquote),
@@ -1488,6 +1496,7 @@ namespace TL
[typeof(ChatReactions)] = 0xEAFC32BC, //chatReactionsNone
[typeof(Messages_Reactions)] = 0xB06FDBDF, //messages.reactionsNotModified
// from TL.Secret:
+ [typeof(EmojiStatusBase)] = 0x2DE11AAE, //emojiStatusEmpty
[typeof(EmojiList)] = 0x481EADFA, //emojiListNotModified
[typeof(Messages_EmojiGroups)] = 0x6FB4AD87, //messages.emojiGroupsNotModified
[typeof(Help_AppConfig)] = 0x7CDE641D, //help.appConfigNotModified
diff --git a/src/WTelegramClient.csproj b/src/WTelegramClient.csproj
index ff8487a..819a3c0 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: 196
+ Telegram Client API (MTProto) library written 100% in C# and .NET Standard | Latest API layer: 198
Release Notes:
$(ReleaseNotes.Replace("|", "%0D%0A").Replace(" - ","%0D%0A- ").Replace(" ", "%0D%0A%0D%0A"))