Support for receiving formatted messages
Co-authored-by: Alvaro Carrasco <alvaro@signal.org>
This commit is contained in:
parent
d34d187f1e
commit
d9d820e72a
72 changed files with 3421 additions and 858 deletions
|
@ -307,12 +307,22 @@ message DataMessage {
|
|||
}
|
||||
|
||||
message BodyRange {
|
||||
optional uint32 start = 1;
|
||||
enum Style {
|
||||
NONE = 0;
|
||||
BOLD = 1;
|
||||
ITALIC = 2;
|
||||
SPOILER = 3;
|
||||
STRIKETHROUGH = 4;
|
||||
MONOSPACE = 5;
|
||||
}
|
||||
|
||||
optional uint32 start = 1;
|
||||
optional uint32 length = 2;
|
||||
|
||||
// oneof associatedValue {
|
||||
optional string mentionUuid = 3;
|
||||
//}
|
||||
|
||||
oneof associatedValue {
|
||||
string mentionUuid = 3;
|
||||
Style style = 4;
|
||||
}
|
||||
}
|
||||
|
||||
message GroupCallUpdate {
|
||||
|
@ -399,6 +409,7 @@ message StoryMessage {
|
|||
TextAttachment textAttachment = 4;
|
||||
}
|
||||
optional bool allowsReplies = 5;
|
||||
repeated BodyRange bodyRanges = 6;
|
||||
}
|
||||
|
||||
message TextAttachment {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue