mirror of
https://github.com/status-im/status-go.git
synced 2025-01-22 20:54:23 +00:00
e9a42bfa2b
* add PinMessage and PinnedMessage * fix gruop pin messages * add SkipGroupMessageWrap to pin messages * update pinMessage ID generation to be symmetric
15 lines
267 B
Protocol Buffer
15 lines
267 B
Protocol Buffer
syntax = "proto3";
|
|
|
|
package protobuf;
|
|
|
|
import "enums.proto";
|
|
|
|
message PinMessage {
|
|
uint64 clock = 1;
|
|
string message_id = 2;
|
|
string chat_id = 3;
|
|
bool pinned = 4;
|
|
// The type of message (public/one-to-one/private-group-chat)
|
|
MessageType message_type = 5;
|
|
}
|