discord-protos 1.2.294 → 1.2.296
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/discord_protos/users/v1/User.proto +2 -0
- package/discord_protos/users/v1/UserData.proto +33 -0
- package/dist/discord_protos/users/v1/User.d.ts +8 -0
- package/dist/discord_protos/users/v1/User.js +8 -0
- package/dist/discord_protos/users/v1/UserData.d.ts +126 -0
- package/dist/discord_protos/users/v1/UserData.js +197 -2
- package/package.json +1 -1
|
@@ -225,6 +225,8 @@ message User {
|
|
|
225
225
|
CLASSIFICATION_TYPE_SELF_BOTTING_SMITE = 3230;
|
|
226
226
|
CLASSIFICATION_TYPE_BOT_DELETE_CSAM_SMITE = 3231;
|
|
227
227
|
CLASSIFICATION_TYPE_BOT_DELETE_NCAIM_SMITE = 3232;
|
|
228
|
+
CLASSIFICATION_TYPE_BOT_DELETE_SPAM_SMITE = 3235;
|
|
229
|
+
CLASSIFICATION_TYPE_BOT_DELETE_SPAM_SILENT_SMITE = 3236;
|
|
228
230
|
CLASSIFICATION_TYPE_PRESENCE_IN_VIOLATIVE_GUILD_HIGH_RISK = 4000;
|
|
229
231
|
CLASSIFICATION_TYPE_PRESENCE_IN_VIOLATIVE_GUILD_MEDIUM_RISK = 4010;
|
|
230
232
|
CLASSIFICATION_TYPE_OWNER_OF_VIOLATIVE_GUILD_VERY_HIGH_RISK = 4100;
|
|
@@ -263,6 +263,8 @@ message UserData {
|
|
|
263
263
|
CLASSIFICATION_TYPE_SELF_BOTTING_SMITE = 3230;
|
|
264
264
|
CLASSIFICATION_TYPE_BOT_DELETE_CSAM_SMITE = 3231;
|
|
265
265
|
CLASSIFICATION_TYPE_BOT_DELETE_NCAIM_SMITE = 3232;
|
|
266
|
+
CLASSIFICATION_TYPE_BOT_DELETE_SPAM_SMITE = 3235;
|
|
267
|
+
CLASSIFICATION_TYPE_BOT_DELETE_SPAM_SILENT_SMITE = 3236;
|
|
266
268
|
CLASSIFICATION_TYPE_PRESENCE_IN_VIOLATIVE_GUILD_HIGH_RISK = 4000;
|
|
267
269
|
CLASSIFICATION_TYPE_PRESENCE_IN_VIOLATIVE_GUILD_MEDIUM_RISK = 4010;
|
|
268
270
|
CLASSIFICATION_TYPE_OWNER_OF_VIOLATIVE_GUILD_VERY_HIGH_RISK = 4100;
|
|
@@ -908,6 +910,36 @@ message UserData {
|
|
|
908
910
|
optional google.protobuf.UInt64Value anon_user_id = 2;
|
|
909
911
|
}
|
|
910
912
|
|
|
913
|
+
message TypingIndicatorEmoji {
|
|
914
|
+
oneof emoji {
|
|
915
|
+
fixed64 custom_emoji_id = 1;
|
|
916
|
+
string unicode_emoji = 2;
|
|
917
|
+
}
|
|
918
|
+
}
|
|
919
|
+
|
|
920
|
+
enum TypingIndicatorAnimation {
|
|
921
|
+
TYPING_INDICATOR_ANIMATION_UNSPECIFIED = 0;
|
|
922
|
+
TYPING_INDICATOR_ANIMATION_PULSE = 1;
|
|
923
|
+
TYPING_INDICATOR_ANIMATION_RING = 2;
|
|
924
|
+
TYPING_INDICATOR_ANIMATION_WAVE = 3;
|
|
925
|
+
}
|
|
926
|
+
|
|
927
|
+
enum TypingSuggestion {
|
|
928
|
+
TYPING_SUGGESTION_UNSPECIFIED = 0;
|
|
929
|
+
TYPING_SUGGESTION_YAPPING = 1;
|
|
930
|
+
TYPING_SUGGESTION_VENTING = 2;
|
|
931
|
+
TYPING_SUGGESTION_OVERSHARING = 3;
|
|
932
|
+
TYPING_SUGGESTION_BARKING = 4;
|
|
933
|
+
TYPING_SUGGESTION_BABBLING = 5;
|
|
934
|
+
TYPING_SUGGESTION_DAYDREAMING = 6;
|
|
935
|
+
}
|
|
936
|
+
|
|
937
|
+
message UserTypingIndicatorStyle {
|
|
938
|
+
repeated TypingIndicatorEmoji emojis = 1;
|
|
939
|
+
TypingIndicatorAnimation animation = 2;
|
|
940
|
+
TypingSuggestion typing_suggestion = 3;
|
|
941
|
+
}
|
|
942
|
+
|
|
911
943
|
map<fixed64, LinkedUser> linked_users = 1;
|
|
912
944
|
map<uint32, FeatureLimits> safety_feature_limits = 2;
|
|
913
945
|
map<uint32, SafetyFlag> safety_flags = 3;
|
|
@@ -926,4 +958,5 @@ message UserData {
|
|
|
926
958
|
optional UserCountryData country_data = 16;
|
|
927
959
|
bool is_pending_required_action = 17;
|
|
928
960
|
optional AnonymizationInfo anonymization_info = 18;
|
|
961
|
+
optional UserTypingIndicatorStyle typing_indicator_style = 19;
|
|
929
962
|
}
|
|
@@ -989,6 +989,14 @@ export declare enum User_ClassificationType {
|
|
|
989
989
|
* @generated from protobuf enum value: CLASSIFICATION_TYPE_BOT_DELETE_NCAIM_SMITE = 3232;
|
|
990
990
|
*/
|
|
991
991
|
BOT_DELETE_NCAIM_SMITE = 3232,
|
|
992
|
+
/**
|
|
993
|
+
* @generated from protobuf enum value: CLASSIFICATION_TYPE_BOT_DELETE_SPAM_SMITE = 3235;
|
|
994
|
+
*/
|
|
995
|
+
BOT_DELETE_SPAM_SMITE = 3235,
|
|
996
|
+
/**
|
|
997
|
+
* @generated from protobuf enum value: CLASSIFICATION_TYPE_BOT_DELETE_SPAM_SILENT_SMITE = 3236;
|
|
998
|
+
*/
|
|
999
|
+
BOT_DELETE_SPAM_SILENT_SMITE = 3236,
|
|
992
1000
|
/**
|
|
993
1001
|
* @generated from protobuf enum value: CLASSIFICATION_TYPE_PRESENCE_IN_VIOLATIVE_GUILD_HIGH_RISK = 4000;
|
|
994
1002
|
*/
|
|
@@ -739,6 +739,14 @@ var User_ClassificationType;
|
|
|
739
739
|
* @generated from protobuf enum value: CLASSIFICATION_TYPE_BOT_DELETE_NCAIM_SMITE = 3232;
|
|
740
740
|
*/
|
|
741
741
|
User_ClassificationType[User_ClassificationType["BOT_DELETE_NCAIM_SMITE"] = 3232] = "BOT_DELETE_NCAIM_SMITE";
|
|
742
|
+
/**
|
|
743
|
+
* @generated from protobuf enum value: CLASSIFICATION_TYPE_BOT_DELETE_SPAM_SMITE = 3235;
|
|
744
|
+
*/
|
|
745
|
+
User_ClassificationType[User_ClassificationType["BOT_DELETE_SPAM_SMITE"] = 3235] = "BOT_DELETE_SPAM_SMITE";
|
|
746
|
+
/**
|
|
747
|
+
* @generated from protobuf enum value: CLASSIFICATION_TYPE_BOT_DELETE_SPAM_SILENT_SMITE = 3236;
|
|
748
|
+
*/
|
|
749
|
+
User_ClassificationType[User_ClassificationType["BOT_DELETE_SPAM_SILENT_SMITE"] = 3236] = "BOT_DELETE_SPAM_SILENT_SMITE";
|
|
742
750
|
/**
|
|
743
751
|
* @generated from protobuf enum value: CLASSIFICATION_TYPE_PRESENCE_IN_VIOLATIVE_GUILD_HIGH_RISK = 4000;
|
|
744
752
|
*/
|
|
@@ -90,6 +90,10 @@ export interface UserData {
|
|
|
90
90
|
* @generated from protobuf field: optional discord_protos.users.v1.UserData.AnonymizationInfo anonymization_info = 18
|
|
91
91
|
*/
|
|
92
92
|
anonymizationInfo?: UserData_AnonymizationInfo;
|
|
93
|
+
/**
|
|
94
|
+
* @generated from protobuf field: optional discord_protos.users.v1.UserData.UserTypingIndicatorStyle typing_indicator_style = 19
|
|
95
|
+
*/
|
|
96
|
+
typingIndicatorStyle?: UserData_UserTypingIndicatorStyle;
|
|
93
97
|
}
|
|
94
98
|
/**
|
|
95
99
|
* @generated from protobuf message discord_protos.users.v1.UserData.LinkedUser
|
|
@@ -639,6 +643,46 @@ export interface UserData_AnonymizationInfo {
|
|
|
639
643
|
*/
|
|
640
644
|
anonUserId?: UInt64Value;
|
|
641
645
|
}
|
|
646
|
+
/**
|
|
647
|
+
* @generated from protobuf message discord_protos.users.v1.UserData.TypingIndicatorEmoji
|
|
648
|
+
*/
|
|
649
|
+
export interface UserData_TypingIndicatorEmoji {
|
|
650
|
+
/**
|
|
651
|
+
* @generated from protobuf oneof: emoji
|
|
652
|
+
*/
|
|
653
|
+
emoji: {
|
|
654
|
+
oneofKind: "customEmojiId";
|
|
655
|
+
/**
|
|
656
|
+
* @generated from protobuf field: fixed64 custom_emoji_id = 1
|
|
657
|
+
*/
|
|
658
|
+
customEmojiId: bigint;
|
|
659
|
+
} | {
|
|
660
|
+
oneofKind: "unicodeEmoji";
|
|
661
|
+
/**
|
|
662
|
+
* @generated from protobuf field: string unicode_emoji = 2
|
|
663
|
+
*/
|
|
664
|
+
unicodeEmoji: string;
|
|
665
|
+
} | {
|
|
666
|
+
oneofKind: undefined;
|
|
667
|
+
};
|
|
668
|
+
}
|
|
669
|
+
/**
|
|
670
|
+
* @generated from protobuf message discord_protos.users.v1.UserData.UserTypingIndicatorStyle
|
|
671
|
+
*/
|
|
672
|
+
export interface UserData_UserTypingIndicatorStyle {
|
|
673
|
+
/**
|
|
674
|
+
* @generated from protobuf field: repeated discord_protos.users.v1.UserData.TypingIndicatorEmoji emojis = 1
|
|
675
|
+
*/
|
|
676
|
+
emojis: UserData_TypingIndicatorEmoji[];
|
|
677
|
+
/**
|
|
678
|
+
* @generated from protobuf field: discord_protos.users.v1.UserData.TypingIndicatorAnimation animation = 2
|
|
679
|
+
*/
|
|
680
|
+
animation: UserData_TypingIndicatorAnimation;
|
|
681
|
+
/**
|
|
682
|
+
* @generated from protobuf field: discord_protos.users.v1.UserData.TypingSuggestion typing_suggestion = 3
|
|
683
|
+
*/
|
|
684
|
+
typingSuggestion: UserData_TypingSuggestion;
|
|
685
|
+
}
|
|
642
686
|
/**
|
|
643
687
|
* @generated from protobuf enum discord_protos.users.v1.UserData.UserLinkType
|
|
644
688
|
*/
|
|
@@ -1409,6 +1453,14 @@ export declare enum UserData_ClassificationType {
|
|
|
1409
1453
|
* @generated from protobuf enum value: CLASSIFICATION_TYPE_BOT_DELETE_NCAIM_SMITE = 3232;
|
|
1410
1454
|
*/
|
|
1411
1455
|
BOT_DELETE_NCAIM_SMITE = 3232,
|
|
1456
|
+
/**
|
|
1457
|
+
* @generated from protobuf enum value: CLASSIFICATION_TYPE_BOT_DELETE_SPAM_SMITE = 3235;
|
|
1458
|
+
*/
|
|
1459
|
+
BOT_DELETE_SPAM_SMITE = 3235,
|
|
1460
|
+
/**
|
|
1461
|
+
* @generated from protobuf enum value: CLASSIFICATION_TYPE_BOT_DELETE_SPAM_SILENT_SMITE = 3236;
|
|
1462
|
+
*/
|
|
1463
|
+
BOT_DELETE_SPAM_SILENT_SMITE = 3236,
|
|
1412
1464
|
/**
|
|
1413
1465
|
* @generated from protobuf enum value: CLASSIFICATION_TYPE_PRESENCE_IN_VIOLATIVE_GUILD_HIGH_RISK = 4000;
|
|
1414
1466
|
*/
|
|
@@ -3375,6 +3427,60 @@ export declare enum UserData_AnonymizationStatus {
|
|
|
3375
3427
|
*/
|
|
3376
3428
|
ANONYMOUS_USER = 3
|
|
3377
3429
|
}
|
|
3430
|
+
/**
|
|
3431
|
+
* @generated from protobuf enum discord_protos.users.v1.UserData.TypingIndicatorAnimation
|
|
3432
|
+
*/
|
|
3433
|
+
export declare enum UserData_TypingIndicatorAnimation {
|
|
3434
|
+
/**
|
|
3435
|
+
* @generated from protobuf enum value: TYPING_INDICATOR_ANIMATION_UNSPECIFIED = 0;
|
|
3436
|
+
*/
|
|
3437
|
+
UNSPECIFIED = 0,
|
|
3438
|
+
/**
|
|
3439
|
+
* @generated from protobuf enum value: TYPING_INDICATOR_ANIMATION_PULSE = 1;
|
|
3440
|
+
*/
|
|
3441
|
+
PULSE = 1,
|
|
3442
|
+
/**
|
|
3443
|
+
* @generated from protobuf enum value: TYPING_INDICATOR_ANIMATION_RING = 2;
|
|
3444
|
+
*/
|
|
3445
|
+
RING = 2,
|
|
3446
|
+
/**
|
|
3447
|
+
* @generated from protobuf enum value: TYPING_INDICATOR_ANIMATION_WAVE = 3;
|
|
3448
|
+
*/
|
|
3449
|
+
WAVE = 3
|
|
3450
|
+
}
|
|
3451
|
+
/**
|
|
3452
|
+
* @generated from protobuf enum discord_protos.users.v1.UserData.TypingSuggestion
|
|
3453
|
+
*/
|
|
3454
|
+
export declare enum UserData_TypingSuggestion {
|
|
3455
|
+
/**
|
|
3456
|
+
* @generated from protobuf enum value: TYPING_SUGGESTION_UNSPECIFIED = 0;
|
|
3457
|
+
*/
|
|
3458
|
+
UNSPECIFIED = 0,
|
|
3459
|
+
/**
|
|
3460
|
+
* @generated from protobuf enum value: TYPING_SUGGESTION_YAPPING = 1;
|
|
3461
|
+
*/
|
|
3462
|
+
YAPPING = 1,
|
|
3463
|
+
/**
|
|
3464
|
+
* @generated from protobuf enum value: TYPING_SUGGESTION_VENTING = 2;
|
|
3465
|
+
*/
|
|
3466
|
+
VENTING = 2,
|
|
3467
|
+
/**
|
|
3468
|
+
* @generated from protobuf enum value: TYPING_SUGGESTION_OVERSHARING = 3;
|
|
3469
|
+
*/
|
|
3470
|
+
OVERSHARING = 3,
|
|
3471
|
+
/**
|
|
3472
|
+
* @generated from protobuf enum value: TYPING_SUGGESTION_BARKING = 4;
|
|
3473
|
+
*/
|
|
3474
|
+
BARKING = 4,
|
|
3475
|
+
/**
|
|
3476
|
+
* @generated from protobuf enum value: TYPING_SUGGESTION_BABBLING = 5;
|
|
3477
|
+
*/
|
|
3478
|
+
BABBLING = 5,
|
|
3479
|
+
/**
|
|
3480
|
+
* @generated from protobuf enum value: TYPING_SUGGESTION_DAYDREAMING = 6;
|
|
3481
|
+
*/
|
|
3482
|
+
DAYDREAMING = 6
|
|
3483
|
+
}
|
|
3378
3484
|
declare class UserData$Type extends MessageType<UserData> {
|
|
3379
3485
|
constructor();
|
|
3380
3486
|
create(value?: PartialMessage<UserData>): UserData;
|
|
@@ -3711,4 +3817,24 @@ declare class UserData_AnonymizationInfo$Type extends MessageType<UserData_Anony
|
|
|
3711
3817
|
* @generated MessageType for protobuf message discord_protos.users.v1.UserData.AnonymizationInfo
|
|
3712
3818
|
*/
|
|
3713
3819
|
export declare const UserData_AnonymizationInfo: UserData_AnonymizationInfo$Type;
|
|
3820
|
+
declare class UserData_TypingIndicatorEmoji$Type extends MessageType<UserData_TypingIndicatorEmoji> {
|
|
3821
|
+
constructor();
|
|
3822
|
+
create(value?: PartialMessage<UserData_TypingIndicatorEmoji>): UserData_TypingIndicatorEmoji;
|
|
3823
|
+
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: UserData_TypingIndicatorEmoji): UserData_TypingIndicatorEmoji;
|
|
3824
|
+
internalBinaryWrite(message: UserData_TypingIndicatorEmoji, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
|
|
3825
|
+
}
|
|
3826
|
+
/**
|
|
3827
|
+
* @generated MessageType for protobuf message discord_protos.users.v1.UserData.TypingIndicatorEmoji
|
|
3828
|
+
*/
|
|
3829
|
+
export declare const UserData_TypingIndicatorEmoji: UserData_TypingIndicatorEmoji$Type;
|
|
3830
|
+
declare class UserData_UserTypingIndicatorStyle$Type extends MessageType<UserData_UserTypingIndicatorStyle> {
|
|
3831
|
+
constructor();
|
|
3832
|
+
create(value?: PartialMessage<UserData_UserTypingIndicatorStyle>): UserData_UserTypingIndicatorStyle;
|
|
3833
|
+
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: UserData_UserTypingIndicatorStyle): UserData_UserTypingIndicatorStyle;
|
|
3834
|
+
internalBinaryWrite(message: UserData_UserTypingIndicatorStyle, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
|
|
3835
|
+
}
|
|
3836
|
+
/**
|
|
3837
|
+
* @generated MessageType for protobuf message discord_protos.users.v1.UserData.UserTypingIndicatorStyle
|
|
3838
|
+
*/
|
|
3839
|
+
export declare const UserData_UserTypingIndicatorStyle: UserData_UserTypingIndicatorStyle$Type;
|
|
3714
3840
|
export {};
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
3
|
+
exports.UserData_UserCountryData = exports.UserData_UserBadges = exports.UserData_Badge = exports.UserData_AprilFools2026Badge = exports.UserData_BadgeCommon = exports.UserData_Perks = exports.UserData_PerkConfig = exports.UserData_PerkConfigIncreasedGuildLimit = exports.UserData_PerkConfigIncreasedFileUploadSize = exports.UserData_AgeAssuranceData = exports.UserData_RestrictedSchedule = exports.UserData_ScheduleRule = exports.UserData_TimeOfDay = exports.UserData_StoreCountry = exports.UserData_DisplayNameStyles = exports.UserData_PremiumState = exports.UserData_SafetyState = exports.UserData_BannedState = exports.UserData_TempBannedState = exports.UserData_DeferredActionState = exports.UserData_RestrictedState = exports.UserData_NormalState = exports.UserData_UserCollectibles = exports.UserData_UserNameplate = exports.UserData_CrossPlatformRestriction = exports.UserData_UserPrimaryGuild = exports.UserData_QuestMetadata = exports.UserData_SafetyFlag = exports.UserData_FeatureLimits = exports.UserData_RateLimitData = exports.UserData_LinkedUser = exports.UserData = exports.UserData_TypingSuggestion = exports.UserData_TypingIndicatorAnimation = exports.UserData_AnonymizationStatus = exports.UserData_PerkSource = exports.UserData_AgeAssuranceGroup = exports.UserData_AgeAssuranceVendor = exports.UserData_AgeAssuranceMethod = exports.UserData_DayOfWeek = exports.UserData_DisplayNameEffect = exports.UserData_DisplayNameFont = exports.UserData_PremiumSubscriptionGroupRole = exports.UserData_PremiumSubscriptionType = exports.UserData_PremiumSource = exports.UserData_SafetyAnnotations = exports.UserData_SafetyStateReason = exports.UserData_ClassificationType = exports.UserData_UserLinkStatus = exports.UserData_UserLinkType = void 0;
|
|
4
|
+
exports.UserData_UserTypingIndicatorStyle = exports.UserData_TypingIndicatorEmoji = exports.UserData_AnonymizationInfo = void 0;
|
|
4
5
|
const runtime_1 = require("@protobuf-ts/runtime");
|
|
5
6
|
const runtime_2 = require("@protobuf-ts/runtime");
|
|
6
7
|
const runtime_3 = require("@protobuf-ts/runtime");
|
|
@@ -782,6 +783,14 @@ var UserData_ClassificationType;
|
|
|
782
783
|
* @generated from protobuf enum value: CLASSIFICATION_TYPE_BOT_DELETE_NCAIM_SMITE = 3232;
|
|
783
784
|
*/
|
|
784
785
|
UserData_ClassificationType[UserData_ClassificationType["BOT_DELETE_NCAIM_SMITE"] = 3232] = "BOT_DELETE_NCAIM_SMITE";
|
|
786
|
+
/**
|
|
787
|
+
* @generated from protobuf enum value: CLASSIFICATION_TYPE_BOT_DELETE_SPAM_SMITE = 3235;
|
|
788
|
+
*/
|
|
789
|
+
UserData_ClassificationType[UserData_ClassificationType["BOT_DELETE_SPAM_SMITE"] = 3235] = "BOT_DELETE_SPAM_SMITE";
|
|
790
|
+
/**
|
|
791
|
+
* @generated from protobuf enum value: CLASSIFICATION_TYPE_BOT_DELETE_SPAM_SILENT_SMITE = 3236;
|
|
792
|
+
*/
|
|
793
|
+
UserData_ClassificationType[UserData_ClassificationType["BOT_DELETE_SPAM_SILENT_SMITE"] = 3236] = "BOT_DELETE_SPAM_SILENT_SMITE";
|
|
785
794
|
/**
|
|
786
795
|
* @generated from protobuf enum value: CLASSIFICATION_TYPE_PRESENCE_IN_VIOLATIVE_GUILD_HIGH_RISK = 4000;
|
|
787
796
|
*/
|
|
@@ -2761,6 +2770,62 @@ var UserData_AnonymizationStatus;
|
|
|
2761
2770
|
*/
|
|
2762
2771
|
UserData_AnonymizationStatus[UserData_AnonymizationStatus["ANONYMOUS_USER"] = 3] = "ANONYMOUS_USER";
|
|
2763
2772
|
})(UserData_AnonymizationStatus || (exports.UserData_AnonymizationStatus = UserData_AnonymizationStatus = {}));
|
|
2773
|
+
/**
|
|
2774
|
+
* @generated from protobuf enum discord_protos.users.v1.UserData.TypingIndicatorAnimation
|
|
2775
|
+
*/
|
|
2776
|
+
var UserData_TypingIndicatorAnimation;
|
|
2777
|
+
(function (UserData_TypingIndicatorAnimation) {
|
|
2778
|
+
/**
|
|
2779
|
+
* @generated from protobuf enum value: TYPING_INDICATOR_ANIMATION_UNSPECIFIED = 0;
|
|
2780
|
+
*/
|
|
2781
|
+
UserData_TypingIndicatorAnimation[UserData_TypingIndicatorAnimation["UNSPECIFIED"] = 0] = "UNSPECIFIED";
|
|
2782
|
+
/**
|
|
2783
|
+
* @generated from protobuf enum value: TYPING_INDICATOR_ANIMATION_PULSE = 1;
|
|
2784
|
+
*/
|
|
2785
|
+
UserData_TypingIndicatorAnimation[UserData_TypingIndicatorAnimation["PULSE"] = 1] = "PULSE";
|
|
2786
|
+
/**
|
|
2787
|
+
* @generated from protobuf enum value: TYPING_INDICATOR_ANIMATION_RING = 2;
|
|
2788
|
+
*/
|
|
2789
|
+
UserData_TypingIndicatorAnimation[UserData_TypingIndicatorAnimation["RING"] = 2] = "RING";
|
|
2790
|
+
/**
|
|
2791
|
+
* @generated from protobuf enum value: TYPING_INDICATOR_ANIMATION_WAVE = 3;
|
|
2792
|
+
*/
|
|
2793
|
+
UserData_TypingIndicatorAnimation[UserData_TypingIndicatorAnimation["WAVE"] = 3] = "WAVE";
|
|
2794
|
+
})(UserData_TypingIndicatorAnimation || (exports.UserData_TypingIndicatorAnimation = UserData_TypingIndicatorAnimation = {}));
|
|
2795
|
+
/**
|
|
2796
|
+
* @generated from protobuf enum discord_protos.users.v1.UserData.TypingSuggestion
|
|
2797
|
+
*/
|
|
2798
|
+
var UserData_TypingSuggestion;
|
|
2799
|
+
(function (UserData_TypingSuggestion) {
|
|
2800
|
+
/**
|
|
2801
|
+
* @generated from protobuf enum value: TYPING_SUGGESTION_UNSPECIFIED = 0;
|
|
2802
|
+
*/
|
|
2803
|
+
UserData_TypingSuggestion[UserData_TypingSuggestion["UNSPECIFIED"] = 0] = "UNSPECIFIED";
|
|
2804
|
+
/**
|
|
2805
|
+
* @generated from protobuf enum value: TYPING_SUGGESTION_YAPPING = 1;
|
|
2806
|
+
*/
|
|
2807
|
+
UserData_TypingSuggestion[UserData_TypingSuggestion["YAPPING"] = 1] = "YAPPING";
|
|
2808
|
+
/**
|
|
2809
|
+
* @generated from protobuf enum value: TYPING_SUGGESTION_VENTING = 2;
|
|
2810
|
+
*/
|
|
2811
|
+
UserData_TypingSuggestion[UserData_TypingSuggestion["VENTING"] = 2] = "VENTING";
|
|
2812
|
+
/**
|
|
2813
|
+
* @generated from protobuf enum value: TYPING_SUGGESTION_OVERSHARING = 3;
|
|
2814
|
+
*/
|
|
2815
|
+
UserData_TypingSuggestion[UserData_TypingSuggestion["OVERSHARING"] = 3] = "OVERSHARING";
|
|
2816
|
+
/**
|
|
2817
|
+
* @generated from protobuf enum value: TYPING_SUGGESTION_BARKING = 4;
|
|
2818
|
+
*/
|
|
2819
|
+
UserData_TypingSuggestion[UserData_TypingSuggestion["BARKING"] = 4] = "BARKING";
|
|
2820
|
+
/**
|
|
2821
|
+
* @generated from protobuf enum value: TYPING_SUGGESTION_BABBLING = 5;
|
|
2822
|
+
*/
|
|
2823
|
+
UserData_TypingSuggestion[UserData_TypingSuggestion["BABBLING"] = 5] = "BABBLING";
|
|
2824
|
+
/**
|
|
2825
|
+
* @generated from protobuf enum value: TYPING_SUGGESTION_DAYDREAMING = 6;
|
|
2826
|
+
*/
|
|
2827
|
+
UserData_TypingSuggestion[UserData_TypingSuggestion["DAYDREAMING"] = 6] = "DAYDREAMING";
|
|
2828
|
+
})(UserData_TypingSuggestion || (exports.UserData_TypingSuggestion = UserData_TypingSuggestion = {}));
|
|
2764
2829
|
// @generated message type with reflection information, may provide speed optimized methods
|
|
2765
2830
|
class UserData$Type extends runtime_4.MessageType {
|
|
2766
2831
|
constructor() {
|
|
@@ -2782,7 +2847,8 @@ class UserData$Type extends runtime_4.MessageType {
|
|
|
2782
2847
|
{ no: 15, name: "badges", kind: "message", T: () => exports.UserData_UserBadges },
|
|
2783
2848
|
{ no: 16, name: "country_data", kind: "message", T: () => exports.UserData_UserCountryData },
|
|
2784
2849
|
{ no: 17, name: "is_pending_required_action", kind: "scalar", T: 8 /*ScalarType.BOOL*/ },
|
|
2785
|
-
{ no: 18, name: "anonymization_info", kind: "message", T: () => exports.UserData_AnonymizationInfo }
|
|
2850
|
+
{ no: 18, name: "anonymization_info", kind: "message", T: () => exports.UserData_AnonymizationInfo },
|
|
2851
|
+
{ no: 19, name: "typing_indicator_style", kind: "message", T: () => exports.UserData_UserTypingIndicatorStyle }
|
|
2786
2852
|
]);
|
|
2787
2853
|
}
|
|
2788
2854
|
create(value) {
|
|
@@ -2854,6 +2920,9 @@ class UserData$Type extends runtime_4.MessageType {
|
|
|
2854
2920
|
case /* optional discord_protos.users.v1.UserData.AnonymizationInfo anonymization_info */ 18:
|
|
2855
2921
|
message.anonymizationInfo = exports.UserData_AnonymizationInfo.internalBinaryRead(reader, reader.uint32(), options, message.anonymizationInfo);
|
|
2856
2922
|
break;
|
|
2923
|
+
case /* optional discord_protos.users.v1.UserData.UserTypingIndicatorStyle typing_indicator_style */ 19:
|
|
2924
|
+
message.typingIndicatorStyle = exports.UserData_UserTypingIndicatorStyle.internalBinaryRead(reader, reader.uint32(), options, message.typingIndicatorStyle);
|
|
2925
|
+
break;
|
|
2857
2926
|
default:
|
|
2858
2927
|
let u = options.readUnknownField;
|
|
2859
2928
|
if (u === "throw")
|
|
@@ -2980,6 +3049,9 @@ class UserData$Type extends runtime_4.MessageType {
|
|
|
2980
3049
|
/* optional discord_protos.users.v1.UserData.AnonymizationInfo anonymization_info = 18; */
|
|
2981
3050
|
if (message.anonymizationInfo)
|
|
2982
3051
|
exports.UserData_AnonymizationInfo.internalBinaryWrite(message.anonymizationInfo, writer.tag(18, runtime_1.WireType.LengthDelimited).fork(), options).join();
|
|
3052
|
+
/* optional discord_protos.users.v1.UserData.UserTypingIndicatorStyle typing_indicator_style = 19; */
|
|
3053
|
+
if (message.typingIndicatorStyle)
|
|
3054
|
+
exports.UserData_UserTypingIndicatorStyle.internalBinaryWrite(message.typingIndicatorStyle, writer.tag(19, runtime_1.WireType.LengthDelimited).fork(), options).join();
|
|
2983
3055
|
let u = options.writeUnknownFields;
|
|
2984
3056
|
if (u !== false)
|
|
2985
3057
|
(u == true ? runtime_2.UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
@@ -5032,3 +5104,126 @@ class UserData_AnonymizationInfo$Type extends runtime_4.MessageType {
|
|
|
5032
5104
|
* @generated MessageType for protobuf message discord_protos.users.v1.UserData.AnonymizationInfo
|
|
5033
5105
|
*/
|
|
5034
5106
|
exports.UserData_AnonymizationInfo = new UserData_AnonymizationInfo$Type();
|
|
5107
|
+
// @generated message type with reflection information, may provide speed optimized methods
|
|
5108
|
+
class UserData_TypingIndicatorEmoji$Type extends runtime_4.MessageType {
|
|
5109
|
+
constructor() {
|
|
5110
|
+
super("discord_protos.users.v1.UserData.TypingIndicatorEmoji", [
|
|
5111
|
+
{ no: 1, name: "custom_emoji_id", kind: "scalar", oneof: "emoji", T: 6 /*ScalarType.FIXED64*/, L: 0 /*LongType.BIGINT*/ },
|
|
5112
|
+
{ no: 2, name: "unicode_emoji", kind: "scalar", oneof: "emoji", T: 9 /*ScalarType.STRING*/ }
|
|
5113
|
+
]);
|
|
5114
|
+
}
|
|
5115
|
+
create(value) {
|
|
5116
|
+
const message = globalThis.Object.create((this.messagePrototype));
|
|
5117
|
+
message.emoji = { oneofKind: undefined };
|
|
5118
|
+
if (value !== undefined)
|
|
5119
|
+
(0, runtime_3.reflectionMergePartial)(this, message, value);
|
|
5120
|
+
return message;
|
|
5121
|
+
}
|
|
5122
|
+
internalBinaryRead(reader, length, options, target) {
|
|
5123
|
+
let message = target ?? this.create(), end = reader.pos + length;
|
|
5124
|
+
while (reader.pos < end) {
|
|
5125
|
+
let [fieldNo, wireType] = reader.tag();
|
|
5126
|
+
switch (fieldNo) {
|
|
5127
|
+
case /* fixed64 custom_emoji_id */ 1:
|
|
5128
|
+
message.emoji = {
|
|
5129
|
+
oneofKind: "customEmojiId",
|
|
5130
|
+
customEmojiId: reader.fixed64().toBigInt()
|
|
5131
|
+
};
|
|
5132
|
+
break;
|
|
5133
|
+
case /* string unicode_emoji */ 2:
|
|
5134
|
+
message.emoji = {
|
|
5135
|
+
oneofKind: "unicodeEmoji",
|
|
5136
|
+
unicodeEmoji: reader.string()
|
|
5137
|
+
};
|
|
5138
|
+
break;
|
|
5139
|
+
default:
|
|
5140
|
+
let u = options.readUnknownField;
|
|
5141
|
+
if (u === "throw")
|
|
5142
|
+
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
5143
|
+
let d = reader.skip(wireType);
|
|
5144
|
+
if (u !== false)
|
|
5145
|
+
(u === true ? runtime_2.UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
5146
|
+
}
|
|
5147
|
+
}
|
|
5148
|
+
return message;
|
|
5149
|
+
}
|
|
5150
|
+
internalBinaryWrite(message, writer, options) {
|
|
5151
|
+
/* fixed64 custom_emoji_id = 1; */
|
|
5152
|
+
if (message.emoji.oneofKind === "customEmojiId")
|
|
5153
|
+
writer.tag(1, runtime_1.WireType.Bit64).fixed64(message.emoji.customEmojiId);
|
|
5154
|
+
/* string unicode_emoji = 2; */
|
|
5155
|
+
if (message.emoji.oneofKind === "unicodeEmoji")
|
|
5156
|
+
writer.tag(2, runtime_1.WireType.LengthDelimited).string(message.emoji.unicodeEmoji);
|
|
5157
|
+
let u = options.writeUnknownFields;
|
|
5158
|
+
if (u !== false)
|
|
5159
|
+
(u == true ? runtime_2.UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
5160
|
+
return writer;
|
|
5161
|
+
}
|
|
5162
|
+
}
|
|
5163
|
+
/**
|
|
5164
|
+
* @generated MessageType for protobuf message discord_protos.users.v1.UserData.TypingIndicatorEmoji
|
|
5165
|
+
*/
|
|
5166
|
+
exports.UserData_TypingIndicatorEmoji = new UserData_TypingIndicatorEmoji$Type();
|
|
5167
|
+
// @generated message type with reflection information, may provide speed optimized methods
|
|
5168
|
+
class UserData_UserTypingIndicatorStyle$Type extends runtime_4.MessageType {
|
|
5169
|
+
constructor() {
|
|
5170
|
+
super("discord_protos.users.v1.UserData.UserTypingIndicatorStyle", [
|
|
5171
|
+
{ no: 1, name: "emojis", kind: "message", repeat: 2 /*RepeatType.UNPACKED*/, T: () => exports.UserData_TypingIndicatorEmoji },
|
|
5172
|
+
{ no: 2, name: "animation", kind: "enum", T: () => ["discord_protos.users.v1.UserData.TypingIndicatorAnimation", UserData_TypingIndicatorAnimation, "TYPING_INDICATOR_ANIMATION_"] },
|
|
5173
|
+
{ no: 3, name: "typing_suggestion", kind: "enum", T: () => ["discord_protos.users.v1.UserData.TypingSuggestion", UserData_TypingSuggestion, "TYPING_SUGGESTION_"] }
|
|
5174
|
+
]);
|
|
5175
|
+
}
|
|
5176
|
+
create(value) {
|
|
5177
|
+
const message = globalThis.Object.create((this.messagePrototype));
|
|
5178
|
+
message.emojis = [];
|
|
5179
|
+
message.animation = 0;
|
|
5180
|
+
message.typingSuggestion = 0;
|
|
5181
|
+
if (value !== undefined)
|
|
5182
|
+
(0, runtime_3.reflectionMergePartial)(this, message, value);
|
|
5183
|
+
return message;
|
|
5184
|
+
}
|
|
5185
|
+
internalBinaryRead(reader, length, options, target) {
|
|
5186
|
+
let message = target ?? this.create(), end = reader.pos + length;
|
|
5187
|
+
while (reader.pos < end) {
|
|
5188
|
+
let [fieldNo, wireType] = reader.tag();
|
|
5189
|
+
switch (fieldNo) {
|
|
5190
|
+
case /* repeated discord_protos.users.v1.UserData.TypingIndicatorEmoji emojis */ 1:
|
|
5191
|
+
message.emojis.push(exports.UserData_TypingIndicatorEmoji.internalBinaryRead(reader, reader.uint32(), options));
|
|
5192
|
+
break;
|
|
5193
|
+
case /* discord_protos.users.v1.UserData.TypingIndicatorAnimation animation */ 2:
|
|
5194
|
+
message.animation = reader.int32();
|
|
5195
|
+
break;
|
|
5196
|
+
case /* discord_protos.users.v1.UserData.TypingSuggestion typing_suggestion */ 3:
|
|
5197
|
+
message.typingSuggestion = reader.int32();
|
|
5198
|
+
break;
|
|
5199
|
+
default:
|
|
5200
|
+
let u = options.readUnknownField;
|
|
5201
|
+
if (u === "throw")
|
|
5202
|
+
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
5203
|
+
let d = reader.skip(wireType);
|
|
5204
|
+
if (u !== false)
|
|
5205
|
+
(u === true ? runtime_2.UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
5206
|
+
}
|
|
5207
|
+
}
|
|
5208
|
+
return message;
|
|
5209
|
+
}
|
|
5210
|
+
internalBinaryWrite(message, writer, options) {
|
|
5211
|
+
/* repeated discord_protos.users.v1.UserData.TypingIndicatorEmoji emojis = 1; */
|
|
5212
|
+
for (let i = 0; i < message.emojis.length; i++)
|
|
5213
|
+
exports.UserData_TypingIndicatorEmoji.internalBinaryWrite(message.emojis[i], writer.tag(1, runtime_1.WireType.LengthDelimited).fork(), options).join();
|
|
5214
|
+
/* discord_protos.users.v1.UserData.TypingIndicatorAnimation animation = 2; */
|
|
5215
|
+
if (message.animation !== 0)
|
|
5216
|
+
writer.tag(2, runtime_1.WireType.Varint).int32(message.animation);
|
|
5217
|
+
/* discord_protos.users.v1.UserData.TypingSuggestion typing_suggestion = 3; */
|
|
5218
|
+
if (message.typingSuggestion !== 0)
|
|
5219
|
+
writer.tag(3, runtime_1.WireType.Varint).int32(message.typingSuggestion);
|
|
5220
|
+
let u = options.writeUnknownFields;
|
|
5221
|
+
if (u !== false)
|
|
5222
|
+
(u == true ? runtime_2.UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
5223
|
+
return writer;
|
|
5224
|
+
}
|
|
5225
|
+
}
|
|
5226
|
+
/**
|
|
5227
|
+
* @generated MessageType for protobuf message discord_protos.users.v1.UserData.UserTypingIndicatorStyle
|
|
5228
|
+
*/
|
|
5229
|
+
exports.UserData_UserTypingIndicatorStyle = new UserData_UserTypingIndicatorStyle$Type();
|