syntax = "proto2"; package WAStatusAttributions; option go_package = "git.bobomao.top/joey/whatsmeow/proto/waStatusAttributions"; message StatusAttribution { enum Type { UNKNOWN = 0; RESHARE = 1; EXTERNAL_SHARE = 2; MUSIC = 3; STATUS_MENTION = 4; GROUP_STATUS = 5; RL_ATTRIBUTION = 6; AI_CREATED = 7; LAYOUTS = 8; } message AiCreatedAttribution { enum Source { UNKNOWN = 0; STATUS_MIMICRY = 1; } optional Source source = 1; } message RLAttribution { enum Source { UNKNOWN = 0; RAY_BAN_META_GLASSES = 1; OAKLEY_META_GLASSES = 2; HYPERNOVA_GLASSES = 3; } optional Source source = 1; } message ExternalShare { enum Source { UNKNOWN = 0; INSTAGRAM = 1; FACEBOOK = 2; MESSENGER = 3; SPOTIFY = 4; YOUTUBE = 5; PINTEREST = 6; THREADS = 7; APPLE_MUSIC = 8; SHARECHAT = 9; } optional string actionURL = 1; optional Source source = 2; optional int32 duration = 3; optional string actionFallbackURL = 4; } message StatusReshare { enum Source { UNKNOWN = 0; INTERNAL_RESHARE = 1; MENTION_RESHARE = 2; CHANNEL_RESHARE = 3; FORWARD = 4; } message Metadata { optional int32 duration = 1; optional string channelJID = 2; optional int32 channelMessageID = 3; optional bool hasMultipleReshares = 4; } optional Source source = 1; optional Metadata metadata = 2; } message GroupStatus { optional string authorJID = 1; } message Music { optional string authorName = 1; optional string songID = 2; optional string title = 3; optional string author = 4; optional string artistAttribution = 5; optional bool isExplicit = 6; } oneof attributionData { StatusReshare statusReshare = 3; ExternalShare externalShare = 4; Music music = 5; GroupStatus groupStatus = 6; RLAttribution rlAttribution = 7; AiCreatedAttribution aiCreatedAttribution = 8; } optional Type type = 1; optional string actionURL = 2; }