discord-protos 1.2.309 → 1.2.310
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.
|
@@ -94,6 +94,10 @@ export interface UserData {
|
|
|
94
94
|
* @generated from protobuf field: optional discord_protos.users.v1.UserData.UserTypingIndicatorStyle typing_indicator_style = 19
|
|
95
95
|
*/
|
|
96
96
|
typingIndicatorStyle?: UserData_UserTypingIndicatorStyle;
|
|
97
|
+
/**
|
|
98
|
+
* @generated from protobuf field: bool disable_staff_discount = 20
|
|
99
|
+
*/
|
|
100
|
+
disableStaffDiscount: boolean;
|
|
97
101
|
}
|
|
98
102
|
/**
|
|
99
103
|
* @generated from protobuf message discord_protos.users.v1.UserData.LinkedUser
|
|
@@ -2932,7 +2932,8 @@ class UserData$Type extends runtime_4.MessageType {
|
|
|
2932
2932
|
{ no: 16, name: "country_data", kind: "message", T: () => exports.UserData_UserCountryData },
|
|
2933
2933
|
{ no: 17, name: "is_pending_required_action", kind: "scalar", T: 8 /*ScalarType.BOOL*/ },
|
|
2934
2934
|
{ no: 18, name: "anonymization_info", kind: "message", T: () => exports.UserData_AnonymizationInfo },
|
|
2935
|
-
{ no: 19, name: "typing_indicator_style", kind: "message", T: () => exports.UserData_UserTypingIndicatorStyle }
|
|
2935
|
+
{ no: 19, name: "typing_indicator_style", kind: "message", T: () => exports.UserData_UserTypingIndicatorStyle },
|
|
2936
|
+
{ no: 20, name: "disable_staff_discount", kind: "scalar", T: 8 /*ScalarType.BOOL*/ }
|
|
2936
2937
|
]);
|
|
2937
2938
|
}
|
|
2938
2939
|
create(value) {
|
|
@@ -2941,6 +2942,7 @@ class UserData$Type extends runtime_4.MessageType {
|
|
|
2941
2942
|
message.safetyFeatureLimits = {};
|
|
2942
2943
|
message.safetyFlags = {};
|
|
2943
2944
|
message.isPendingRequiredAction = false;
|
|
2945
|
+
message.disableStaffDiscount = false;
|
|
2944
2946
|
if (value !== undefined)
|
|
2945
2947
|
(0, runtime_3.reflectionMergePartial)(this, message, value);
|
|
2946
2948
|
return message;
|
|
@@ -3007,6 +3009,9 @@ class UserData$Type extends runtime_4.MessageType {
|
|
|
3007
3009
|
case /* optional discord_protos.users.v1.UserData.UserTypingIndicatorStyle typing_indicator_style */ 19:
|
|
3008
3010
|
message.typingIndicatorStyle = exports.UserData_UserTypingIndicatorStyle.internalBinaryRead(reader, reader.uint32(), options, message.typingIndicatorStyle);
|
|
3009
3011
|
break;
|
|
3012
|
+
case /* bool disable_staff_discount */ 20:
|
|
3013
|
+
message.disableStaffDiscount = reader.bool();
|
|
3014
|
+
break;
|
|
3010
3015
|
default:
|
|
3011
3016
|
let u = options.readUnknownField;
|
|
3012
3017
|
if (u === "throw")
|
|
@@ -3136,6 +3141,9 @@ class UserData$Type extends runtime_4.MessageType {
|
|
|
3136
3141
|
/* optional discord_protos.users.v1.UserData.UserTypingIndicatorStyle typing_indicator_style = 19; */
|
|
3137
3142
|
if (message.typingIndicatorStyle)
|
|
3138
3143
|
exports.UserData_UserTypingIndicatorStyle.internalBinaryWrite(message.typingIndicatorStyle, writer.tag(19, runtime_1.WireType.LengthDelimited).fork(), options).join();
|
|
3144
|
+
/* bool disable_staff_discount = 20; */
|
|
3145
|
+
if (message.disableStaffDiscount !== false)
|
|
3146
|
+
writer.tag(20, runtime_1.WireType.Varint).bool(message.disableStaffDiscount);
|
|
3139
3147
|
let u = options.writeUnknownFields;
|
|
3140
3148
|
if (u !== false)
|
|
3141
3149
|
(u == true ? runtime_2.UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|