2 Star 0 Fork 0

mirrors_facebook/messaging_schemas

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
transport_event.proto 726 Bytes
一键复制 编辑 原始数据 按行查看 历史
// Copyright (c) Meta Platforms, Inc. and affiliates.
// This source code is licensed under the BSD 3-Clause License found in the
// LICENSE file in the root directory of this source tree.
syntax = "proto2";
message TransportEvent {
message Placeholder {
enum Type {
DECRYPTION_FAILURE = 1;
UNAVAILABLE_MESSAGE = 2;
}
optional Type type = 1;
}
message Event {
message DeviceChange {
enum Type {
ADDED = 1;
REMOVED = 2;
REPLACED = 3;
}
optional Type type = 1;
optional string device_name = 2;
}
oneof event {
DeviceChange device_change = 1;
}
}
oneof content {
Placeholder placeholder = 1;
Event event = 2;
}
}
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/mirrors_facebook/messaging_schemas.git
[email protected]:mirrors_facebook/messaging_schemas.git
mirrors_facebook
messaging_schemas
messaging_schemas
main

搜索帮助