Created
November 1, 2017 02:13
-
-
Save hchasestevens/f5d5809c498a7d58d45c25383089cf68 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| syntax = "proto3"; | |
| package im; | |
| enum Client { | |
| CLIENT_UNKNOWN = 0; | |
| CLIENT_NATIVE_APP = 1; | |
| CLIENT_WEB_APP = 2; | |
| CLIENT_API = 3; | |
| } | |
| message User { | |
| uint64 id = 1; | |
| string screen_name = 2; | |
| } | |
| message InstantMessage { | |
| uint64 timestamp = 1; | |
| Client client = 2; | |
| fixed32 sender_ip = 3; | |
| User sender = 4; | |
| User recipient = 5; | |
| string message = 6; | |
| repeated bytes image_attachments = 7; | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment