-
Notifications
You must be signed in to change notification settings - Fork 243
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #98 from andymac4182/adding_types
Adding missing types
- Loading branch information
Showing
20 changed files
with
194 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
namespace SlackAPI.WebSocketMessages | ||
{ | ||
[SlackSocketRouting("channel_history_changed")] | ||
public class ChannelHistoryChanged | ||
{ | ||
public string latest; | ||
public string ts; | ||
public string event_ts; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
namespace SlackAPI.WebSocketMessages | ||
{ | ||
[SlackSocketRouting("dnd_updated_user")] | ||
public class DndUpdatedUser | ||
{ | ||
public string user; | ||
/* | ||
dnd_status": { | ||
"dnd_enabled": true, | ||
"next_dnd_start_ts": 1450387800, | ||
"next_dnd_end_ts": 1450423800 | ||
} | ||
*/ | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
namespace SlackAPI.WebSocketMessages | ||
{ | ||
[SlackSocketRouting("email_domain_changed")] | ||
public class EmailDomainChanged | ||
{ | ||
public string email_domain; | ||
public string event_ts; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
namespace SlackAPI.WebSocketMessages | ||
{ | ||
[SlackSocketRouting("emoji_changed", "add")] | ||
public class EmojiChangedAdd | ||
{ | ||
public string name; | ||
public string value; | ||
public string event_ts; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
namespace SlackAPI.WebSocketMessages | ||
{ | ||
[SlackSocketRouting("emoji_changed", "remove")] | ||
public class EmojiChangedRemove | ||
{ | ||
public string[] names; | ||
public string event_ts; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
namespace SlackAPI.WebSocketMessages | ||
{ | ||
[SlackSocketRouting("file_change")] | ||
public class FileChange | ||
{ | ||
public File file; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
namespace SlackAPI.WebSocketMessages | ||
{ | ||
[SlackSocketRouting("file_comment_deleted")] | ||
public class FileCommentDeleted | ||
{ | ||
public File file; | ||
public string comment; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
namespace SlackAPI.WebSocketMessages | ||
{ | ||
[SlackSocketRouting("file_comment_edited")] | ||
public class FileCommentEdited | ||
{ | ||
public File file; | ||
public string comment; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
namespace SlackAPI.WebSocketMessages | ||
{ | ||
[SlackSocketRouting("file_created")] | ||
public class FileCreated | ||
{ | ||
public File file; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
namespace SlackAPI.WebSocketMessages | ||
{ | ||
[SlackSocketRouting("file_deleted")] | ||
public class FileDeleted | ||
{ | ||
public string file_id; | ||
public string event_ts; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
namespace SlackAPI.WebSocketMessages | ||
{ | ||
[SlackSocketRouting("file_public")] | ||
public class FilePublic | ||
{ | ||
public File file; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
namespace SlackAPI.WebSocketMessages | ||
{ | ||
[SlackSocketRouting("file_unshared")] | ||
public class FileUnshared | ||
{ | ||
public File file; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
namespace SlackAPI.WebSocketMessages | ||
{ | ||
[SlackSocketRouting("group_history_changed")] | ||
public class GroupHistoryChanged | ||
{ | ||
public string latest; | ||
public string ts; | ||
public string event_ts; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
namespace SlackAPI.WebSocketMessages | ||
{ | ||
[SlackSocketRouting("im_close")] | ||
public class ImClosed | ||
{ | ||
public string user; | ||
public string channel; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
namespace SlackAPI.WebSocketMessages | ||
{ | ||
[SlackSocketRouting("im_history_changed")] | ||
public class ImHistoryChanged | ||
{ | ||
public string latest; | ||
public string ts; | ||
public string event_ts; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
namespace SlackAPI.WebSocketMessages | ||
{ | ||
[SlackSocketRouting("im_open")] | ||
public class ImOpen | ||
{ | ||
public string user; | ||
public string channel; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
namespace SlackAPI.WebSocketMessages | ||
{ | ||
[SlackSocketRouting("subteam_self_added")] | ||
public class SubteamSelfAdded | ||
{ | ||
public string subteam_id; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
namespace SlackAPI.WebSocketMessages | ||
{ | ||
[SlackSocketRouting("subteam_self_removed")] | ||
public class SubteamSelfRemoved | ||
{ | ||
public string subteam_id; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
namespace SlackAPI.WebSocketMessages | ||
{ | ||
[SlackSocketRouting("team_domain_change")] | ||
public class TeamDomainChange | ||
{ | ||
public string url; | ||
public string domain; | ||
} | ||
} |