mirror of
https://github.com/logos-messaging/chat_proto.git
synced 2026-01-04 05:53:10 +00:00
added placeholder types for inbox and private chat
This commit is contained in:
parent
5fd32881e4
commit
93e69eee75
16
proto/umbra/conversations/inbox_v1.proto
Normal file
16
proto/umbra/conversations/inbox_v1.proto
Normal file
@ -0,0 +1,16 @@
|
||||
syntax = "proto3";
|
||||
|
||||
package umbra.convos.inbox;
|
||||
|
||||
import "proto/umbra/conversations/private_v1.proto";
|
||||
|
||||
|
||||
// Specification: [TODO]
|
||||
|
||||
message InboxV1Frame {
|
||||
string recipient = 1;
|
||||
string conversation_type = 2;
|
||||
oneof params {
|
||||
convos.private_v1.ConversationInvite_PrivateV1 invite_private_v1 = 10;
|
||||
}
|
||||
}
|
||||
26
proto/umbra/conversations/private_v1.proto
Normal file
26
proto/umbra/conversations/private_v1.proto
Normal file
@ -0,0 +1,26 @@
|
||||
syntax = "proto3";
|
||||
|
||||
package umbra.convos.private_v1;
|
||||
|
||||
import "proto/umbra/base.proto";
|
||||
import "proto/umbra/common_frames.proto";
|
||||
|
||||
message ConversationInvite_PrivateV1 {
|
||||
// TODO: update placeholder fields
|
||||
string participants = 1;
|
||||
}
|
||||
|
||||
|
||||
message PrivateV1Frame {
|
||||
// SDS like information: Message ID and channel_id extracted for utility
|
||||
string message_id = 2;
|
||||
string conversation_id = 3;
|
||||
|
||||
base.ReliabilityInfo reliability_info = 4;
|
||||
|
||||
oneof frame_type {
|
||||
common_frames.ContentFrame content = 10;
|
||||
// ....
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user