librespot/protocol/proto/identity.proto
2024-12-16 22:57:12 +01:00

53 lines
1.6 KiB
Protocol Buffer

// Extracted from: Spotify 1.2.52.442 (windows)
syntax = "proto3";
package spotify.identity.v3;
import "google/protobuf/field_mask.proto";
import "google/protobuf/wrappers.proto";
option optimize_for = CODE_SIZE;
option java_outer_classname = "IdentityV3";
option java_package = "com.spotify.identity.proto.v3";
message Image {
int32 max_width = 1;
int32 max_height = 2;
string url = 3;
}
message UserProfile {
google.protobuf.StringValue username = 1;
google.protobuf.StringValue name = 2;
repeated Image images = 3;
google.protobuf.BoolValue verified = 4;
google.protobuf.BoolValue edit_profile_disabled = 5;
google.protobuf.BoolValue report_abuse_disabled = 6;
google.protobuf.BoolValue abuse_reported_name = 7;
google.protobuf.BoolValue abuse_reported_image = 8;
google.protobuf.BoolValue has_spotify_name = 9;
google.protobuf.BoolValue has_spotify_image = 10;
google.protobuf.Int32Value color = 11;
google.protobuf.BoolValue is_private = 12;
google.protobuf.StringValue pronouns = 13;
google.protobuf.StringValue location = 14;
google.protobuf.StringValue bio = 15;
google.protobuf.BoolValue abuse_reported_bio = 17;
google.protobuf.BoolValue edit_name_disabled = 18;
google.protobuf.BoolValue edit_image_disabled = 19;
google.protobuf.BoolValue edit_bio_disabled = 20;
google.protobuf.BoolValue is_kid = 21;
}
message UserProfileUpdateRequest {
google.protobuf.FieldMask mask = 1;
UserProfile user_profile = 2;
bool skip_emit_events = 3;
}
message UserProfileChangedEvent {
string userid = 1;
UserProfile user_profile = 2;
}