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;
|
||
|
}
|