mirror of
https://github.com/status-im/status-go.git
synced 2025-01-10 14:47:06 +00:00
57b4036da3
* rm params * use url data proto * feat: community channel and user data parsing; improve testing for urls --------- Co-authored-by: MishkaRogachev <mishkarogachev@gmail.com>
33 lines
542 B
Protocol Buffer
33 lines
542 B
Protocol Buffer
syntax = "proto3";
|
|
|
|
option go_package = "./;protobuf";
|
|
package protobuf;
|
|
|
|
message Community {
|
|
string display_name = 1;
|
|
string description = 2;
|
|
uint32 members_count = 3;
|
|
string color = 4;
|
|
repeated uint32 tag_indices = 5;
|
|
}
|
|
|
|
message Channel {
|
|
string display_name = 1;
|
|
string description = 2;
|
|
string emoji = 3;
|
|
string color = 4;
|
|
Community community = 5;
|
|
string uuid = 6;
|
|
}
|
|
|
|
message User {
|
|
string display_name = 1;
|
|
string description = 2;
|
|
string color = 3;
|
|
}
|
|
|
|
message URLData {
|
|
// Community, Channel, or User
|
|
bytes content = 1;
|
|
}
|