Add unsupported/sse message export/import
This commit is contained in:
parent
c67a346218
commit
481928fa4f
7 changed files with 396 additions and 116 deletions
|
@ -77,6 +77,7 @@ message AccountData {
|
|||
bool hasSeenGroupStoryEducationSheet = 15;
|
||||
bool hasCompletedUsernameOnboarding = 16;
|
||||
PhoneNumberSharingMode phoneNumberSharingMode = 17;
|
||||
ChatStyle defaultChatStyle = 18;
|
||||
}
|
||||
|
||||
bytes profileKey = 1;
|
||||
|
@ -228,7 +229,7 @@ message Chat {
|
|||
uint64 muteUntilMs = 6;
|
||||
bool markedUnread = 7;
|
||||
bool dontNotifyForMentionsIfMuted = 8;
|
||||
FilePointer wallpaper = 9;
|
||||
ChatStyle style = 9;
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -725,6 +726,7 @@ message SimpleChatUpdate {
|
|||
BAD_DECRYPT = 9;
|
||||
PAYMENTS_ACTIVATED = 10;
|
||||
PAYMENT_ACTIVATION_REQUEST = 11;
|
||||
UNSUPPORTED_PROTOCOL_MESSAGE = 12;
|
||||
}
|
||||
|
||||
Type type = 1;
|
||||
|
@ -1008,3 +1010,79 @@ message StickerPackSticker {
|
|||
string emoji = 1;
|
||||
uint32 id = 2;
|
||||
}
|
||||
|
||||
|
||||
message ChatStyle {
|
||||
message Gradient {
|
||||
uint32 angle = 1; // degrees
|
||||
repeated uint32 colors = 2;
|
||||
repeated float positions = 3; // percent from 0 to 1
|
||||
}
|
||||
|
||||
message AutomaticBubbleColor {
|
||||
}
|
||||
|
||||
enum WallpaperPreset {
|
||||
UNKNOWN_WALLPAPER_PRESET = 0;
|
||||
SOLID_BLUSH = 1;
|
||||
SOLID_COPPER = 2;
|
||||
SOLID_DUST = 3;
|
||||
SOLID_CELADON = 4;
|
||||
SOLID_RAINFOREST = 5;
|
||||
SOLID_PACIFIC = 6;
|
||||
SOLID_FROST = 7;
|
||||
SOLID_NAVY = 8;
|
||||
SOLID_LILAC = 9;
|
||||
SOLID_PINK = 10;
|
||||
SOLID_EGGPLANT = 11;
|
||||
SOLID_SILVER = 12;
|
||||
GRADIENT_SUNSET = 13;
|
||||
GRADIENT_NOIR = 14;
|
||||
GRADIENT_HEATMAP = 15;
|
||||
GRADIENT_AQUA = 16;
|
||||
GRADIENT_IRIDESCENT = 17;
|
||||
GRADIENT_MONSTERA = 18;
|
||||
GRADIENT_BLISS = 19;
|
||||
GRADIENT_SKY = 20;
|
||||
GRADIENT_PEACH = 21;
|
||||
}
|
||||
|
||||
enum BubbleColorPreset {
|
||||
UNKNOWN_BUBBLE_COLOR_PRESET = 0;
|
||||
SOLID_ULTRAMARINE = 1;
|
||||
SOLID_CRIMSON = 2;
|
||||
SOLID_VERMILION = 3;
|
||||
SOLID_BURLAP = 4;
|
||||
SOLID_FOREST = 5;
|
||||
SOLID_WINTERGREEN = 6;
|
||||
SOLID_TEAL = 7;
|
||||
SOLID_BLUE = 8;
|
||||
SOLID_INDIGO = 9;
|
||||
SOLID_VIOLET = 10;
|
||||
SOLID_PLUM = 11;
|
||||
SOLID_TAUPE = 12;
|
||||
SOLID_STEEL = 13;
|
||||
GRADIENT_EMBER = 14;
|
||||
GRADIENT_MIDNIGHT = 15;
|
||||
GRADIENT_INFRARED = 16;
|
||||
GRADIENT_LAGOON = 17;
|
||||
GRADIENT_FLUORESCENT = 18;
|
||||
GRADIENT_BASIL = 19;
|
||||
GRADIENT_SUBLIME = 20;
|
||||
GRADIENT_SEA = 21;
|
||||
GRADIENT_TANGERINE = 22;
|
||||
}
|
||||
|
||||
oneof wallpaper {
|
||||
WallpaperPreset wallpaperPreset = 1;
|
||||
FilePointer wallpaperPhoto = 2;
|
||||
}
|
||||
|
||||
oneof bubbleColor {
|
||||
BubbleColorPreset bubbleColorPreset = 3;
|
||||
Gradient bubbleGradient = 4;
|
||||
uint32 bubbleSolidColor = 5;
|
||||
// Bubble setting is automatically determined based on the wallpaper setting.
|
||||
AutomaticBubbleColor autoBubbleColor = 6;
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue