mirror of
https://github.com/status-im/wakuconnect-chat-sdk.git
synced 2025-02-06 17:23:42 +00:00
de6837b0f5
* Downgrade to yarn v1 * Rename status-communities to status-core * Rename chat-sdk to status-react * Rename packages in examples * Update readme * Remove changelog * Add extensions recommendations * Update gitignore * Rename package imports
26 lines
596 B
Protocol Buffer
26 lines
596 B
Protocol Buffer
syntax = "proto3";
|
|
|
|
package communities.v1;
|
|
|
|
enum MessageType {
|
|
MESSAGE_TYPE_UNKNOWN_UNSPECIFIED = 0;
|
|
MESSAGE_TYPE_ONE_TO_ONE = 1;
|
|
MESSAGE_TYPE_MESSAGE_TYPE_PUBLIC_GROUP = 2;
|
|
MESSAGE_TYPE_PRIVATE_GROUP = 3;
|
|
// Only local
|
|
MESSAGE_TYPE_SYSTEM_MESSAGE_PRIVATE_GROUP = 4;
|
|
MESSAGE_TYPE_COMMUNITY_CHAT = 5;
|
|
// Only local
|
|
MESSAGE_TYPE_SYSTEM_MESSAGE_GAP = 6;
|
|
}
|
|
|
|
enum ImageType {
|
|
IMAGE_TYPE_UNKNOWN_UNSPECIFIED = 0;
|
|
|
|
// Raster image files is payload data that can be read as a raster image
|
|
IMAGE_TYPE_PNG = 1;
|
|
IMAGE_TYPE_JPEG = 2;
|
|
IMAGE_TYPE_WEBP = 3;
|
|
IMAGE_TYPE_GIF = 4;
|
|
}
|