mirror of
https://github.com/AsamK/signal-cli
synced 2025-09-02 12:30:39 +00:00
18 lines
510 B
Java
18 lines
510 B
Java
package org.asamk.signal.json;
|
|
|
|
import java.util.UUID;
|
|
import org.whispersystems.signalservice.api.messages.SignalServiceDataMessage;
|
|
|
|
public class JsonMention {
|
|
|
|
UUID uuid; // If possible, it would be nice to resolve this into their phone-number/name. Same for plain-text output
|
|
int start;
|
|
int length;
|
|
|
|
JsonMention(SignalServiceDataMessage.Mention mention){
|
|
this.uuid = mention.getUuid();
|
|
this.start = mention.getStart();
|
|
this.length = mention.getLength();
|
|
}
|
|
|
|
}
|