1syntax = "proto2"; 2 3option java_package = "com.android.dialer.rtt"; 4option java_multiple_files = true; 5 6 7package com.android.dialer.rtt; 8 9// RTT transcript which contains chat history of a RTT call. 10message RttTranscript { 11 // Unique ID used for database. 12 optional string id = 1; 13 // Phone number of RTT call. 14 optional string number = 2; 15 // Timestamp when the RTT call is created. 16 optional int64 timestamp = 3; 17 // Chat messages. 18 repeated RttTranscriptMessage messages = 4; 19} 20 21// Single chat message inside a RTT call. 22message RttTranscriptMessage { 23 optional string content = 1; 24 optional int64 timestamp = 2; 25 // Whether this message is sent from local device or received from remote 26 // party. 27 optional bool is_remote = 3; 28 optional bool is_finished = 4; 29}