Zhenkai Zhu | 6fcdee4 | 2012-05-30 17:02:49 -0700 | [diff] [blame^] | 1 | package SyncDemo; |
2 | |||||
3 | message ChatMessage { | ||||
4 | required string msgData = 1; | ||||
5 | required string to = 2; | ||||
6 | required string from = 3; | ||||
7 | required int32 timestamp = 4; | ||||
8 | enum ChatMessageType { | ||||
9 | CHAT = 0; | ||||
10 | OTHER = 1; | ||||
11 | } | ||||
12 | optional ChatMessageType type = 5; | ||||
13 | } |