syntax = "proto3";

package ccim.protocol;

option csharp_namespace = "CCIM.Protocol";

import "contact.proto";
import "message_spec.proto";

message PushPrivateMessageResponse {
    ChatMessage message = 1;
    Dialog stranger_dialog = 2;     // 陌生人对话框
}

message PushPrivateMessageAckRequest {
    int64 msg_id = 1;
    int64 contact_user_id = 2;
}

message PushChannelMessageResponse {
    int64 channel_id = 1;
    ChatMessage message = 2;
}

message PushChannelMessageAckRequest {
    int64 msg_id = 1;
    int64 channel_id = 2;
}

message PushContactDeleteMeResponse {
    int64 contact_user_id = 1;
}

message PushNewContactResponse {
    Contact contact = 1;
}

message PushContactNetStatusResponse {
    int64 contact_user_id = 1;
    NetStatus net_status = 2;
}

message PushContactNewReqResponse {
    ContactReqData contact_new_req = 1;
}

//message PushBlockedByContactResponse {
//    int64 contact_user_id = 1;
//    ContactStatus contact_status = 2;
//}

message PushUserDeletedResponse {
    int64 user_id = 1;
}

message PushUserMutedResponse {
    int64 muted_expired_at = 1;
}