tgstation-server 5.12.7
The /tg/station 13 server suite
Loading...
Searching...
No Matches
ChatEmbed.cs
Go to the documentation of this file.
1using System.Collections.Generic;
2
4{
8 public sealed class ChatEmbed
9 {
13 public string Title { get; set; }
14
18 public string Description { get; set; }
19
23#pragma warning disable CA1056 // Uri properties should not be strings
24 public string Url { get; set; }
25#pragma warning restore CA1056 // Uri properties should not be strings
26
30 public string Timestamp { get; set; }
31
35 public string Colour { get; set; }
36
40 public ChatEmbedFooter Footer { get; set; }
41
45 public ChatEmbedMedia Image { get; set; }
46
50 public ChatEmbedMedia Thumbnail { get; set; }
51
55 public ChatEmbedMedia Video { get; set; }
56
60 public ChatEmbedProvider Provider { get; set; }
61
65 public ChatEmbedAuthor Author { get; set; }
66
70 public ICollection<ChatEmbedField> Fields { get; set; }
71 }
72}
Represents information about a ChatEmbed author.
Represents an embed for the chat.
Definition: ChatEmbed.cs:9
ChatEmbedProvider Provider
The ChatEmbedProvider.
Definition: ChatEmbed.cs:60
string Description
The description of the embed.
Definition: ChatEmbed.cs:18
ChatEmbedMedia Image
The ChatEmbedMedia for an image.
Definition: ChatEmbed.cs:45
ChatEmbedMedia Thumbnail
The ChatEmbedMedia for a thumbnail.
Definition: ChatEmbed.cs:50
ICollection< ChatEmbedField > Fields
The ChatEmbedFields.
Definition: ChatEmbed.cs:70
ChatEmbedFooter Footer
The ChatEmbedFooter.
Definition: ChatEmbed.cs:40
string Timestamp
The ISO 8601 timestamp of the embed.
Definition: ChatEmbed.cs:30
ChatEmbedMedia Video
The ChatEmbedMedia for a video.
Definition: ChatEmbed.cs:55
string Colour
The colour of the embed in the format hex "#AARRGGBB".
Definition: ChatEmbed.cs:35
ChatEmbedAuthor Author
The ChatEmbedAuthor.
Definition: ChatEmbed.cs:65
Represents information about a thumbnail in a ChatEmbed.
Represents information about a ChatEmbed provider.