forked from Inumedia/SlackAPI
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Channel.cs
37 lines (31 loc) · 895 Bytes
/
Channel.cs
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
29
30
31
32
33
34
35
36
37
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace SlackAPI
{
public class Channel
{
public string id;
public string name;
public string creator;
public DateTime created;
public DateTime last_read;
public bool is_archived;
public bool is_member;
public bool is_general;
public bool is_starred;
public bool is_channel;
public bool is_group;
public bool is_open;
//Is this deprecated by is_open?
public bool IsPrivateGroup { get { return id != null && id[0] == 'G'; } }
public int num_members;
public int unread_count;
public OwnedStampedMessage topic;
public OwnedStampedMessage purpose;
public Message latest;
public string[] members;
}
}