Skip to content

Commit

Permalink
feat: UnknownMessage
Browse files Browse the repository at this point in the history
  • Loading branch information
Wesley-Young committed Sep 6, 2024
1 parent 95ea548 commit 8e0decf
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions proto/entity/message.proto
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ message Message {
XmlMessage xmlMessage = 22;
ArkMessage arkMessage = 23;

UnknownMessage unknownMessage = 98;
ExtendedMessage extendedMessage = 99;
}
}
Expand Down Expand Up @@ -142,6 +143,11 @@ message ArkMessage {
string json = 1;
}

message UnknownMessage {
string rawContent = 1;
optional string typeIdentifier = 2;
}

message ExtendedMessage {
string type = 1;
bytes content = 2;
Expand Down

0 comments on commit 8e0decf

Please sign in to comment.