syntax = "proto3";

import "user.proto";
import "message.proto";
import "auth.proto";
import "authResponse.proto";
import "contact.proto";
import "fetch_response.proto";

message Wrapper {
    uint32 route = 1;
    optional string AuthToken = 2;
    oneof payload {
        User user = 3;
        Message message = 4;
        Auth auth = 5;
        AuthResponse authResponse = 6;
        Contact contact = 7;
        f_servers res_servers = 8;
    }
}
