syntax = "proto3";

message SharedContact {
    int64 user_id = 1;
    bytes public_identity_key = 2;
    string display_name = 3;
}

message AdditionalMessageData {
    enum Type {
        LINK = 0;
        CONTACTS = 1;
        RESTORED_FLAME_COUNTER = 2;
        ASK_ABOUT_USER = 3;
    }
    Type type = 1;

    optional string link = 2;
    repeated SharedContact contacts = 3;
    optional int64 restored_flame_counter = 4;
    optional int64 ask_about_user_id = 5;
}