|
|
@@ -6,11 +6,19 @@ using System.Threading.Tasks; |
|
|
|
|
|
|
|
namespace Discord |
|
|
|
{ |
|
|
|
/// <summary> |
|
|
|
/// Represents a message component on a message. |
|
|
|
/// </summary> |
|
|
|
public interface IMessageComponent |
|
|
|
{ |
|
|
|
/// <summary> |
|
|
|
/// The <see cref="ComponentType"/> of this Message Component. |
|
|
|
/// Gets the <see cref="ComponentType"/> of this Message Component. |
|
|
|
/// </summary> |
|
|
|
public ComponentType Type { get; } |
|
|
|
ComponentType Type { get; } |
|
|
|
|
|
|
|
/// <summary> |
|
|
|
/// Gets the custom id of the component if possible; otherwise <see langword="null"/>. |
|
|
|
/// </summary> |
|
|
|
string CustomId { get; } |
|
|
|
} |
|
|
|
} |