-
Notifications
You must be signed in to change notification settings - Fork 237
Expand file tree
/
Copy pathUser.cs
More file actions
39 lines (38 loc) · 995 Bytes
/
Copy pathUser.cs
File metadata and controls
39 lines (38 loc) · 995 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
29
30
31
32
33
34
35
36
37
38
39
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace SlackAPI
{
public class User
{
public string id;
public bool IsSlackBot
{
get
{
return id.Equals("USLACKBOT", StringComparison.CurrentCultureIgnoreCase);
}
}
public string name;
public bool deleted;
public string color;
public UserProfile profile;
public bool is_admin;
public bool is_owner;
public bool is_primary_owner;
public bool is_restricted;
public bool is_ultra_restricted;
public bool has_2fa;
public string two_factor_type;
public bool has_files;
public string presence;
public bool is_bot;
public string tz;
public string tz_label;
public int tz_offset;
public string team_id;
public string real_name;
}
}