File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -57,12 +57,12 @@ public partial class Message
5757
5858 /// <summary><see langword="true"/> if it's a service message, <see langword="false"/> if it's a content message</summary>
5959 [ JsonIgnore ]
60- public bool IsServiceMessage => this switch
60+ public bool IsServiceMessage => this switch // see https://github.com/tdlib/td/blob/master/td/telegram/MessageContentType.cpp#L506
6161 {
6262 { Text : { } } or { Caption : { } } or { Photo : { } } or { Video : { } } or { Document : { } } or { Sticker : { } } or
6363 { Animation : { } } or { Audio : { } } or { Voice : { } } or { Poll : { } } or { Dice : { } } or { Checklist : { } } or
6464 { Game : { } } or { Location : { } } or { PaidMedia : { } } or { Story : { } } or { VideoNote : { } } or { Contact : { } } or
65- { Venue : { } } or { Invoice : { } } or { Giveaway : { } } or { GiveawayWinners : { } } or { Gift : { } } or { UniqueGift : { } }
65+ { Venue : { } } or { Invoice : { } } or { Giveaway : { } } or { GiveawayWinners : { } }
6666 => false ,
6767 _ => true
6868 } ;
You can’t perform that action at this time.
0 commit comments