tgstation-server 6.12.0
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
string? Timestamp
The ISO 8601 timestamp of the embed.
Definition ChatEmbed.cs:30
ChatEmbedMedia? Image
The ChatEmbedMedia for an image.
Definition ChatEmbed.cs:45
ChatEmbedFooter? Footer
The ChatEmbedFooter.
Definition ChatEmbed.cs:40
ChatEmbedMedia? Thumbnail
The ChatEmbedMedia for a thumbnail.
Definition ChatEmbed.cs:50
ChatEmbedProvider? Provider
The ChatEmbedProvider.
Definition ChatEmbed.cs:60
string? Description
The description of the embed.
Definition ChatEmbed.cs:18
ICollection< ChatEmbedField >? Fields
The ChatEmbedFields.
Definition ChatEmbed.cs:70
string? Colour
The colour of the embed in the format hex "#AARRGGBB".
Definition ChatEmbed.cs:35
ChatEmbedAuthor? Author
The ChatEmbedAuthor.
Definition ChatEmbed.cs:65
ChatEmbedMedia? Video
The ChatEmbedMedia for a video.
Definition ChatEmbed.cs:55
Represents information about a thumbnail in a ChatEmbed.
Represents information about a ChatEmbed provider.