forked from Inumedia/SlackAPI
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathChannel.cs
More file actions
28 lines (24 loc) · 689 Bytes
/
Channel.cs
File metadata and controls
28 lines (24 loc) · 689 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace SlackAPI
{
public class Channel : Conversation
{
public string name;
public string creator;
public bool is_archived;
public bool is_member;
public bool is_general;
public bool is_channel;
public bool is_group;
//Is this deprecated by is_open?
public bool IsPrivateGroup { get { return id != null && id[0] == 'G'; } }
public int num_members;
public OwnedStampedMessage topic;
public OwnedStampedMessage purpose;
public string[] members;
}
}