We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a29da1a commit ac5881cCopy full SHA for ac5881c
TelegramBotBase/Interfaces/IDeviceSession.cs
@@ -15,6 +15,16 @@ public interface IDeviceSession : IDeviceSessionMethods
15
{
16
MessageClient Client => ActiveForm.Client;
17
18
+ /// <summary>
19
+ /// Returns if the messages is posted within a group.
20
+ /// </summary>
21
+ bool IsGroup { get; }
22
+
23
24
+ /// Returns if the messages is posted within a channel.
25
26
+ bool IsChannel { get; }
27
28
int LastMessageId => LastMessage?.MessageId ?? -1;
29
30
Message LastMessage { get; set; }
0 commit comments