syntax = "proto2";

package UserDetailCmd;

//option optimize_for = LITE_RUNTIME;

option java_package = "com.miaole.live.protocol.request";
option java_outer_classname = "UserDetailCmd";

// 获取私聊用户的信息 返回UserOptResult.ChatUserInfo
message getChatUserInfo {
    optional string userId = 1; // 用户id
    optional int32 sourceType = 2;//来源类型 0:默认 1:潜力用户聊天
}

// 获取私聊用户的信息列表 返回UserOptResult.ChatUserInfoList
message getChatUserInfoList {
    repeated string userIds = 1; // 用户ids
}

// 获取用户私聊公屏禁言toast信息 返回UserOptResult.UserMuteMsg
message getMuteMsg {
}

// 获取用户基本信息 返回UserOptResult.UserBaseInfo
message getUserBaseInfo { /**NO_AUTH**/
    optional string userId = 1; // 用户id
}

// 获取好友状态 返回 CommonResult.BoolResult
//message getFriendStatus {
//    optional string userId = 1; // 用户id
//}


// 获取用户是否显示超级大R勋章(是否是超级vip) 返回 UserOptResult.SuperVip
message getSuperVipStatus {
}

// 获得对方与我相匹配的数据 返回 UserOptResult.UserMatchCarteResult
message getUserMatchCarteInfo {
    optional string userId = 1; // 目标用户ID
}

//获得资料是否完善 CommonResult.BoolResult
message getInformationAvailable {

}

// 获得聊天用户数据 返回 UserOptResult.UserChatResult
message getUserChatInfo {
    repeated string userIds = 1; // 需要获取数据的用户ID数组 
}

// 获取房间聊天用户的信息 返回UserOptResult.RoomChatUserInfo
message getRoomChatUserInfo {
    optional string userId = 1; // 用户id
}

//获取用户兴趣卡信息 返回 UserResult.UserInterestCardInfo
message getUserInterestCardInfo {
    optional string userId = 1; // 用户id
    optional bool isEdit = 2; // 是否进入编辑页面
}

//修改用户兴趣卡信息 返回 UserResult.UserInterestCardInfo
message editUserInterestCardInfo {
    repeated string keywords = 1; // 关键字数组
    optional string content = 2; // 描述
    repeated string pics = 3; // 图片数组
}

//点赞用户兴趣卡
message likeUserInterestCard {
    optional string targetId = 1; // 用户id
}

//获取兴趣卡图片 返回 CommonResult.StringArrayResult
message getUserInterestCardPic {
}

//关闭兴趣卡图片展示
message closeShowUserInterestCard {
    optional string userId = 1; // 私聊用户id
}

//主播自定义打招呼
message anchorCustomSayHi {
    optional string content = 1; // 主播自定义打招呼
}

//主播自定义打招呼 返回 CommonResult.StringResult
message getAnchorCustomSayHiInfo {

}

//发送主播自定义打招呼
message sendAnchorCustomSayHi {
    optional string sendUserId = 1; // 发送者ID
}