chat service code