You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: src/TL.Schema.cs
+38-10
Original file line number
Diff line number
Diff line change
@@ -1672,6 +1672,7 @@ public partial class Message : MessageBase
1672
1672
[IfFlag(8)] public Peer from_id;
1673
1673
/// <summary>Peer ID, the chat where this message was sent</summary>
1674
1674
public Peer peer_id;
1675
+
/// <summary>Messages fetched from a <a href="https://corefork.telegram.org/api/saved-messages">saved messages dialog »</a> will have <c>peer</c>=<see cref="InputPeerSelf"/> and the <c>saved_peer_id</c> flag set to the ID of the saved dialog.<br/></summary>
1675
1676
[IfFlag(28)] public Peer saved_peer_id;
1676
1677
/// <summary>Info about forwarded messages</summary>
1677
1678
[IfFlag(2)] public MessageFwdHeader fwd_from;
@@ -1910,8 +1911,11 @@ public partial class MessageMediaDocument : MessageMedia
1910
1911
spoiler = 0x10,
1911
1912
/// <summary>Field <see cref="alt_document"/> has a value</summary>
1912
1913
has_alt_document = 0x20,
1914
+
/// <summary>Whether this is a video.</summary>
1913
1915
video = 0x40,
1916
+
/// <summary>Whether this is a round video.</summary>
1914
1917
round = 0x80,
1918
+
/// <summary>Whether this is a voice message.</summary>
1915
1919
voice = 0x100,
1916
1920
}
1917
1921
}
@@ -3269,7 +3273,7 @@ public class UserFull : IObject
3269
3273
stories_pinned_available = 0x4000000,
3270
3274
/// <summary>Whether we've <a href="https://corefork.telegram.org/api/block">blocked this user, preventing them from seeing our stories »</a>.</summary>
3271
3275
blocked_my_stories_from = 0x8000000,
3272
-
/// <summary>Whether the other user has chosen a custom wallpaper for us using <see cref="SchemaExtensions.Messages_SetChatWallPaper">Messages_SetChatWallPaper</see> and the <c>for_both</c> flag, see <a href="https://corefork.telegram.org/api/wallpapers#installing-wallpapers-in-a-specific-chator-channel">here »</a> for more info.</summary>
3276
+
/// <summary>Whether the other user has chosen a custom wallpaper for us using <see cref="SchemaExtensions.Messages_SetChatWallPaper">Messages_SetChatWallPaper</see> and the <c>for_both</c> flag, see <a href="https://corefork.telegram.org/api/wallpapers#installing-wallpapers-in-a-specific-chat-or-channel">here »</a> for more info.</summary>
3273
3277
wallpaper_overridden = 0x10000000,
3274
3278
contact_require_premium = 0x20000000,
3275
3279
read_dates_private = 0x40000000,
@@ -5094,25 +5098,28 @@ public class UpdateBotMessageReactions : Update
5094
5098
5095
5099
public override (long, int, int) GetMBox() => (-1, qts, 1);
/// <summary>Extra bits of information, use <c>flags.HasFlag(...)</c> to test for those</summary>
5115
5121
public Flags flags;
5122
+
/// <summary>New order of pinned saved dialogs</summary>
5116
5123
[IfFlag(0)] public DialogPeerBase[] order;
5117
5124
5118
5125
[Flags] public enum Flags : uint
@@ -8600,12 +8607,15 @@ public class MessageFwdHeader : IObject
8600
8607
[IfFlag(2)] public int channel_post;
8601
8608
/// <summary>For channels and if signatures are enabled, author of the channel message</summary>
8602
8609
[IfFlag(3)] public string post_author;
8603
-
/// <summary>Only for messages forwarded to the current user (inputPeerSelf), full info about the user/channel that originally sent the message</summary>
8610
+
/// <summary>Only for messages forwarded to <a href="https://corefork.telegram.org/api/saved-messages">saved messages »</a>, contains the dialog where the message was originally sent.</summary>
8604
8611
[IfFlag(4)] public Peer saved_from_peer;
8605
-
/// <summary>Only for messages forwarded to the current user (inputPeerSelf), ID of the message that was forwarded from the original user/channel</summary>
8612
+
/// <summary>Only for messages forwarded to <a href="https://corefork.telegram.org/api/saved-messages">saved messages »</a>, contains the original ID of the message in <c>saved_from_peer</c>.</summary>
8606
8613
[IfFlag(4)] public int saved_from_msg_id;
8614
+
/// <summary>Only for forwarded messages reforwarded to <a href="https://corefork.telegram.org/api/saved-messages">saved messages »</a>, contains the sender of the original message (i.e. if user A sends a message, then user B forwards it somewhere, then user C saves it to saved messages, this field will contain the ID of user A and <c>from_id</c> will contain the ID of user B).</summary>
8607
8615
[IfFlag(8)] public Peer saved_from_id;
8616
+
/// <summary>Only for forwarded messages from users with forward privacy enabled reforwarded to <a href="https://corefork.telegram.org/api/saved-messages">saved messages »</a>, contains the sender of the original message (i.e. if user A (fwd privacy enabled) sends a message, then user B forwards it somewhere, then user C saves it to saved messages, this field will contain the name of user A and <c>from_id</c> will contain the ID of user B).</summary>
8608
8617
[IfFlag(9)] public string saved_from_name;
8618
+
/// <summary>Only for forwarded messages reforwarded to <a href="https://corefork.telegram.org/api/saved-messages">saved messages »</a>, indicates when was the original message sent (i.e. if user A sends a message @ unixtime 1, then user B forwards it somewhere @ unixtime 2, then user C saves it to saved messages @ unixtime 3, this field will contain 1, <c>date</c> will contain 2 and the <c>date</c> of the containing <see cref="Message"/> will contain 3).</summary>
8609
8619
[IfFlag(10)] public DateTime saved_date;
8610
8620
/// <summary>PSA type</summary>
8611
8621
[IfFlag(6)] public string psa_type;
@@ -8632,6 +8642,7 @@ public class MessageFwdHeader : IObject
8632
8642
has_saved_from_name = 0x200,
8633
8643
/// <summary>Field <see cref="saved_date"/> has a value</summary>
8634
8644
has_saved_date = 0x400,
8645
+
/// <summary>Only for messages forwarded to <a href="https://corefork.telegram.org/api/saved-messages">saved messages »</a>, set if the original message was outgoing (though the message may have been originally outgoing even if this flag is not set, if <c>from_id</c> points to the current user).</summary>
8635
8646
saved_out = 0x800,
8636
8647
}
8637
8648
}
@@ -16863,55 +16874,72 @@ public class Stories_StoryReactionsList : IObject, IPeerResolver
16863
16874
public IPeerInfo UserOrChat(Peer peer) => peer?.UserOrChat(users, chats);
/// <summary>Incomplete list of <a href="https://corefork.telegram.org/api/saved-messages">saved message dialogs »</a> with messages and auxiliary data. <para>See <a href="https://corefork.telegram.org/constructor/messages.savedDialogsSlice"/></para></summary>
16906
16932
[TLDef(0x44BA9DD9)]
16907
16933
public class Messages_SavedDialogsSlice : Messages_SavedDialogs
16908
16934
{
16935
+
/// <summary>Total number of saved message dialogs</summary>
0 commit comments