Add preliminary support for buttons

This commit is contained in:
Ske 2021-05-26 22:27:52 +02:00
parent 0b91e71384
commit d7c0592947
11 changed files with 217 additions and 7 deletions

View file

@ -64,6 +64,7 @@ namespace Myriad.Types
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public Optional<Message?> ReferencedMessage { get; init; }
public MessageComponent[]? Components { get; init; }
public record Reference(ulong? GuildId, ulong? ChannelId, ulong? MessageId);