Protos: Put avatar in each message type like iOS/Android
FREEBIE
This commit is contained in:
parent
b940988da5
commit
3d65581c30
1 changed files with 10 additions and 5 deletions
|
@ -163,12 +163,12 @@ message GroupContext {
|
|||
optional AttachmentPointer avatar = 5;
|
||||
}
|
||||
|
||||
message GroupDetails {
|
||||
message Avatar {
|
||||
optional string contentType = 1;
|
||||
optional uint32 length = 2;
|
||||
}
|
||||
|
||||
message GroupDetails {
|
||||
optional bytes id = 1;
|
||||
optional string name = 2;
|
||||
repeated string members = 3;
|
||||
|
@ -177,6 +177,11 @@ message GroupDetails {
|
|||
}
|
||||
|
||||
message ContactDetails {
|
||||
message Avatar {
|
||||
optional string contentType = 1;
|
||||
optional uint32 length = 2;
|
||||
}
|
||||
|
||||
optional string number = 1;
|
||||
optional string name = 2;
|
||||
optional Avatar avatar = 3;
|
||||
|
|
Loading…
Reference in a new issue