diff --git a/src/Slack.Webhooks/SlackAttachment.cs b/src/Slack.Webhooks/SlackAttachment.cs index 591c60e..f91467e 100644 --- a/src/Slack.Webhooks/SlackAttachment.cs +++ b/src/Slack.Webhooks/SlackAttachment.cs @@ -116,5 +116,22 @@ public List MrkdwnIn /// The actions you provide will be rendered as message buttons or menus to users. /// public List Actions { get; set; } + + /// + /// Optional collection of + /// + /// + /// + /// + /// + /// + /// + /// + public List Blocks { get; set; } + + public bool ShouldSerializeTimestamp() + { + return Timestamp != 0; + } } }