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