mirror of
https://github.com/Radarr/Radarr.git
synced 2026-03-05 13:21:25 -05:00
Compare commits
1 Commits
optimize-a
...
slack-refa
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
bf8d21cd52 |
13
src/NzbDrone.Core/Notifications/Slack/Payloads/Block.cs
Normal file
13
src/NzbDrone.Core/Notifications/Slack/Payloads/Block.cs
Normal file
@@ -0,0 +1,13 @@
|
||||
namespace NzbDrone.Core.Notifications.Slack.Payloads
|
||||
{
|
||||
public class Block
|
||||
{
|
||||
public string Fallback { get; set; }
|
||||
|
||||
public string Title { get; set; }
|
||||
|
||||
public string Text { get; set; }
|
||||
|
||||
public string Color { get; set; }
|
||||
}
|
||||
}
|
||||
14
src/NzbDrone.Core/Notifications/Slack/Payloads/BlockType.cs
Normal file
14
src/NzbDrone.Core/Notifications/Slack/Payloads/BlockType.cs
Normal file
@@ -0,0 +1,14 @@
|
||||
namespace NzbDrone.Core.Notifications.Slack.Payloads
|
||||
{
|
||||
public enum BlockType
|
||||
{
|
||||
Actions,
|
||||
Context,
|
||||
Divider,
|
||||
File,
|
||||
Header,
|
||||
Image,
|
||||
Input,
|
||||
Section
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user