]>
nmode's Git Repositories - signal-cli/blob - lib/src/main/java/org/asamk/signal/manager/api/Message.java
1 package org
.asamk
.signal
.manager
.api
;
4 import java
.util
.Optional
;
8 List
<String
> attachments
,
9 List
<Mention
> mentions
,
10 Optional
<Quote
> quote
,
11 Optional
<Sticker
> sticker
14 public record Mention(RecipientIdentifier
.Single recipient
, int start
, int length
) {}
16 public record Quote(long timestamp
, RecipientIdentifier
.Single author
, String message
, List
<Mention
> mentions
) {}
18 public record Sticker(byte[] packId
, int stickerId
) {}