* Add ExplicitContentFilter property to Guild * re-order properties to match order listed on api docs * re-order SystemChannelId to match api docs * Implement ApplicationId in Guild model * Add ExplicitContentFilter property to Guild * re-order properties to match order listed on api docs * re-order SystemChannelId to match api docs * Implement ApplicationId in Guild model * Improve xmldoc for IGuild ExplicitContentFilter * Update xmldoc * docs "Id" -> "ID" * rename Test.GuildPermissions to a more general Test.Guilds * Add ExplicitContentFilter to GuildProperties * Add a test for ExplicitContentFilterLevel modification behavior * Implement ModifyAsync behavior * simplify ExplicitContentFilter test * Add RestGuild ApplicationId inheritdoc * Implement message Activity and Application model update * RestMessage Application and Activity implementation * add ToString to MessageApplication * Add IconUrl property to MessageApplication * clean up whitespace * another excessive whitespace removal
39 lines
1.1 KiB
C#
39 lines
1.1 KiB
C#
using Newtonsoft.Json;
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace Discord.API
|
|
{
|
|
public class MessageApplication
|
|
{
|
|
/// <summary>
|
|
/// Gets the snowflake ID of the application.
|
|
/// </summary>
|
|
[JsonProperty("id")]
|
|
public ulong Id { get; set; }
|
|
/// <summary>
|
|
/// Gets the ID of the embed's image asset.
|
|
/// </summary>
|
|
[JsonProperty("cover_image")]
|
|
public string CoverImage { get; set; }
|
|
/// <summary>
|
|
/// Gets the application's description.
|
|
/// </summary>
|
|
[JsonProperty("description")]
|
|
public string Description { get; set; }
|
|
/// <summary>
|
|
/// Gets the ID of the application's icon.
|
|
/// </summary>
|
|
[JsonProperty("icon")]
|
|
public string Icon { get; set; }
|
|
/// <summary>
|
|
/// Gets the name of the application.
|
|
/// </summary>
|
|
[JsonProperty("name")]
|
|
public string Name { get; set; }
|
|
}
|
|
}
|