-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathembed.proto
65 lines (57 loc) · 1.07 KB
/
embed.proto
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
syntax = "proto3";
message EmbedThumbnail {
string url = 1;
string proxy_url = 2;
int32 height = 3;
int32 width = 4;
}
message EmbedVideo {
string url = 1;
int32 height = 2;
int32 width = 3;
}
message EmbedImage {
string url = 1;
string proxy_url = 2;
int32 height = 3;
int32 width = 4;
}
message EmbedProvider {
string name = 1;
string url = 2;
}
message EmbedAuthor {
string name = 1;
string url = 2;
string icon_url = 3;
string proxy_icon_url = 4;
}
message EmbedFooter {
string text = 1;
string icon_url = 2;
string proxy_icon_url = 3;
}
message EmbedField {
string id = 1;
string filename = 2;
int32 size = 3;
string url = 4;
string proxy_url = 5;
int32 height = 6;
int32 width = 7;
}
message Embed {
string title = 1;
string type = 2;
string description = 3;
string url = 4;
string timestamp = 5;
int32 color = 6;
EmbedFooter footer = 7;
EmbedImage image = 8;
EmbedThumbnail thumbnail = 9;
EmbedVideo video = 10;
EmbedProvider provider = 11;
EmbedAuthor author = 12;
repeated EmbedField fields = 13;
}