// Copyright Epic Games, Inc. All Rights Reserved.
namespace EpicGames.Slack.Blocks
{
///
/// A content divider, like an <hr>, to split up different blocks inside of a message. The divider block is nice and neat, requiring only a type.
///
public class DividerBlock : Block
{
///
/// Constructor
///
public DividerBlock() : base("divider")
{
}
}
///
/// Extension methods for
///
public static class DividerBlockExtensions
{
///
/// Add an to the list of blocks
///
/// Block container
public static void AddDivider(this ISlackBlockContainer container)
{
DividerBlock block = new DividerBlock();
container.Blocks.Add(block);
}
}
}