You can not select more than 25 topics
Topics must start with a chinese character,a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
- using Newtonsoft.Json;
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Text;
- using System.Threading.Tasks;
-
- namespace Discord.API
- {
- internal class MessageApplication : IPartialApplicationModel
- {
- /// <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; }
-
- string IPartialApplicationModel.CoverImage { get => CoverImage; set => throw new NotSupportedException(); }
- string IPartialApplicationModel.Icon { get => Icon; set => throw new NotSupportedException(); }
- string IPartialApplicationModel.Name { get => Name; set => throw new NotSupportedException(); }
- ulong IEntityModel<ulong>.Id { get => Id; set => throw new NotSupportedException(); }
- }
- }
|