var QBconfig = {
    credentials: {
        'appId': -1,
        'authKey': '',
        'authSecret': '',
        'accountKey': ''
    },
    appConfig: {
        chatProtocol: {
            active: 2
        },
        endpoints: {
            api: 'api.quickblox.com',
            chat: 'chat.quickblox.com'
        },
        streamManagement: {
            enable: true
        },
        debug: true,
        callBackInterval: 30,
    },
};

var appConfig = {
    dilogsPerRequers: 15,
    messagesPerRequest: 50,
    usersPerRequest: 15,
    typingTimeout: 3, // 3 seconds
};

var CONSTANTS = {
    DIALOG_TYPES: {
        CHAT: 3,
        GROUPCHAT: 2,
        PUBLICCHAT: 1
    },
    ATTACHMENT: {
        TYPE: 'image',
        BODY: '[attachment]',
        MAXSIZE: 100000000, // set 100 megabytes,
        MAXSIZEMESSAGE: 'The uploaded file exceeds maximum file size (100MB).'
    },
    NOTIFICATION_TYPES: {
        NEW_DIALOG: '1',
        UPDATE_DIALOG: '2',
        LEAVE_DIALOG: '3'
    }
};
