Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace BotSharp.Abstraction.Messaging.Enums
{
public static class AlignmentEnum
{
public const string TopLeft = "topLeft";
public const string BottomLeft = "bottomLeft";

public const string TopRight = "topRight";
public const string BottomRight = "bottomRight";

public const string TopCenter = "topCenter";
public const string BottomCenter = "bottomCenter";
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -20,4 +20,7 @@ public class ButtonTemplateMessage : IRichMessage, ITemplateMessage

[JsonPropertyName("is_horizontal")]
public bool IsHorizontal { get; set; }

[JsonPropertyName("alignment")]
public string Alignment { get; set; } = AlignmentEnum.TopLeft;
}
Loading