-
Notifications
You must be signed in to change notification settings - Fork 70
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
49 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
namespace SlackNet.Events; | ||
|
||
/// <summary> | ||
/// Sent when a message's metadata has been deleted. | ||
/// Within the payload there will be a <see cref="PreviousMetadata"/> property notifying you of what has been deleted. | ||
/// </summary> | ||
public class MessageMetadataDeleted : Event | ||
{ | ||
public MessageMetadata PreviousMetadata { get; set; } | ||
public string AppId { get; set; } | ||
public string BotId { get; set; } | ||
public string UserId { get; set; } | ||
public string TeamId { get; set; } | ||
public string ChannelId { get; set; } | ||
public string MessageTs { get; set; } | ||
public string DeletedTs { get; set; } | ||
} |
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 SlackNet.Events; | ||
|
||
/// <summary> | ||
/// Sent when a message containing metadata is sent in Slack. | ||
/// </summary> | ||
public class MessageMetadataPosted : Event | ||
{ | ||
public MessageMetadata Metadata { get; set; } | ||
public string AppId { get; set; } | ||
public string BotId { get; set; } | ||
public string UserId { get; set; } | ||
public string TeamId { get; set; } | ||
public string ChannelId { get; set; } | ||
public string MessageTs { get; set; } | ||
} |
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,17 @@ | ||
namespace SlackNet.Events; | ||
|
||
/// <summary> | ||
/// Sent when a message's metadata has been updated. | ||
/// Within the payload you'll notice an extra <see cref="PreviousMetadata"/> in addition to the <see cref="Metadata"/> property, notifying you of what was changed. | ||
/// </summary> | ||
public class MessageMetadataUpdated : Event | ||
{ | ||
public MessageMetadata PreviousMetadata { get; set; } | ||
public MessageMetadata Metadata { get; set; } | ||
public string AppId { get; set; } | ||
public string BotId { get; set; } | ||
public string UserId { get; set; } | ||
public string TeamId { get; set; } | ||
public string ChannelId { get; set; } | ||
public string MessageTs { get; set; } | ||
} |