Skip to content

Commit

Permalink
Improve protocol field wrappers.
Browse files Browse the repository at this point in the history
  • Loading branch information
mofirouz committed Apr 26, 2018
1 parent cc09222 commit 022eec8
Show file tree
Hide file tree
Showing 6 changed files with 374 additions and 364 deletions.
489 changes: 245 additions & 244 deletions api/api.pb.go

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions api/api.proto
Original file line number Diff line number Diff line change
Expand Up @@ -565,21 +565,21 @@ message ChannelMessage {
// The unique ID of this message.
string message_id = 2;
// The code representing a message type or category.
int32 code = 3;
google.protobuf.Int32Value code = 3;
// Message sender, usually a user ID.
string sender_id = 4;
// The username of the message sender, if any.
string username = 5;
// The content payload.
string content = 6;
// Another message ID reference, if any.
string reference_id = 7;
google.protobuf.StringValue reference_id = 7;
// The UNIX time when the message was created.
google.protobuf.Timestamp create_time = 8;
// The UNIX time when the message was last updated.
google.protobuf.Timestamp update_time = 9;
// True if the message was persisted to the channel's history, false otherwise.
bool persistent = 10;
google.protobuf.BoolValue persistent = 10;
}

// A list of channel messages, usually a result of a list operation.
Expand Down
Loading

0 comments on commit 022eec8

Please sign in to comment.