Add group call update to DataMessage
This commit is contained in:
@@ -227,6 +227,11 @@ message DataMessage {
|
||||
//}
|
||||
}
|
||||
|
||||
message GroupCallUpdate {
|
||||
// Currently just a sentinel message indicating that a client should
|
||||
// fetch updated group call state.
|
||||
}
|
||||
|
||||
enum ProtocolVersion {
|
||||
option allow_alias = true;
|
||||
|
||||
@@ -257,6 +262,7 @@ message DataMessage {
|
||||
optional Reaction reaction = 16;
|
||||
optional Delete delete = 17;
|
||||
repeated BodyRange bodyRanges = 18;
|
||||
optional GroupCallUpdate groupCallUpdate = 19;
|
||||
}
|
||||
|
||||
message NullMessage {
|
||||
|
3
ts/textsecure.d.ts
vendored
3
ts/textsecure.d.ts
vendored
@@ -576,6 +576,7 @@ export declare class DataMessageClass {
|
||||
reaction?: DataMessageClass.Reaction;
|
||||
delete?: DataMessageClass.Delete;
|
||||
bodyRanges?: Array<DataMessageClass.BodyRange>;
|
||||
groupCallUpdate?: DataMessageClass.GroupCallUpdate;
|
||||
}
|
||||
|
||||
// Note: we need to use namespaces to express nested classes in Typescript
|
||||
@@ -648,6 +649,8 @@ export declare namespace DataMessageClass {
|
||||
stickerId?: number;
|
||||
data?: AttachmentPointerClass;
|
||||
}
|
||||
|
||||
class GroupCallUpdate {}
|
||||
}
|
||||
|
||||
// Note: we need to use namespaces to express nested classes in Typescript
|
||||
|
Reference in New Issue
Block a user