Merge pull request #131 from mc-hamster/location

Add message locations
pull/132/head^2
Jm Casler 2022-03-25 22:29:56 -07:00 zatwierdzone przez GitHub
commit 1542d47362
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: 4AEE18F83AFDEB23
1 zmienionych plików z 39 dodań i 1 usunięć

Wyświetl plik

@ -706,7 +706,45 @@ message Data {
* Defaults to false. If true, then what is in the payload should be treated as an emoji like giving
* a message a heart or poop emoji.
*/
bool is_tapback = 8;
fixed32 emoji = 8;
/*
* Location structure
*/
Location location = 9;
}
/*
* Location of a waypoint to associate with a message
*/
message Location {
/*
* Id of the location
*/
uint32 id = 1;
/*
* latitude_i
*/
sfixed32 latitude_i = 2;
/*
* longitude_i
*/
sfixed32 longitude_i = 3;
/*
* Time the location is to expire (epoch)
*/
uint32 expire = 4;
/*
* If true, only allow the original sender to update the location.
*/
bool locked = 5;
}
/*