Import/export gift badges, other fields
This commit is contained in:
parent
af1c593fef
commit
e6b62001d3
10 changed files with 536 additions and 55 deletions
|
@ -349,6 +349,7 @@ message ChatItem {
|
|||
RemoteDeletedMessage remoteDeletedMessage = 14;
|
||||
ChatUpdateMessage updateMessage = 15;
|
||||
PaymentNotification paymentNotification = 16;
|
||||
GiftBadge giftBadge = 17;
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -439,6 +440,18 @@ message PaymentNotification {
|
|||
|
||||
}
|
||||
|
||||
message GiftBadge {
|
||||
enum State {
|
||||
UNOPENED = 0;
|
||||
OPENED = 1;
|
||||
REDEEMED = 2;
|
||||
FAILED = 3;
|
||||
}
|
||||
|
||||
bytes receiptCredentialPresentation = 1;
|
||||
State state = 2;
|
||||
}
|
||||
|
||||
message ContactAttachment {
|
||||
message Name {
|
||||
optional string givenName = 1;
|
||||
|
@ -1114,4 +1127,4 @@ message ChatStyle {
|
|||
// Bubble setting is automatically determined based on the wallpaper setting.
|
||||
AutomaticBubbleColor autoBubbleColor = 6;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -195,6 +195,7 @@ message AccountRecord {
|
|||
optional bytes subscriberId = 21;
|
||||
optional string subscriberCurrencyCode = 22;
|
||||
optional bool displayBadgesOnProfile = 23;
|
||||
optional bool donorSubscriptionManuallyCancelled = 24;
|
||||
optional bool keepMutedChatsArchived = 25;
|
||||
optional bool hasSetMyStoriesPrivacy = 26;
|
||||
optional bool hasViewedOnboardingStory = 27;
|
||||
|
@ -202,12 +203,13 @@ message AccountRecord {
|
|||
optional bool storiesDisabled = 29;
|
||||
optional OptionalBool storyViewReceiptsEnabled = 30;
|
||||
reserved 31; // hasReadOnboardingStory
|
||||
reserved 32; // hasSeenGroupStoryEducationSheet
|
||||
optional bool hasSeenGroupStoryEducationSheet = 32;
|
||||
optional string username = 33;
|
||||
optional bool hasCompletedUsernameOnboarding = 34;
|
||||
optional UsernameLink usernameLink = 35;
|
||||
optional bytes backupsSubscriberId = 36;
|
||||
optional string backupsSubscriberCurrencyCode = 37;
|
||||
optional bool backupsSubscriptionManuallyCancelled = 38;
|
||||
}
|
||||
|
||||
message StoryDistributionListRecord {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue